LoveUnix » 备份软件 » db2备份出错,找不到介质,郁闷。。。。。。
让LU留住您的每

一天 让LU博客留住您的每一天
2006-8-4 14:45 aixstudy
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".

2006-8-4 15:09 DB2_AIX
看来是你TSM这块出问题了,看一下db2adutl有没有问题。

2006-8-7 09:20 aixstudy
$ 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.

2006-8-7 13:32 tbtbtb
tsm的配置有没有问题?可以selective吗?
具体msn联系

页: [1]


Powered by Discuz! Archiver 5.5.0  © 2001-2006 Comsenz Inc.