Hi,
Log files are not getting archived in our database (DB2 9.7 on AIX). Below are the errors i can see in the db2diag.log. How to fix this error
DB config parameters are as follows:-
First log archive method (LOGARCHMETH1) = DISK:/db2/FSR/log_archive/
Options for logarchmeth1 (LOGARCHOPT1) =
Second log archive method (LOGARCHMETH2) = OFF
Options for logarchmeth2 (LOGARCHOPT2) = /db2/FSR/dbs/vendor.env
Failover log archive path (FAILARCHPATH) = /db2/FSR/log_fail/
Number of log archive retries on error (NUMARCHRETRY) = 1
Log archive retry Delay (secs) (ARCHRETRYDELAY) = 15
Vendor options (VENDOROPT) = /db2/FSR/dbs/vendor.env
db2diag.log:-
2012-11-07-12.38.13.898556+000 E4482166280A374 LEVEL: Info
PID : 13959374 TID : 3857 PROC : db2sysc 0
INSTANCE: db2fsr NODE : 000
EDUID : 3857 EDUNAME: db2logmgr (FSR) 0
FUNCTION: DB2 UDB, data protection services, sqlpgArchiveLogFile, probe:3108
DATA #1 : <preformatted>
Started archive for log file S0012531.LOG.
2012-11-07-12.38.13.898884+000 I4482166655A481 LEVEL: Warning
PID : 13959374 TID : 3857 PROC : db2sysc 0
INSTANCE: db2fsr NODE : 000
EDUID : 3857 EDUNAME: db2logmgr (FSR) 0
FUNCTION: DB2 UDB, data protection services, sqlpgArchiveLogDisk, probe:2500
RETCODE : ZRC=0x860F000A=-2045837302=SQLO_FNEX "File not found."
DIA8411C A file "/db2/FSR/log_dir/NODE0000/NODE0000/S0012531.LOG"
could not be found.
2012-11-07-12.38.13.899092+000 E4482167137A490 LEVEL: Warning
PID : 13959374 TID : 3857 PROC : db2sysc 0
INSTANCE: db2fsr NODE : 000
EDUID : 3857 EDUNAME: db2logmgr (FSR) 0
FUNCTION: DB2 UDB, data protection services, sqlpgArchiveLogFile, probe:3150
MESSAGE : ADM1848W Failed to archive log file "S0012531.LOG" to
"/db2/FSR/log_fail/db2fsr/FSR/NODE0000/C0000001/" from
"/db2/FSR/log_dir/NODE0000/NODE0000/".
2012-11-07-12.38.13.899311+000 E4482167628A581 LEVEL: Warning
PID : 13959374 TID : 3857 PROC : db2sysc 0
INSTANCE: db2fsr NODE : 000
EDUID : 3857 EDUNAME: db2logmgr (FSR) 0
FUNCTION: DB2 UDB, data protection services, sqlpgArchiveLogFile, probe:3160
MESSAGE : ZRC=0x860F000A=-2045837302=SQLO_FNEX "File not found."
DIA8411C A file "" could not be found.
DATA #1 : <preformatted>
Failed to archive log file S0012531.LOG to /db2/FSR/log_fail/db2fsr/FSR/NODE0000/C0000001/ from /db2/FSR/log_dir/NODE0000/NODE0000/.
2012-11-07-12.38.13.899444+000 E4482168210A374 LEVEL: Info
PID : 13959374 TID : 3857 PROC : db2sysc 0
INSTANCE: db2fsr NODE : 000
EDUID : 3857 EDUNAME: db2logmgr (FSR) 0
FUNCTION: DB2 UDB, data protection services, sqlpgArchiveLogFile, probe:3108
DATA #1 : <preformatted>
Started archive for log file S0012531.LOG.
2012-11-07-12.38.13.899593+000 I4482168585A10724 LEVEL: Error
PID : 13959374 TID : 3857 PROC : db2sysc 0
INSTANCE: db2fsr NODE : 000
EDUID : 3857 EDUNAME: db2logmgr (FSR) 0
FUNCTION: DB2 UDB, data protection services, sqlpgole, probe:2910
MESSAGE : Bad extent header:
DATA #1 : Hexdump, 2048 bytes
0x07000001FABF5D90 : 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x07000001FABF5DA0 : 0000 0000 0000 30F3 0000 0000 0000 0000 ......0.........
0x07000001FABF5DB0 : 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x07000001FABF5DC0 : 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x07000001FABF5DD0 : 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x07000001FABF5DE0 : 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x07000001FABF5DF0 : 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x07000001FABF5E00 : 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x07000001FABF5E10 : 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x07000001FABF5E20 : 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x07000001FABF5E30 : 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x07000001FABF5E40 : 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x07000001FABF5E50 : 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x07000001FABF5E60 : 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x07000001FABF5E70 : 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x07000001FABF5E80 : 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x07000001FABF5E90 : 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x07000001FABF5EA0 : 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x07000001FABF5EB0 : 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x07000001FABF5EC0 : 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x07000001FABF5ED0 : 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x07000001FABF5EE0 : 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x07000001FABF5EF0 : 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x07000001FABF5F00 : 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x07000001FABF5F10 : 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x07000001FABF5F20 : 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x07000001FABF5F30 : 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x07000001FABF5F40 : 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x07000001FABF5F50 : 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x07000001FABF5F60 : 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x07000001FABF5F70 : 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x07000001FABF5F80 : 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x07000001FABF5F90 : 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x07000001FABF5FA0 : 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x07000001FABF5FB0 : 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x07000001FABF5FC0 : 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x07000001FABF5FD0 : 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x07000001FABF5FE0 : 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x07000001FABF5FF0 : 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x07000001FABF6000 : 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x07000001FABF6010 : 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x07000001FABF6020 : 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x07000001FABF6030 : 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x07000001FABF6040 : 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x07000001FABF6050 : 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x07000001FABF6060 : 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x07000001FABF6070 : 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x07000001FABF6080 : 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x07000001FABF6090 : 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x07000001FABF60A0 : 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x07000001FABF60B0 : 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x07000001FABF60C0 : 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x07000001FABF60D0 : 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x07000001FABF60E0 : 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x07000001FABF60F0 : 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x07000001FABF6100 : 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x07000001FABF6110 : 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x07000001FABF6120 : 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x07000001FABF6130 : 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x07000001FABF6140 : 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x07000001FABF6150 : 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x07000001FABF6160 : 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x07000001FABF6170 : 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x07000001FABF6180 : 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x07000001FABF6190 : 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x07000001FABF61A0 : 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x07000001FABF61B0 : 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x07000001FABF61C0 : 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x07000001FABF61D0 : 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x07000001FABF61E0 : 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x07000001FABF61F0 : 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x07000001FABF6200 : 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x07000001FABF6210 : 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x07000001FABF6220 : 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x07000001FABF6230 : 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x07000001FABF6240 : 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x07000001FABF6250 : 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x07000001FABF6260 : 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x07000001FABF6270 : 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x07000001FABF6280 : 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x07000001FABF6290 : 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x07000001FABF62A0 : 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x07000001FABF62B0 : 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x07000001FABF62C0 : 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x07000001FABF62D0 : 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x07000001FABF62E0 : 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x07000001FABF62F0 : 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x07000001FABF6300 : 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x07000001FABF6310 : 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x07000001FABF6320 : 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x07000001FABF6330 : 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x07000001FABF6340 : 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x07000001FABF6350 : 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x07000001FABF6360 : 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x07000001FABF6370 : 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x07000001FABF6380 : 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x07000001FABF6390 : 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x07000001FABF63A0 : 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x07000001FABF63B0 : 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x07000001FABF63C0 : 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x07000001FABF63D0 : 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x07000001FABF63E0 : 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x07000001FABF63F0 : 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x07000001FABF6400 : 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x07000001FABF6410 : 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x07000001FABF6420 : 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x07000001FABF6430 : 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x07000001FABF6440 : 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x07000001FABF6450 : 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x07000001FABF6460 : 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x07000001FABF6470 : 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x07000001FABF6480 : 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x07000001FABF6490 : 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x07000001FABF64A0 : 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x07000001FABF64B0 : 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x07000001FABF64C0 : 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x07000001FABF64D0 : 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x07000001FABF64E0 : 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x07000001FABF64F0 : 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x07000001FABF6500 : 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x07000001FABF6510 : 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x07000001FABF6520 : 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x07000001FABF6530 : 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x07000001FABF6540 : 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x07000001FABF6550 : 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x07000001FABF6560 : 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x07000001FABF6570 : 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x07000001FABF6580 : 0000 0000 0000 0000 0000 0000 0000 0000 ................
2012-11-07-12.38.13.899996+000 I4482179310A413 LEVEL: Error
PID : 13959374 TID : 3857 PROC : db2sysc 0
INSTANCE: db2fsr NODE : 000
EDUID : 3857 EDUNAME: db2logmgr (FSR) 0
FUNCTION: DB2 UDB, data protection services, sqlpgole, probe:2910
MESSAGE : ExtNum =
DATA #1 : Hexdump, 4 bytes
0x070000000C7FCF98 : 0000 30F3 ..0.
2012-11-07-12.38.13.900080+000 I4482179724A358 LEVEL: Error
PID : 13959374 TID : 3857 PROC : db2sysc 0
INSTANCE: db2fsr NODE : 000
EDUID : 3857 EDUNAME: db2logmgr (FSR) 0
FUNCTION: DB2 UDB, data protection services, sqlpgole, probe:2910
MESSAGE : Error 118489300 opening database log extent 12531:
2012-11-07-12.38.13.900153+000 I4482180083A445 LEVEL: Error
PID : 13959374 TID : 3857 PROC : db2sysc 0
INSTANCE: db2fsr NODE : 000
EDUID : 3857 EDUNAME: db2logmgr (FSR) 0
FUNCTION: DB2 UDB, data protection services, sqlpgArchiveLogDisk, probe:2500
RETCODE : ZRC=0x071000D4=118489300=SQLP_EXT_BAD_FORMAT
"Invalid format in Extent header. filenumber, format or signature IDs."
2012-11-07-12.38.13.900238+000 E4482180529A491 LEVEL: Warning
PID : 13959374 TID : 3857 PROC : db2sysc 0
INSTANCE: db2fsr NODE : 000
EDUID : 3857 EDUNAME: db2logmgr (FSR) 0
FUNCTION: DB2 UDB, data protection services, sqlpgArchiveLogFile, probe:3150
MESSAGE : ADM1848W Failed to archive log file "S0012531.LOG" to
"/db2/FSR/log_fail/db2fsr/FSR/NODE0000/C0000001/" from
"/db2/FSR/log_dir2/NODE0000/NODE0000/".
2012-11-07-12.38.13.900443+000 E4482181021A604 LEVEL: Error
PID : 13959374 TID : 3857 PROC : db2sysc 0
INSTANCE: db2fsr NODE : 000
EDUID : 3857 EDUNAME: db2logmgr (FSR) 0
FUNCTION: DB2 UDB, data protection services, sqlpgArchiveLogFile, probe:3160
MESSAGE : ZRC=0x071000D4=118489300=SQLP_EXT_BAD_FORMAT
"Invalid format in Extent header. filenumber, format or signature IDs."
DATA #1 : <preformatted>
Failed to archive log file S0012531.LOG to /db2/FSR/log_fail/db2fsr/FSR/NODE0000/C0000001/ from /db2/FSR/log_dir2/NODE0000/NODE0000/.
2012-11-07-12.38.13.900548+000 I4482181626A496 LEVEL: Warning
PID : 13959374 TID : 3857 PROC : db2sysc 0
INSTANCE: db2fsr NODE : 000
EDUID : 3857 EDUNAME: db2logmgr (FSR) 0
FUNCTION: DB2 UDB, data protection services, sqlpgRetryFailedArchive, probe:4780
MESSAGE : Still unable to archive log file 12531 due to rc 118489300 for
LOGARCHMETH1 using method 1 and target
/db2/FSR/log_fail/db2fsr/FSR/NODE0000/C0000001/.
Thanks & Regards,
Saravanan