Oracle Discovery fails on UNIX citing missing Oracle instant client libraries. (NETIQKB28777)

  • 7728777
  • 02-Feb-2007
  • 20-Aug-2009


AppManager 7.0.1
AppManager 6.5
AppManager 6.0

Discovery_OracleUNIX Knowledge Script

Oracle 11.x
Oracle 10.x
Oracle 9.x
Oracle 8.x


Discovery_OracleUNIX Knowledge Script fails with error when run against Oracle

Running Discovery_OracleUNIX against Oracle on a UNIX Server events with the following message:

Can't load '/usr/netiq/UnixAgent/lib/perl5/site_perl/5.6.1/sun4-solaris-thread-multi/auto/NetIQ/Oracle/' for module NetIQ::Oracle: /usr/netiq/UnixAgent/../jre/bin/../bin/sparc/native_threads/java: fatal: open failed: No such file or directory at /usr/netiq/UnixAgent/lib/perl5/5.6.1/sun4-solaris-thread-multi/ line 206.
at (eval 3) line 44
Compilation failed in require at (eval 3) line 44.
BEGIN failed--compilation aborted at (eval 3) line 44


The error indicates that the agent cannot find*.* which is the Oracle Instant Client shared library.  To address this issue, please perform one of the following:

  • Check proper Oracle environment variables (PATH and LD_LIBRARY_PATH) in /opt/netiq/UnixAgent/mo/config/rc/oracle.rc.
  • Obtain the instant client libraries for your UNIX platform from the URL below and extract them to /opt/netiq/UnixAgent/lib/.  After installing the Instant Client libraries, restart the NetIQ UNIX Agent.
  • Install the 7.1 UNIX Agent which already contains the Instant Client libraries.

Subsequent attempts at discovery should now be successful.


The agent is having problems loading the Oracle Instant Client shared library to connect to the Oracle database server.

Additional Information

Formerly known as NETIQKB28777