Libdb2.so.1:cannot open Shared object file:no such file or directory

Source: Internet
Author: User






[Email protected] bin]#./dsmserv






./dsmserv:error while loading shared libraries:libdb2.so.1:cannot open Shared object file:no such file or directory






[Email protected] bin]# pwd






/opt/tivoli/tsm/server/bin




Resolving the problem



The below steps is 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 and 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
















[Email protected] ~]#/opt/tivoli/tsm/server/bin/rc.dsmserv-u tsminst1-i/home/tsminst1/tsminst1



Anr7800i DSMSERV generated at 12:11:12 on Mar 9 2009.




Tivoli Storage Manager for linux/x86_64



Version 6, Release 2, level 0.0




Licensed Materials-property of IBM




(C) Copyright IBM Corporation 1990, 2008.



All rights reserved.



U.S. government Users Restricted Rights-use, duplication or disclosure



Restricted by GSA ADP Schedule contract with IBM Corporation.




Anr7801i Subsystem process ID is 12091.



anr0905w Options file/home/tsminst1/tsminst1/dsmserv.opt not found.



Anr7814i Using instance Directory/home/tsminst1/tsminst1.



Anr4726i the ICC support module has been loaded.



Anr0990i Server Restart-recovery in progress.



Anr0152i Database Manager successfully started.



anr0226s The database ID file could not being found for server startup.






Resolving the problem

The correct path can be determined by searching for the Dsmserv.dbid file on the system.




[[email protected] ~]# find. | grep dsmserv.dbid



/home/tsminst1/dsmserv.dbid



Using this information, the Inittab entry can is corrected:


[Email protected] ~]# Cat/etc/inittab | grep Rc.dsmserv



Tsminst1:2:once:/opt/tivoli/tsm/server/bin/rc.dsmserv-u tsminst1-i/home/tsminst1-q >/dev/console 2>&1



Another test execution should is completed before rebooting to confirm that the new Rc.dsmserv command can complete:


[Email protected] ~]# /opt/tivoli/tsm/server/bin/rc.dsmserv-u tsminst1-i/home/tsminst1/



Anr7800i DSMSERV generated at 12:11:12 on Mar 9 2009.




Tivoli Storage Manager for linux/x86_64



Version 6, Release 2, level 0.0




Licensed Materials-property of IBM




(C) Copyright IBM Corporation 1990, 2008.



All rights reserved.



U.S. government Users Restricted Rights-use, duplication or disclosure



Restricted by GSA ADP Schedule contract with IBM Corporation.




Anr7801i Subsystem process ID is 12511.



anr0900i processing Options file/home/tsminst1/dsmserv.opt.



Anr7814i Using instance Directory/home/tsminst1.



Anr4726i the ICC support module has been loaded.



Anr0990i Server Restart-recovery in progress.



Anr0152i Database Manager successfully started.



anr1380i The buffer pool monitor switch is enabled.



anr1635i the server machine GUID, c6.82.1b.fc.1f.09.11.de.85.32.00.14.5e.cc.bb-



.6e, has initialized.



anr2100i Activity Log process has started.



Anr4726i the NAS-NDMP support module has been loaded.



ANR1794W TSM SAN discovery is disabled by options.



Anr0984i Process 1 for EXPIRE INVENTORY (Automatic) started in the BACKGROUND



At 01:47:15 PM.



anr0811i Inventory Client file expiration started as Process 1.



Anr2803i License Manager started.



anr8200i TCP/IP Version 4 driver ready for connection with clients on port



1500.



anr0167i Inventory file expiration Process 1 processed for 0 minutes.



anr0812i Inventory file expiration process 1 completed:processed 0 nodes,



examined 0 objects, deleting 0 backup objects, 0 archive objects, 0 DB backup



volumes, and 0 recovery plan files. 0 objects were retried and 0 errors were



Encountered.



anr0985i Process 1 for EXPIRE INVENTORY (Automatic) running in the BACKGROUND



Completed with completion state SUCCESS at 01:47:15 PM.



Anr2560i Schedule Manager started.



anr2828i Server is licensed-to-support IBM System Storage Archive Manager.



anr2828i Server is licensed to support Tivoli Storage Manager Basic Edition.



anr2828i Server is licensed to support Tivoli Storage Manager Extended Edition.



Anr0993i Server initialization complete.



anr0916i Tivoli STORAGE MANAGER distributed by TIVOLI was now ready for use.



Tsm:server1>
















Libdb2.so.1:cannot open Shared object file:no such file or directory




Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.