Unable to connect to DB2, missing libpam
After installation, ncp_model fails to start. After checking database connectivity using ncp_db_access.pl 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/DB2.so' for module DBD::DB2: libpam.so.0: 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/DynaLoader.pm line 230.
at (eval 2) line 3
Compilation failed in require at (eval 2) line 3.
Diagnosing the problem
Run ncp_db_access.pl against your ITNM discovery domain. For example, if your ITNM domain name is NCOMS:
ncp_perl precision/scripts/perl/scripts/ncp_db_access.pl -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 libpam.so.0 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.
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