IBM Support

Tivoli Storage Manager Server fails to start with error on libdb2.so.1

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.

  1. 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--
  2. As instance user:

    su - tsminst1
    cd /home/tsminst1
    /opt/tivoli/tsm/server/bin/dsmserv

Note:
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.

[{"Product":{"code":"SSGSG7","label":"Tivoli Storage Manager"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Component":"Server","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"}],"Version":"6.1;6.2;6.3","Edition":"","Line of Business":{"code":"LOB26","label":"Storage"}}]

Document Information

Modified date:
17 June 2018

UID

swg21389589