DB2 - Problem description
Problem IC88338 | Status: Closed |
ERROR DURING RETRIVAL OF LOG FILES WHILE TAKING THE DATABASE BACKUP. | |
product: | |
DB2 FOR LUW / DB2FORLUW / A10 - DB2 | |
Problem description: | |
You may find the following error in the db2diag.log while the database backup is executing and returns backup successful on the command prompt. 2012-04-03-20.12.10.452784+120 E340667A617 LEVEL: Error PID : 26738736 TID : 16194 PROC : db2sysc 0 INSTANCE: inst1 NODE : 000 EDUID : 16194 EDUNAME: db2logmgr (BCMPL001) 0 FUNCTION: DB2 UDB, data protection services, sqlpgRetrieveLogVendor, probe:2516 DATA #1 : String, 107 bytes The actual log file size did not match the expected file size, retrying retrieve. Actual / Expected / File: DATA #2 : signed integer, 8 bytes 9043968 DATA #3 : signed integer, 8 bytes 32776192 DATA #4 : String, 53 bytes 2012-04-03-20.12.10.454078+120 E341285A461 LEVEL: Error PID : 26738736 TID : 16194 PROC : db2sysc 0 INSTANCE: inst1 NODE : 000 EDUID : 16194 EDUNAME: db2logmgr (BCMPL001) 0 FUNCTION: DB2 UDB, data protection services, sqlpgRetrieveLogVendor, probe:2541 DATA #1 : String, 37 bytes The bad log file was saved in. File: DATA #2 : String, 53 bytes /db2/cmdb2ibb/NODE0000/SQL00001/SQLOGDIR/S0005801.SA1 Analysis: This issue occurs since the first time the retrival is completed successfully as shown in the entries below, but when it goes for a retrival of logs for the second time it fails. 2012-04-03-20.12.03.517684+120 I338679A369 LEVEL: Warning PID : 26738736 TID : 16194 PROC : db2sysc 0 INSTANCE: inst1 NODE : 000 EDUID : 16194 EDUNAME: db2logmgr (BCMPL001) 0 FUNCTION: DB2 UDB, data protection services, sqlpgRetrieveLogFile, probe:4130 MESSAGE : Started retrieve for log file S0005801.LOG. 2012-04-03-20.12.06.084698+120 I339049A438 LEVEL: Warning PID : 26738736 TID : 16194 PROC : db2sysc 0 INSTANCE: inst1 NODE : 000 EDUID : 16194 EDUNAME: db2logmgr (BCMPL001) 0 FUNCTION: DB2 UDB, data protection services, sqlpgRetrieveLogFile, probe:4148 MESSAGE : Completed retrieve for log file S0005801.LOG on chain 0 to /db2/cmdb2ibb/NODE0000/SQL00001/SQLOGDIR/. 2. Second time the retrival logs failure 2012-04-03-20.12.09.581098+120 I340297A369 LEVEL: Warning PID : 26738736 TID : 16194 PROC : db2sysc 0 INSTANCE: inst1 NODE : 000 EDUID : 16194 EDUNAME: db2logmgr (BCMPL001) 0 FUNCTION: DB2 UDB, data protection services, sqlpgRetrieveLogFile, probe:4130 2012-04-03-20.12.10.452784+120 E340667A617 LEVEL: Error PID : 26738736 TID : 16194 PROC : db2sysc 0 INSTANCE: inst1 NODE : 000 EDUID : 16194 EDUNAME: db2logmgr (BCMPL001) 0 FUNCTION: DB2 UDB, data protection services, sqlpgRetrieveLogVendor, probe:2516 DATA #1 : String, 107 bytes The actual log file size did not match the expected file size, retrying retrieve. Actual / Expected / File: DATA #2 : signed integer, 8 bytes 9043968 DATA #3 : signed integer, 8 bytes 32776192 DATA #4 : String, 53 bytes 2012-04-03-20.12.10.454078+120 E341285A461 LEVEL: Error PID : 26738736 TID : 16194 PROC : db2sysc 0 INSTANCE: inst1 NODE : 000 EDUID : 16194 EDUNAME: db2logmgr (BCMPL001) 0 FUNCTION: DB2 UDB, data protection services, sqlpgRetrieveLogVendor, probe:2541 DATA #1 : String, 37 bytes The bad log file was saved in. File: DATA #2 : String, 53 bytes /db2/cmdb2ibb/NODE0000/SQL00001/SQLOGDIR/S0005801.SA1 The problem is related to the fact that we making extra retrieve requests for logs that have already been included in the backup image. The fix will remove these extra retrieve requests. | |
Problem Summary: | |
**************************************************************** * USERS AFFECTED: * * All * **************************************************************** * PROBLEM DESCRIPTION: * * See Error Description * **************************************************************** * RECOMMENDATION: * * Upgrade to DB2 10.1 FP2 or subsequent fix pack. * **************************************************************** | |
Local Fix: | |
available fix packs: | |
DB2 Version 10.1 Fix Pack 2 for Linux, UNIX, and Windows | |
Solution | |
First Fixed in DB2 Version 10.1 Fix Pack 2 | |
Workaround | |
not known / see Local fix | |
Timestamps | |
Date - problem reported : Date - problem closed : Date - last modified : | 17.11.2012 22.12.2016 22.12.2016 |
Problem solved at the following versions (IBM BugInfos) | |
Problem solved according to the fixlist(s) of the following version(s) | |
10.1.0.2 | |
10.5.0.2 |