Can't load '/usr/local/lib64/perl5/auto/DBD/Oracle/Oracle.so' for module DBD::Oracle: libocci.so.11.1: cannot open shared object file: No such file or dire
if I try "Test Check Command" from Nagios CCM I get this error:
install_driver(Oracle) failed: Can't load '/usr/local/lib64/perl5/auto/DBD/Oracle/Oracle.so' for module DBD::Oracle: libocci.so.11.1: cannot open shared object file: No such file or directory at /usr/lib64/perl5/DynaLoader.pm line 200.
at (eval 18) line 3
Compilation failed in require at (eval 18) line 3.
Perhaps a required shared library or dll isn't installed where expected
at /usr/local/nagios/libexec/check_oracle_health line 4755
[root@nagios ~]# export ORACLE_HOME=/u01/app/oracle/product/11.2.0/dbhome_1/
[root@nagios ~]# export LD_LIBRARY_PATH=$ORACLE_HOME/lib
[root@nagios ~]# cpan -i DBD::Oracle
CPAN: Storable loaded ok (v2.20)
Going to read '/root/.cpan/Metadata'
Database was generated on Thu, 17 Oct 2013 06:41:03 GMT
Going to read '/root/.cpan/sources/authors/01mailrc.txt.gz'
CPAN: Compress::Zlib loaded ok (v2.005)
Can't call method "value" on an undefined value at /usr/lib64/perl5/IO/Uncompress/RawInflate.pm line 64.
Last edited by cokj72 on Wed May 28, 2014 2:42 am, edited 1 time in total.
Could you show us the command and service definition please? Feel free to sanitize as needed, but I have a feeling I know what the issue is, and would like to confirm.
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
Solved, bat 1 DB
I've change the Oracle_Home and LB_Oralce_path
from: LD_LIBRARY_PATH=/usr/lib/oracle/11.2/client/lib ORACLE_HOME=/usr/lib/oracle/11.2/client
to: LD_LIBRARY_PATH=/usr/lib/oracle/11.2/client64/lib ORACLE_HOME=/usr/lib/oracle/11.2/client64
Sorry we didn't get to you sooner; our offices were not open when you posted last. Do you have any remaining issues relating to the Oracle problems after upgrade?
tmcdonald wrote:Sorry we didn't get to you sooner; our offices were not open when you posted last. Do you have any remaining issues relating to the Oracle problems after upgrade?
This problem is OK.
Now I've upgrade Nagios to version XI 2014R1.1 and now I' ve the one problem with 1 service Oracle Tablespace.
This service: Tablespace Can Allocate Next
reporting this error: (Service check timed out after 60.01 seconds)
Does the listener that your oracle DBA gave you to use have access to view that specific metric? The listener service that your XI server's address connects to will need to have access on all of those fronts if you want to use those checks.