Problem(Abstract)
A database backup operation may fail with ANR2968E Database backup terminated. DB2 sqlcode: -2033. DB2 sqlerrmc: 610.
Symptom
ANR2968E Database backup terminated. DB2 sqlcode: -2033. DB2 sqlerrmc: 610.
Cause
The proper locale file may not be linked in the correct location if the API or TSM Server was recently upgraded.
Environment
Tivoli Storage Manager 6.1 and 6.2
Diagnosing the problem
Checking the list of files in the 64-bit API directory will reveal that the local directory containing the message codes is missing:
tsm:/opt/tivoli/tsm/client/api/bin64 # ls -ltra
total 5824
-rw-r--r-- 1 root root 0 Dec 3 13:37 dsmerror.log
-rw-rw-r-- 1 root root 486 Jan 27 22:51 dsm.sys
-r-xr-xr-x 1 root bin 3259048 Mar 2 09:58 libApiTSM64.so
-rwsr-xr-x 1 root bin 2670186 Mar 2 09:58 dsmtca
-r--r--r-- 1 root bin 971 Mar 9 03:28 dsm.sys.smp
-r--r--r-- 1 root bin 782 Mar 9 03:28 dsm.opt.smp
drwxr-xr-x 4 root bin 4096 Mar 22 10:50 ..
drwxr-xr-x 2 root bin 4096 Mar 22 10:50 sample
drwxr-xr-x 3 root bin 4096 Mar 24 11:31 .
Resolving the problem
Link the appropriate locale directory to a location inside your /opt/tivoli/tsm/client/api/bin64 location. For example:
tsm:/opt/tivoli/tsm/client/api/bin64 # pwd
/opt/tivoli/tsm/client/api/bin64
tsm:/opt/tivoli/tsm/client/api/bin64 #
ln -s /opt/tivoli/tsm/client/lang/EN_US/ /opt/tivoli/tsm/client/api/bin64
After doing this you can check the link was created properly:
tsm:/opt/tivoli/tsm/client/api/bin64 # ls -ltra
total 5824
-rw-r--r-- 1 root root 0 Dec 3 13:37 dsmerror.log
-rw-rw-r-- 1 root root 486 Jan 27 22:51 dsm.sys
-r-xr-xr-x 1 root bin 3259048 Mar 2 09:58 libApiTSM64.so
-rwsr-xr-x 1 root bin 2670186 Mar 2 09:58 dsmtca
-r--r--r-- 1 root bin 971 Mar 9 03:28 dsm.sys.smp
-r--r--r-- 1 root bin 782 Mar 9 03:28 dsm.opt.smp
drwxr-xr-x 4 root bin 4096 Mar 22 10:50 ..
drwxr-xr-x 2 root bin 4096 Mar 22 10:50 sample
lrwxrwxrwx 1 root root 17 Mar 24 14:46 EN_US -> ../../lang/EN_US/
drwxr-xr-x 3 root bin 4096 Mar 24 14:46 .
After this is done, the database backups should no longer fail with an sqlerrmc of 610. No restart of the Tivoli Storage Manager server is required.
--link from https://www-304.ibm.com/support/docview.wss?uid=swg21425691&wv=1--
沒有留言:
張貼留言