互联网服务tsm 7.1.7

TSM7.1.7server启动问题

今天重启了tsm服务,启动tsm服务进程时报错了,日志如下:[root@tsmser bin]# ./dsmserv &[1] 2839[root@tsmser bin]# ./dsmserv: error while loading shared libraries: libdb2.so.1: cannot open shared object file: No such file or directory[1]+  Exit 127&n...显示全部

今天重启了tsm服务,启动tsm服务进程时报错了,日志如下:

[root@tsmser bin]# ./dsmserv &

[1] 2839

[root@tsmser bin]# ./dsmserv: error while loading shared libraries: libdb2.so.1: cannot open shared object file: No such file or directory

[1]+  Exit 127                ./dsmserv

[root@tsmser bin]#

等了有十分钟左右吧,再登录就莫名的好了,之前也遇到过一次是用IBM 官网的方法,但这次什么都没有做自己就好了,很不理解。哪位大神可以给解释下,谢谢!

IBM 提供的信息

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

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 .

收起
参与6

返回tigerk的回答

tigerktigerk  系统工程师 , IBM

这个是instance user的环境没有设置,找不到db2环境。 检查的话,login as intance user,  如果是下面这样,环境就是设好的。 你从新登录变好了,可能是.profile 配置是好的,login会从新运行.profile, 就就把环境设好了。

host_name> su - tsminst1

$ db2level

DB21085I  This instance or install (instance name, where applicable:

\"tsminst1\") uses \"64\" bits and DB2 code release \"SQL11010\" with level

identifier \"0201010F\".

Informational tokens are \"DB2 v11.1.0.0\", \"s1606081100\", \"DYN1606081100AIX\",

and Fix Pack \"0\".

Product is installed at \"/opt/tivoli/tsm/db2\".

$ env|grep DSMI

DSMI_CONFIG=/home/tsminst1//tsmdbmgr.opt

DSMI_LOG=/home/tsminst1/

DSMI_DIR=/opt/tivoli/tsm/server/bin/dbbkapi

软件开发 · 2016-11-30
浏览4082
  • 还没有时间去验证,应该是这个问题,十分感谢!
    2016-11-30
  • 验证了下,实例环境没有问题,[tsminst1@tsmser bin]$ pwd /opt/tivoli/tsm/server/bin [tsminst1@tsmser bin]$ ./dsmserv ANR7804E Unable to open lock file dsmserv.v6lock - Permission denied [tsminst1@tsmser bin]$ db2level DB21085I 此实例或安装(适用的实例名:"tsminst1")使用 "64" 位和级别标识为 "0608010E" 的 DB2 代码发行版 "SQL10057"。 参考标记为 "DB2 v10.5.0.7"、"special_35354" 和 "IP23956_35354",修订包为 "7"。 产品是在 "/opt/tivoli/tsm/db2" 处安装的。 [tsminst1@tsmser bin]$ env|grep DSMI DSMI_DIR=/opt/tivoli/tsm/server/bin/dbbkapi DSMI_LOG=/home/tsminst1 DSMI_CONFIG=/home/tsminst1/tsmdbmgr.opt [tsminst1@tsmser bin]$ 第一次登录时依然有报错,使用tsminst1用户也不行,重启后就好了,server是虚拟机的,只给了2G内存,我怀疑是不是内存不足导致某些文件加载不了造成的
    2016-12-04

回答者

tigerk
系统工程师IBM
擅长领域: 备份存储灾备

tigerk 最近回答过的问题

回答状态

  • 发布时间:2016-11-30
  • 关注会员:2 人
  • 回答浏览:4082
  • X社区推广