Troubleshooting
Problem
The Tivoli Storage Manager server startup fails with the following error :
[]libdb2.so.1: cannot open shared object file: No such file or directory[
]
Cause
The Tivoli Storage Manager server database environment variables are not set correctly
Environment
Tivoli Storage Manager Server on UNIX and Linux
Diagnosing The Problem
The Tivoli Storage Manager server fails to start as follows :
cd /instance_dir
/opt/tivoli/tsm/server/bin/dsmserv -u tsminst1 -i /home/tsminst1
...
/opt/tivoli/tsm/server/bin/dsmserv: error while loading shared libraries: libdb2.so.1: cannot open shared object file: No such file or directory
Resolving The Problem
The below steps may be used to correct the situation. The below example uses /home/tsminst1 for the instance directory.
- As root user:
Run the following command to source db2profile, then restart server:
. /home/tsminst1/sqllib/db2profile
/opt/tivoli/tsm/server/bin/dsmserv -u tsminst1 -i /home/tsminst1
--OR--
- As instance user:
su - tsminst1
cd /home/tsminst1
/opt/tivoli/tsm/server/bin/dsmserv
The above example used /home/tsminst1 as the instance directory name (the directory where the dsmserv.opt file is located or where the "db2 list db directory" command point to. Replace /home/tsminst1 with the correct instance directory name. Refer to the online Information Center for further details on Starting the server instance.
Was this topic helpful?
Document Information
Modified date:
17 June 2018
UID
swg21389589