on 11-04-2010 2:40 PM
hello,
I have a problem with the full online backup on a DB2 system
I get the fallowing error:
ERRORMESSAGE: Error -2048 in dmdb6bkp.c(1498):
SQL2048N An error occurred while accessing object "0". Reason code:
"6".
I cannot get any clue of the cause of the error from the log. I have also searched for SAP notes but did not find anything.
Can anyone help me in solving this issue?
Regards,
dalmi
Hi,
Is this your First DB2 Online Backup after enabling logging?
If its your first Online DB2 Backup, you can execute the following command to remove BACKUP PENDING status in Database(Immediate Offline Backup is recoomended after or before enabling/disabling Logging in Database).
db2dart <SID> /CHST /what dbbp off
Any existing backup operation in progress ?
You can execute the following db2 command to get the details of tablespace.
db2 list tablespaces show detail
any Table space is showing "Backup Pending" or another status ?
Also look at db2diag.log file to get more information about such error while performing backup.
Regards,
Bhavik G. Shroff
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Not again, you have copied the content from http://www.ibm.com/developerworks/data/library/techarticle/pworld/0112mccluney.html
Hello Dalmi,
as per the documentation on this error code:
SQL2048N
An error occurred while accessing object object. Reason code: reason-code.
Explanation
An error occurred while accessing an object during the processing of a database utility. The following is a list of reason codes:
6
The object being accessed is a table space and either the table space is in such a state that the operation is not allowed or one or more containers of the table space is not available. (LIST TABLESPACES will list the current table space state.) Examples of such states are: quiesced, offline.
What is the output of db2 list tablespaces show detail
State 0x0000 should mean they are all normal and should be accessible.
If not, check the output of db2 list applications show detail
check if an application si trying to perform a backup of a tablespace that migth have set them to an offline state.
regards,
paul
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.