Hello and welcome to our community! Is this your first visit?
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Nov 2016
    Thanked 0 Times in 0 Posts

    DBD::Oracle in browser

    I have a program using DBD::Oracle in perl. Runs fine at command line, can't get it to run in httpd as root, but not for any other user.
    I get the following error that is driving me nuts!

    install_driver(Oracle) failed: Can't locate DBD/Oracle.pm in @INC (@INC contains: /usr/local/lib/perl5 /usr/local/share/perl5 /usr/lib/perl5/vendor_perl
    /usr/share/perl5/vendor_perl /usr/lib/perl5 /usr/share/perl5 .) at (eval 3) line 3. Perhaps the DBD::Oracle perl module hasn't been fully installed,
    or perhaps the capitalisation of 'Oracle' isn't right. Available drivers: DBM, ExampleP, File, Gofer, Pg, Proxy, SQLite, Sponge, mysql.

  2. #2
    New Coder
    Join Date
    Apr 2016
    Thanked 0 Times in 0 Posts
    I saw that the oracle instalt client 12.1 was installed in this machine, although that provides the symlinks through 11.1. Anyway, following your documents above, I went ahead and remove all 3 oracle instant clients and reinstalled the latest verison of 11.2. And then downloaded the http://assets.nagios.com/downloads/gene ... install.sh and ran it. It did bunch of stuffs, and finally completed with following last two lines:

    But even after than executing the check_oracle_health command displayed the same error as originally posted here:
    install_driver(Oracle) failed: Can't locate DBD/Oracle/Object.pm in @INC

    One thing I am wondering is why there is no /usr/lib64/perl5/DBD/Oracle/Object.pm or /usr/local/lib64/perl5/DBD/Oracle/Object.pm file ! In fact no DBD/Oracle directory.


Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts