backup db is working on 6.1 version

nadeemqaisar

ADSM.ORG Member
Joined
May 19, 2009
Messages
21
Reaction score
0
Points
0
backup db command is not working on 6.1 version
hi
recently i have upgrdaed the tivoli 5.5 to 6.1.2 mine all backups are working fine but when i goes to run command "backup db type=full dev=ltoclass" its give me error and not able to backing up the database so due to that mine /archivelog directory it going to full and TSM goes down.

so help me its urgent as mine server is live and in production

as i run command "backup db type=full dev=ltoclass" i note
the tsm error is = ANR2968E Database backup terminated. DB2 sqlcode: -2033.DB2 sqlerrmc: 610.
the OS message show = dsmadmc: ANS1520E Failure writing to the Tivoli Storage Manager error log: errno = 13, Permission denied
please guide me whats should i do ..its going to halt me:mad:


 
Last edited:
Hi Nadeem,

Can you plz tell me from which user you are trying to take db backup.

Please provide the log file for same.


Regards,
Mohsin
 
Dear Mohsin thanks for reply
i tried with all users created instance ...root ....admin
all one showing same error
this is the file which is in instance directory :

[root@tivoli tsminst1]# vi dsmserv.err

12/27/2009 15:50:01 ANR9999D Error reading from standard input; console input daemon terminated.
12/27/2009 15:52:37 ANR9999D Error reading from standard input; console input daemon terminated.
12/29/2009 19:43:45 ANR7824S Server operation terminated.
12/29/2009 19:43:45 ANR7823S Internal error HANGMONITOR detected.
12/29/2009 19:43:45 ANR9999D 0x0000000000c5dfd6 pkAbort+0x0x66
12/29/2009 19:43:45 ANR9999D 0x0000000000787b9c RdbHangMonitorThread+0x0x4c
12/29/2009 19:43:45 ANR9999D 0x0000000000c5df0b StartThread+0x0x7b
12/29/2009 19:43:45 ANR9999D 0x0000003334c06617 *UNKNOWN*
12/29/2009 19:43:45 ANR9999D 0x00000033340d3c2d *UNKNOWN*
12/29/2009 19:43:45 ANR7820S Server thread 3 (tid 109207788 terminated in response to program abort.
12/29/2009 19:43:45 ANR7820S Server thread 4 (tid 110139628 terminated in response to program abort.
12/29/2009 19:43:45 ANR7820S Server thread 5 (tid 1095448896) terminated in response to program abort.
12/29/2009 19:43:45 ANR7820S Server thread 14 (tid 1112119616) terminated in response to program abort.
12/29/2009 19:43:45 ANR7820S Server thread 15 (tid 1111066944) terminated in response to program abort.
12/29/2009 19:43:45 ANR7820S Server thread 16 (tid 111317228 terminated in response to program abort.
12/29/2009 19:43:45 ANR7820S Server thread 18 (tid 1108961600) terminated in response to program abort.
12/29/2009 19:43:45 ANR7820S Server thread 19 (tid 110790892 terminated in response to program abort.
12/29/2009 19:43:45 ANR7820S Server thread 20 (tid 1106856256) terminated in response to program abort.
12/29/2009 19:43:45 ANR7820S Server thread 23 (tid 1085352256) terminated in response to program abort.
12/29/2009 19:43:45 ANR7820S Server thread 24 (tid 108640492 terminated in response to program abort.
12/29/2009 19:43:45 ANR7820S Server thread 25 (tid 1087457600) terminated in response to program abort.
12/29/2009 19:43:45 ANR7820S Server thread 26 (tid 1102711104) terminated in response to program abort.
12/29/2009 19:43:45 ANR7820S Server thread 27 (tid 1084299584) terminated in response to program abort.
12/29/2009 19:43:45 ANR7820S Server thread 28 (tid 1099196736) terminated in response to program abort.
12/29/2009 19:43:45 ANR7820S Server thread 29 (tid 110024940 terminated in response to program abort.
12/29/2009 19:43:45 ANR7820S Server thread 30 (tid 1103763776) terminated in response to program abort.
12/29/2009 19:43:45 ANR7820S Server thread 31 (tid 110481644 terminated in response to program abort.
12/29/2009 19:43:45 ANR7820S Server thread 32 (tid 1114224960) terminated in response to program abort.
12/29/2009 19:43:45 ANR7820S Server thread 33 (tid 1115277632) terminated in response to program abort.
12/29/2009 19:43:45 ANR7820S Server thread 34 (tid 1116330304) terminated in response to program abort.
12/29/2009 19:43:45 ANR7820S Server thread 35 (tid 1117382976) terminated in response to program abort.
12/29/2009 19:43:45 ANR7820S Server thread 39 (tid 111843564 terminated in response to program abort.
12/29/2009 19:43:45 ANR7820S Server thread 40 (tid 1120540992) terminated in response to program abort.
12/29/2009 19:43:45 ANR7820S Server thread 41 (tid 1121593664) terminated in response to program abort.
12/29/2009 19:43:45 ANR7820S Server thread 42 (tid 1122646336) terminated in response to program abort.
12/29/2009 19:43:45 ANR7820S Server thread 43 (tid 1119488320) terminated in response to program abort.
12/29/2009 19:43:45 ANR7820S Server thread 45 (tid 1124751680) terminated in response to program abort.
12/29/2009 19:43:45 ANR7820S Server thread 47 (tid 1090648384) terminated in response to program abort.
12/29/2009 19:43:45 ANR7820S Server thread 48 (tid 1075001664) terminated in response to program abort.
12/29/2009 19:43:45 ANR7820S Server thread 49 (tid 1080699200) terminated in response to program abort.
12/29/2009 19:43:45 ANR7820S Server thread 96 (tid 1077627200) terminated in response to program abort.
12/29/2009 19:43:45 ANR7820S Server thread 2648 (tid 1133173056) terminated in response to program abort.
12/30/2009 11:09:05 ANR9999D Error reading from standard input; console input daemon terminated.
12/30/2009 11:39:40 ANR9999D Error reading from standard input; console input daemon terminated.
................................................
if need to know any thing tell me...
 
Hi Nadeem,


I want the log when you start the DB backup.
Do one thing again start the DB backup and send the Log.


One more thing have you ever taken db backup earlier.

Regards,
Mohsin
 
one more thing... before you start the db backup you need to give below command on tsm admin console.

set dbrecovery LTO_CLASS
 
yes i did backup before start the upgrading its there in Tape
ok i run backup db command and

[tsminst1@tivoli bin]$ dsmadmc

ANS2036W Pruning functions cannot open one of the Tivoli Storage Manager prune files: /opt/tivoli/tsm/client/ba/bin/dsmprune.log. errno = 13, Permission denied
IBM Tivoli Storage Manager
Command Line Administrative Interface - Version 5, Release 5, Level 0.0
(c) Copyright by IBM Corporation and other(s) 1990, 2007. All Rights Reserved.

Enter your user id: admin

Enter your password:

Session established with server TSM_SERVER1: Linux/x86_64
Server Version 6, Release 1, Level 2.0
Server date/time: 12/30/2009 15:16:48 Last access: 12/30/2009 15:07:04

tsm: TSM_SERVER1>

tsm: TSM_SERVER1>backup db type=full dev=ltoclass
ANR2280I Full database backup started as process 4.
ANS8003I Process number 4 started.

tsm: TSM_SERVER1>q pro
ANR0944E QUERY PROCESS: No active processes found.
ANS8001I Return code 11.

tsm: TSM_SERVER1>q act

Date/Time Message
-------------------- ----------------------------------------------------------



12/30/2009 15:17:15 ANR2017I Administrator ADMIN issued command: BACKUP DB
type=full dev=ltoclass (SESSION: 31)
12/30/2009 15:17:15 ANR4559I Backup DB is in progress. (SESSION: 31)
12/30/2009 15:17:15 ANR0984I Process 4 for DATABASE BACKUP started in the
BACKGROUND at 03:17:15 PM. (SESSION: 31, PROCESS: 4)
12/30/2009 15:17:15 ANR2280I Full database backup started as process 4.
(SESSION: 31, PROCESS: 4)
12/30/2009 15:17:16 ANR2968E Database backup terminated. DB2 sqlcode: -2033.
DB2 sqlerrmc: 610. (SESSION: 31, PROCESS: 4)
12/30/2009 15:17:16 ANR0985I Process 4 for DATABASE BACKUP running in the
BACKGROUND completed with completion state FAILURE at
03:17:16 PM. (SESSION: 31, PROCESS: 4)
 
i alreday did it
tsm: TSM_SERVER1>set dbrecovery ltoclass
ANR2782I SET DBRECOVERY completed successfully and device class for automatic DB backup is set to
LTOCLASS.

tsm: TSM_SERVER1>

 
Hi Naadem

one more thing... before you start the db backup you need to give below command on tsm admin console.

set dbrecovery LTO_CLASS
 
Dear Mohsin
i had set
tsm: TSM_SERVER1>set dbrecovery ltoclass
ANR2782I SET DBRECOVERY completed successfully and device class for automatic DB backup is set to
LTOCLASS.
 
Thanks Brain for reply
but i m new to TSM admin so as i m running this command on TSM consloe
tsm: TSM_SERVER1> DBMTRUSTEDIPADDR 127.0.0.1
its saying UNKnown Command
so please guide me which exactly command and where (on tsm comsole or linux prompt )should i run
 
"DBMTRUSTEDIPADDR" is not a command but an option as indicated on the webpage. You need to add that option to teh "dsmserv.opt" and recycle the TSM server to activate that option.

Regards. Wim.
 
Hi Everybody.
sqlerrmc 610 means API has a problem with opening a message catalog. I experienced this problem when I installed TSM client on the same machine as server. It upgraded API. The API which comes with the client fails to set the link /opt/tivoli/tsm/client/api/bin64/EN_US pointing to ../../lang/EN_US

After I set this link manually and checked all the steps with dsmapipw and DSM_* envronment (I did manual, not dsmicfgx instance setup) it started working again.
 
Back
Top