install_driver(Oracle) failed: Can’t load ‘/usr/local/lib/perl5/auto/DBD/Oracle/Oracle.so’ for module DBD::Oracle: libocci.so.11.1

Thanks In advance
i am facing this error from two days.iam able to get output from via command line at nagios end

/usr/local/nagios/libexec/check_oracle_health –connect 192.168.2.92:1521/modula –user nagios –password nagios –mode tnsping

output is OK – connection established to 192.168.2.92:1521/modula.
But when i am going to GUI mode it is giving me error

CRITICAL – cannot connect to 192.168.2.92:1521/modula. install_driver(Oracle) failed: Can’t load ‘/usr/local/lib/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/lib/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 5837
n

Plese help me to resolve the error.


Source: oracle

Leave a Reply