cancel
Showing results for 
Search instead for 
Did you mean: 

DB13 online backups error

Former Member
0 Kudos

Dear all,

I m unable to take backup of Development Server through db13. Database iS DB2 . I m taking full online Database Backup to Device. But its giving error.

Backup_Dev:Database Backup to Device

Backup_Dev:started by CL_DB6_JOB_BACKUP_DEVICE

Backup_Dev:Parameter TESTMODE has not been set

Backup_Dev:Parameter RUNTIME has not been set

Backup_Dev:Parameter BACKUP_MODE has been set to "ONLINE"

Backup_Dev:Parameter PARTITION has not been set

Backup_Dev:Parameter BACKUP_TYPE has been set to ""

Backup_Dev:Parameter COMPRESS has been set to "COMPRESS"

Backup_Dev:Parameter INCLUDE LOGS has been set to "INCLUDE LOGS"

Backup_Dev:Parameter NUMBER_BUFFERS has been set to " 0"

Backup_Dev:Parameter BUFFER_SIZE has been set to " 0"

Backup_Dev:Parameter PARALLELISM has been set to " 0"

Backup_Dev:Parameter UTIL_IMPACT_PRIORITY has not been set

Backup_Dev:Parameter FILE_PATH has been set to "/db2backup/dbbk"

Backup_Dev:Parameter TESTMODE has not been set

Backup_Dev:Parameter RUNTIME has not been set

Backup_Dev:Parameter BACKUP_MODE has been set to "ONLINE"

Backup_Dev:Parameter PARTITION has not been set

Backup_Dev:Parameter BACKUP_TYPE has been set to ""

Backup_Dev:Parameter COMPRESS has been set to "COMPRESS"

Backup_Dev:Parameter INCLUDE LOGS has been set to "INCLUDE LOGS"

Backup_Dev:Parameter NUMBER_BUFFERS has been set to " 0"

Backup_Dev:Parameter BUFFER_SIZE has been set to " 0"

Backup_Dev:Parameter PARALLELISM has been set to " 0"

Backup_Dev:Parameter UTIL_IMPACT_PRIORITY has not been set

Backup_Dev:Parameter FILE_PATH has been set to "/db2backup/dbbk"

Backup_Dev:Command ' BACKUP DATABASE P19 ONLINE TO"/db2backup/dbbk" COMPRESS INCLUDE LOGS  'failed

Exception CX_DB6_CON in program CL_DB6_JOB_BACKUP=============CP / CL_DB6_JOB_BACKUP=============CM002 at line ADBC error with r

Backup_Dev:Exception CX_DBA_JOB in class CL_DB6_JOB_BACKUP

Backup_Dev:  Kernel Error ID:

Backup_Dev:SYSID:

Backup_Dev:  SY-SUBRC: 1208

Backup_Dev:  SY-TABIX: 0

Backup_Dev:  Message: ADBC error

Backup_Dev:  Database:

Backup_Dev:caused by

Backup_Dev:Exception CX_DB6_ADMINCMD in class CL_DB6_ADMIN_CMD method EXECUTE_CM

Backup_Dev:  D line 43

Backup_Dev:  Kernel Error ID:

Backup_Dev:  SYSID: P19

Backup_Dev:  SY-SUBRC: 1208

Backup_Dev:  Message: ADBC error

Backup_Dev:  Command: BACKUP DATABASE P19 ONLINE TO"/db2backup/dbbk" COMPRESS INC

Backup_Dev:  LUDE LOGS

Backup_Dev:  Database:

Backup_Dev:caused by

Backup_Dev:Exception CX_SQL_EXCEPTION in class CL_SQL_STATEMENT

Backup_Dev:  Kernel Error ID:

Backup_Dev:  DB Error: Yes

Backup_Dev:  SQL Code: 2048-

Backup_Dev:  SQL Message: SQL2048N An error occurred while accessing object "0"

Backup_Dev:  . Reason code: "6 row=1

Backup_Dev:  DB Object Exists: No

Backup_Dev:  Duplicated Key:No

Backup_Dev:  Internal Error: 1

Backup_Dev:  Invalid Cursor: No

Backup_Dev:  Unknown Connection: No

Backup_Dev:  Connection Closed: No

Exception CX_DBA_JOB in class CL_DB6_JOB_BACKUP method  line 40

Backup_Dev:terminated with error

REASON=ADBC error

任务结束

Backup_Dev:Command ' BACKUP DATABASE P19 ONLINE TO"/db2backup/dbbk" COMPRESS INCLUDE LOGS  'failed

Exception CX_DB6_CON in program CL_DB6_JOB_BACKUP=============CP / CL_DB6_JOB_BACKUP=============CM002 at line ADBC error with r

Backup_Dev:Exception CX_DBA_JOB in class CL_DB6_JOB_BACKUP

Backup_Dev:  Kernel Error ID:

Backup_Dev:SYSID:

Backup_Dev:  SY-SUBRC: 1208

Backup_Dev:  SY-TABIX: 0

Backup_Dev:  Message: ADBC error

Backup_Dev:  Database:

Backup_Dev:caused by

Backup_Dev:Exception CX_DB6_ADMINCMD in class CL_DB6_ADMIN_CMD method EXECUTE_CM

Backup_Dev:  D line 43

Backup_Dev:  Kernel Error ID:

Backup_Dev:  SYSID: P19

Backup_Dev:  SY-SUBRC: 1208

Backup_Dev:  Message: ADBC error

Backup_Dev:  Command: BACKUP DATABASE P19 ONLINE TO"/db2backup/dbbk" COMPRESS INC

Backup_Dev:  LUDE LOGS

Backup_Dev:  Database:

Backup_Dev:caused by

Backup_Dev:Exception CX_SQL_EXCEPTION in class CL_SQL_STATEMENT

Backup_Dev:  Kernel Error ID:

Backup_Dev:  DB Error: Yes

Backup_Dev:  SQL Code: 2419-

Backup_Dev:  SQL Message: SQL2419N Thetarget disk "/db2backup/dbbk" has become

Backup_Dev:  full row=1

Backup_Dev:  DB Object Exists: No

Backup_Dev:  Duplicated Key: No

Backup_Dev:  Internal Error: 1

Backup_Dev:  Invalid Cursor: No

Backup_Dev:  Unknown Connection: No

Backup_Dev:  Connection Closed: No

Exception CX_DBA_JOB in class CL_DB6_JOB_BACKUP method  line 40

Backup_Dev:terminated with error

REASON=ADBC error

Regards


Steven

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Dear all,

the problem is solved by DB2's privilege, thanks !


Backup_Dev:Database Backup to Device

Backup_Dev:started by CL_DB6_JOB_BACKUP_DEVICE

Backup_Dev:Parameter TESTMODE has not been set

Backup_Dev:Parameter RUNTIME has not been set

Backup_Dev:Parameter BACKUP_MODE has been set to "ONLINE"

Backup_Dev:Parameter PARTITION has not been set

Backup_Dev:Parameter BACKUP_TYPE has been set to ""

Backup_Dev:Parameter COMPRESS has been set to "COMPRESS"

Backup_Dev:Parameter INCLUDE LOGS has been set to "INCLUDE LOGS"

Backup_Dev:Parameter NUMBER_BUFFERS has been set to " 0"

Backup_Dev:Parameter BUFFER_SIZE has been set to " 0"

Backup_Dev:Parameter PARALLELISM has been set to " 0"

Backup_Dev:Parameter UTIL_IMPACT_PRIORITY has not been set

Backup_Dev:Parameter FILE_PATH has been set to "/db2_backup/dbbk"

Backup_Dev:BACKUP DATABASE Q19 ONLINE TO"/db2_backup/dbbk" COMPRESS INCLUDE LOGS

Backup_Dev:finished

Answers (1)

Answers (1)

Sriram2009
Active Contributor
0 Kudos

Hi Steven.

1. Could you share the kernel & dbsl patch release and level?

2.  Refer the SAP KBA for the backup issue 2158234 - Backup taken using the DBA Planning Calendar in transaction DBACOCKPIT finishes with error...


Regards

SS

Former Member
0 Kudos

HI, SS

thank you reply rapidly, use SM51 as below :

SAP Kernel Information

SAP Kernel :  701_REL

Database Client Library : DB6_81

created in  :  AIX 2 5 00CB5A5B4C00

created on  :  Feb 24 2009 21:47:02

Support Level  :  0

Kernel Patch number : 32

Source ID  :  0.032

DBSL Patch No. : 021

ICU Version : 3.0 Unicode Version 4.0.1

Sriram2009
Active Contributor
0 Kudos

Hi

I think kernel level is very low,you have to upgrade the kernel and Dbsl patch and then check the backup.

Regards

SS

Former Member
0 Kudos

Hi Jian,

You can upgrade the kernel and DBSL patches as suggested by Sriram.

Also I can see that the backup is failing with SQL2048 error with RC=6

Please refer the below information

IBM Knowledge Center

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.

Thanks,

Jagadish.

Former Member
0 Kudos

Hi,

The error code 6 means.

The table space may be offline. Attempt to determine the underlying problem and correct it. Some examples of problems are:

the filesystem is not mounted, which you can fix by mounting the filesystem then altering the table space switch to online, or table space files have been deleted, which you can fix by performing a restore operation.

Please check db2diag.log file to see which tablespace it is pointing at, you will find tablespace ID in log mentioned as pool id.

Regards,

Prithviraj.