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

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
nagmites
Posts: 24
Joined: Fri Aug 14, 2020 6:05 am

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

Post 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
User avatar
pbroste
Posts: 1288
Joined: Tue Jun 01, 2021 1:27 pm

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

Post 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
nagmites
Posts: 24
Joined: Fri Aug 14, 2020 6:05 am

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

Post by nagmites »

Hi there!

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

Thank you for your help.

Best regards
User avatar
pbroste
Posts: 1288
Joined: Tue Jun 01, 2021 1:27 pm

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

Post by pbroste »

Excellent find, @nagmites I will go ahead and lock this up.

Thanks,
Perry
Locked