标题: db2备份出错,找不到介质,郁闷。。。。。。
aixstudy
LU幼天使
Rank: 2



UID 36727
精华 3
积分 179
帖子 268
活跃指数 123
LU金币 2779 个
LU金条 0 个
阅读权限 20
注册 2005-11-19
 
发表于 2006-8-4 14:45  资料  个人空间  短消息  加为好友 
db2备份出错,找不到介质,郁闷。。。。。。

$ db2 connect to sample

   Database Connection Information

Database server        = DB2/6000 8.2.0
SQL authorization ID   = DB2INST1
Local database alias   = SAMPLE

$ db2 backup db sample use tsm
SQL2071N  An error occurred while accessing the shared library
"/home/db2inst1/sqllib/adsm/libtsm.a". Reason code: "1".

顶部
DB2_AIX
LU新生
Rank: 1



UID 28701
精华 0
积分 15
帖子 28
活跃指数 1
LU金币 2032 个
LU金条 0 个
阅读权限 10
注册 2005-1-3
 
发表于 2006-8-4 15:09  资料  个人空间  短消息  加为好友 
看来是你TSM这块出问题了,看一下db2adutl有没有问题。

顶部
aixstudy
LU幼天使
Rank: 2



UID 36727
精华 3
积分 179
帖子 268
活跃指数 123
LU金币 2779 个
LU金条 0 个
阅读权限 20
注册 2005-11-19
 
发表于 2006-8-7 09:20  资料  个人空间  短消息  加为好友 
$ db2adutl query
exec(): 0509-036 Cannot load program db2adutl because of the following errors:
        0509-150   Dependent module libApiDS.a(dsmapish.o) could not be loaded.
        0509-022 Cannot load module libApiDS.a(dsmapish.o).
        0509-026 System error: A file or directory in the path name does not exist.
也报错。


我查询了一下错误信息,是这样解释的:

SQL2071N An error occurred while accessing
the shared library shr-lib-name.
Reason code: reason-code
Explanation: An unexpected error occurred
while accessing a vendor shared library during
the processing of a database utility. The
following is a list of reason codes:
1 An invalid shared library path was
encountered.
2 An attempt to load the backup shared
library failed.
3 An error was encountered while
unloading the shared library.
The utility stops processing.
User Response: Ensure the shared library
provided is valid and resubmit the utility
command or use another supported media.

顶部
tbtbtb
LU新生
Rank: 1



UID 51055
精华 0
积分 19
帖子 37
活跃指数 0
LU金币 37 个
LU金条 0 个
阅读权限 10
注册 2006-7-24
 
发表于 2006-8-7 13:32  资料  个人空间  短消息  加为好友  添加 tbtbtb 为MSN好友 通过MSN和 tbtbtb 交谈 QQ
tsm的配置有没有问题?可以selective吗?
具体msn联系





tbtbtb
msn:sqyzbj@hotmail.com
db2,was,tsm,sybase
www.vogoue.com
顶部
 



当前时区 GMT+8, 现在时间是 2008-9-8 17:09
乐悠LoveUnix论坛-京ICP备05005823号

Thanks to Discuz!  © 2001-2007    Power by LoveUnix.net
Processed in 0.056023 second(s), 6 queries , Gzip enabled

清除 Cookies - 联系我们 - 乐悠LoveUnix - Archiver