码迷,mamicode.com
首页 > 数据库 > 详细

libdb2.so.1: cannot open shared object file: No such file or directory

时间:2015-10-03 06:14:35      阅读:2045      评论:0      收藏:0      [点我收藏+]

标签:following   command   situation   example   correct   

[root@tsm bin]# ./dsmserv

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

[root@tsm bin]# pwd

/opt/tivoli/tsm/server/bin

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


  • [tsminst1@server ~]# /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 be found for server startup.


  •  

  • Resolving the problem

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


  • [tsminst1@server ~]# find . | grep dsmserv.dbid 


  • /home/tsminst1/dsmserv.dbid 


  • Using this information, the inittab entry can be corrected: 

  • [root@server ~]# 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 be completed before rebooting to confirm that the new rc.dsmserv command can complete: 

  • [tsminst1@server ~]# /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 is now ready for use. 


  • TSM:SERVER1>



libdb2.so.1: cannot open shared object file: No such file or directory

标签:following   command   situation   example   correct   

原文地址:http://yiliang515.blog.51cto.com/936874/1699959

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!