Page 1 of 1

Can't locate DBD/Oracle.pm in @INC

Posted: Wed Feb 16, 2022 4:05 am
by nagmites
Hi there!

We have the oracle client version 11.2, Nagios XI 5.8.7, and installed the DBD module through CPAN and when using the check_xi_oraclequery command, it gives the error Can't locate DBD/Oracle.pm in @INC.

Some help?

Regards

Re: Can't locate DBD/Oracle.pm in @INC

Posted: Wed Feb 16, 2022 5:11 pm
by pbroste
Hello @nagmites

Found this here, please let us know if this helps:
scottwilkerson wrote:The document I am going to send is for Nagios XI, but page 6 outlines your scenario and how to remedy it

https://assets.nagios.com/downloads/nag ... ios-XI.pdf
Thanks,
Perry

Re: Can't locate DBD/Oracle.pm in @INC

Posted: Thu Feb 17, 2022 3:32 am
by nagmites
Hi there!

Fixed the error, I was importing wrongly LD_LIBRARY_PATH.
Now, work perfectly

Thank you for your help.

Best regards

Re: Can't locate DBD/Oracle.pm in @INC

Posted: Thu Feb 17, 2022 6:11 pm
by pbroste
Excellent find, @nagmites I will go ahead and lock this up.

Thanks,
Perry