Git Product home page Git Product logo

Comments (4)

gabrielbahniuk avatar gabrielbahniuk commented on May 30, 2024

Did you solve your issue?

I solved it by setting this: export LD_LIBRARY_PATH=/usr/lib/oracle/18.3/client64/lib

PS: Pay attention not to put a / at the end, e.g. correct is .../lib and NOT .../lib/

from oracledb_exporter.

wbh1 avatar wbh1 commented on May 30, 2024

@duhongx I've run into a similar issue but I am on 12.2. How did you end up solving your issue?

My LD_LIBRARY_PATH and ORACLE_HOME seem to be fine. I have other programs on the server in question using the same client without issue.

ORACLE_HOME=/usr/lib/oracle/12.2/client64
LD_LIBRARY_PATH=/usr/lib/oracle/12.2/client64/lib

Edit: I ended up installing the 0.2.0 release and that one works fine. It's 0.2.1 and above that don't work with the 12.2 client.

from oracledb_exporter.

gabrielbahniuk avatar gabrielbahniuk commented on May 30, 2024

@duhongx I've run into a similar issue but I am on 12.2. How did you end up solving your issue?

My LD_LIBRARY_PATH and ORACLE_HOME seem to be fine. I have other programs on the server in question using the same client without issue.

ORACLE_HOME=/usr/lib/oracle/12.2/client64
LD_LIBRARY_PATH=/usr/lib/oracle/12.2/client64/lib

Edit: I ended up installing the 0.2.0 release and that one works fine. It's 0.2.1 and above that don't work with the 12.2 client.

Hi @wbh1 ,

I know you did not ask me, but I wanted to reply anyway, just in case it helps someone in the future.

It was really weird, but sometimes when my path is like yours LD_LIBRARY_PATH=/usr/lib/oracle/12.2/client64/lib and I got the same error, I just ran export LD_LIBRARY_PATH= and then export LD_LIBRARY_PATH=/usr/lib/oracle/12.2/client64/lib again, and then it worked. Even if it was already fine, I had to do this workaround to make it work.

from oracledb_exporter.

Yannig avatar Yannig commented on May 30, 2024

And what about to run the exporter in a Docker container?

from oracledb_exporter.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.