IBM Support

Unable to connect to DB2, missing libpam

Technote (troubleshooting)


After installation, ncp_model fails to start. After checking database connectivity using the following error is received.


install_driver(DB2) failed: Can't load '/opt/IBM/tivoli/netcool/precision/perl/lib/site_perl/5.8.8/i686-linux-thread-multi/auto/DBD/DB2/' for module DBD::DB2: cannot open shared object file: No such file or directory at /opt/IBM/tivoli/netcool/precision/perl/lib/5.8.8/i686-linux-thread-multi/ line 230.
at (eval 2) line 3
Compilation failed in require at (eval 2) line 3.

Diagnosing the problem

Run against your ITNM discovery domain. For example, if your ITNM domain name is NCOMS:



ncp_perl precision/scripts/perl/scripts/ -domain NCOMS

The script constructs a datasource from the configuration in $NCHOME/etc/precision/DbLogins.NCOMS.cfg

If the result of the attempt to connect includes failures to open shared object file then either the library is not in your $PATH or it is not installed.

Resolving the problem

Installing the 32 bit version of the library will resolve the error.

Product Alias/Synonym


Document information

More support for: Tivoli Network Manager IP Edition
Discovery and RCA

Software version: 4.1

Operating system(s): AIX, Linux, Solaris, Windows

Reference #: 1650677

Modified date: 26 August 2015

Translate this page: