home clear 64x64
en blue 200x116 de orange 200x116 info letter User
suche 36x36
Latest versionsfixlist
11.1.0.7 FixList
10.5.0.9 FixList
10.1.0.6 FixList
9.8.0.5 FixList
9.7.0.11 FixList
9.5.0.10 FixList
9.1.0.12 FixList
Have problems? - contact us.
Register for free anmeldung-x26
Contact form kontakt-x26

DB2 - Problem description

Problem IC77013 Status: Closed

"INVALID LOG RECORD TYPE" 008C OR 008D REPORTED DURING PERFORMING
TABLESPACE ROLLFORWARD THROUGH F2PC LOG RECORD

product:
DB2 FOR LUW / DB2FORLUW / 970 - DB2
Problem description:
"Invalid log record type" will be reported if both of following 
conditions are met. 
 - tablespace rollforward is running, and 
 - F2PC(Federated Two Phase Commit) log record is rolled 
forward. 
 
You may see messages in db2diag.log like below. 
---------------------------------------------------------------- 
-------- 
2011-06-13-05.09.50.267160+480 E405880A464        LEVEL: Warning 
PID     : 4247602              TID  : 2829        PROC : db2sysc 
0 
INSTANCE: DB2INST1               NODE : 000         DB   : 
SAMPLE 
APPHDL  : 0-7                  APPID: 
*LOCAL.DB2INST1.110612210948 
AUTHID  : DB2INST1 
EDUID   : 2829                 EDUNAME: db2agent (SAMPLE) 0 
FUNCTION: DB2 UDB, data protection services, sqlufrol, probe:980 
MESSAGE : ADM1602W  Rollforward recovery has been initiated. 
 
2011-06-13-05.09.50.269601+480 E406345A507        LEVEL: Info 
PID     : 4247602              TID  : 2829        PROC : db2sysc 
0 
INSTANCE: DB2INST1               NODE : 000         DB   : 
SAMPLE 
APPHDL  : 0-7                  APPID: 
*LOCAL.DB2INST1.110612210948 
AUTHID  : DB2INST1 
EDUID   : 2829                 EDUNAME: db2agent (SAMPLE) 0 
FUNCTION: DB2 UDB, data protection services, sqlufrol, 
probe:1820 
MESSAGE : ADM1604I  DB2 is invoking the forward phase of the 
table space 
          rollforward recovery. 
 
..... 
 
2011-06-13-05.09.52.416943+480 I408174A541        LEVEL: Severe 
PID     : 4247602              TID  : 2829        PROC : db2sysc 
0 
INSTANCE: DB2INST1               NODE : 000         DB   : 
SAMPLE 
APPHDL  : 0-7                  APPID: 
*LOCAL.DB2INST1.110612210948 
AUTHID  : DB2INST1 
EDUID   : 2829                 EDUNAME: db2agent (SAMPLE) 0 
FUNCTION: DB2 UDB, recovery manager, sqlprfwdt, probe:11510 
MESSAGE : Invalid log record type. Dump follows. 
DATA #1 : Hexdump, 2 bytes 
0x070000000D7F2024 : 008C 
.. 
 
2011-06-13-05.09.52.417263+480 I408716A178        LEVEL: Severe 
PID:4247602 TID:2829 NODE:000 Title: SQLP_LRH 
Dump 
File:/home/db2inst1/sqllib/db2dump/4247602.2829.000.dump.bin 
 
2011-06-13-05.09.52.609882+480 I408895A606        LEVEL: Error 
PID     : 4247602              TID  : 2829        PROC : db2sysc 
0 
INSTANCE: DB2INST1               NODE : 000         DB   : 
SAMPLE 
APPHDL  : 0-7                  APPID: 
*LOCAL.DB2INST1.110612210948 
AUTHID  : DB2INST1 
EDUID   : 2829                 EDUNAME: db2agent (SAMPLE) 0 
FUNCTION: DB2 UDB, recovery manager, 
sqlpForwardRecoveryTblSpace, probe:30 
RETCODE : ZRC=0x80100078=-2146434952=SQLP_TRECOVF 
          "Recovery process failed. used by BSU only.  Active 
cursor on drop table" 
          DIA8131C Roll forward recovery failed, LSN was "". 
 
2011-06-13-05.09.52.614244+480 I409502A476        LEVEL: Warning 
PID     : 4247602              TID  : 2829        PROC : db2sysc 
0 
INSTANCE: DB2INST1               NODE : 000         DB   : 
SAMPLE 
APPHDL  : 0-7                  APPID: 
*LOCAL.DB2INST1.110612210948 
AUTHID  : DB2INST1 
EDUID   : 2829                 EDUNAME: db2agent (SAMPLE) 0 
FUNCTION: DB2 UDB, recovery manager, 
sqlpForwardRecoveryTblSpace, probe:2000 
MESSAGE : Tablespaces left in rollforward-in-progress state. 
 
2011-06-13-05.09.52.614559+480 E409979A475        LEVEL: Warning 
PID     : 4247602              TID  : 2829        PROC : db2sysc 
0 
INSTANCE: DB2INST1               NODE : 000         DB   : 
SAMPLE 
APPHDL  : 0-7                  APPID: 
*LOCAL.DB2INST1.110612210948 
AUTHID  : DB2INST1 
EDUID   : 2829                 EDUNAME: db2agent (SAMPLE) 0 
FUNCTION: DB2 UDB, data protection services, sqlufrol, 
probe:8180 
MESSAGE : ADM1611W  The rollforward recovery phase has been 
completed. 
---------------------------------------------------------------- 
----------- 
 
The function name sqlpForwardRecoveryTblSpace means rollforward 
recovery on tablespace. 
The "Invalid log record type" 008C(or 008D) is a F2PC(Federated 
2 Phase Commit) log record type which should be handled by 
rollforward correctly but failed due to defect. 
After experiencing this problem, then the tablespace will be 
placed in the state of rollforward in progress(or combined with 
other state).
Problem Summary:
**************************************************************** 
* USERS AFFECTED:                                              * 
* ALL                                                          * 
**************************************************************** 
* PROBLEM DESCRIPTION:                                         * 
* "Invalid log record type" will be reported if both of        * 
* following conditions are met.                                * 
* - tablespace rollforward is running, and                     * 
* - F2PC(Federated Two Phase Commit) log record is rolled      * 
* forward.                                                     * 
*                                                              * 
* You may see messages in db2diag.log like below.              * 
* ------------------------------------------------------------ * 
* ------------                                                 * 
* 2011-06-13-05.09.50.267160+480 E405880A464        LEVEL:     * 
* Warning                                                      * 
* PID    : 4247602              TID  : 2829        PROC :      * 
* db2sysc 0                                                    * 
* INSTANCE: DB2INST1              NODE : 000        DB  :      * 
* SAMPLE                                                       * 
* APPHDL  : 0-7                  APPID:                        * 
* *LOCAL.DB2INST1.110612210948                                 * 
* AUTHID  : DB2INST1                                           * 
* EDUID  : 2829                EDUNAME: db2agent (SAMPLE) 0    * 
* FUNCTION: DB2 UDB, data protection services, sqlufrol,       * 
* probe:980                                                    * 
* MESSAGE : ADM1602W  Rollforward recovery has been initiated. * 
*                                                              * 
* 2011-06-13-05.09.50.269601+480 E406345A507        LEVEL:     * 
* Info                                                         * 
* PID    : 4247602              TID  : 2829        PROC :      * 
* db2sysc 0                                                    * 
* INSTANCE: DB2INST1              NODE : 000        DB  :      * 
* SAMPLE                                                       * 
* APPHDL  : 0-7                  APPID:                        * 
* *LOCAL.DB2INST1.110612210948                                 * 
* AUTHID  : DB2INST1                                           * 
* EDUID  : 2829                EDUNAME: db2agent (SAMPLE) 0    * 
* FUNCTION: DB2 UDB, data protection services, sqlufrol,       * 
* probe:1820                                                   * 
* MESSAGE : ADM1604I  DB2 is invoking the forward phase of the * 
* table space                                                  * 
*           rollforward recovery.                              * 
*                                                              * 
* .....                                                        * 
*                                                              * 
* 2011-06-13-05.09.52.416943+480 I408174A541        LEVEL:     * 
* Severe                                                       * 
* PID    : 4247602              TID  : 2829        PROC :      * 
* db2sysc 0                                                    * 
* INSTANCE: DB2INST1              NODE : 000        DB  :      * 
* SAMPLE                                                       * 
* APPHDL  : 0-7                  APPID:                        * 
* *LOCAL.DB2INST1.110612210948                                 * 
* AUTHID  : DB2INST1                                           * 
* EDUID  : 2829                EDUNAME: db2agent (SAMPLE) 0    * 
* FUNCTION: DB2 UDB, recovery manager, sqlprfwdt, probe:11510  * 
* MESSAGE : Invalid log record type. Dump follows.             * 
* DATA #1 : Hexdump, 2 bytes                                   * 
* 0x070000000D7F2024 : 008C                                    * 
* ..                                                           * 
*                                                              * 
* 2011-06-13-05.09.52.417263+480 I408716A178        LEVEL:     * 
* Severe                                                       * 
* PID:4247602 TID:2829 NODE:000 Title: SQLP_LRH                * 
* Dump                                                         * 
* File:/home/db2inst1/sqllib/db2dump/4247602.2829.000.dump.bin * 
*                                                              * 
* 2011-06-13-05.09.52.609882+480 I408895A606        LEVEL:     * 
* Error                                                        * 
* PID    : 4247602              TID  : 2829        PROC :      * 
* db2sysc 0                                                    * 
* INSTANCE: DB2INST1              NODE : 000        DB  :      * 
* SAMPLE                                                       * 
* APPHDL  : 0-7                  APPID:                        * 
* *LOCAL.DB2INST1.110612210948                                 * 
* AUTHID  : DB2INST1                                           * 
* EDUID  : 2829                EDUNAME: db2agent (SAMPLE) 0    * 
* FUNCTION: DB2 UDB, recovery manager,                         * 
* sqlpForwardRecoveryTblSpace, probe:30                        * 
* RETCODE : ZRC=0x80100078=-2146434952=SQLP_TRECOVF            * 
*           "Recovery process failed. used by BSU only.        * 
* Active cursor on drop table"                                 * 
*           DIA8131C Roll forward recovery failed, LSN was "". * 
*                                                              * 
* 2011-06-13-05.09.52.614244+480 I409502A476        LEVEL:     * 
* Warning                                                      * 
* PID    : 4247602              TID  : 2829        PROC :      * 
* db2sysc 0                                                    * 
* INSTANCE: DB2INST1              NODE : 000        DB  :      * 
* SAMPLE                                                       * 
* APPHDL  : 0-7                  APPID:                        * 
* *LOCAL.DB2INST1.110612210948                                 * 
* AUTHID  : DB2INST1                                           * 
* EDUID  : 2829                EDUNAME: db2agent (SAMPLE) 0    * 
* FUNCTION: DB2 UDB, recovery manager,                         * 
* sqlpForwardRecoveryTblSpace, probe:2000                      * 
* MESSAGE : Tablespaces left in rollforward-in-progress state. * 
*                                                              * 
* 2011-06-13-05.09.52.614559+480 E409979A475        LEVEL:     * 
* Warning                                                      * 
* PID    : 4247602              TID  : 2829        PROC :      * 
* db2sysc 0                                                    * 
* INSTANCE: DB2INST1              NODE : 000        DB  :      * 
* SAMPLE                                                       * 
* APPHDL  : 0-7                  APPID:                        * 
* *LOCAL.DB2INST1.110612210948                                 * 
* AUTHID  : DB2INST1                                           * 
* EDUID  : 2829                EDUNAME: db2agent (SAMPLE) 0    * 
* FUNCTION: DB2 UDB, data protection services, sqlufrol,       * 
* probe:8180                                                   * 
* MESSAGE : ADM1611W  The rollforward recovery phase has been  * 
* completed.                                                   * 
* ------------------------------------------------------------ * 
* ---------------                                              * 
*                                                              * 
* The function name sqlpForwardRecoveryTblSpace means          * 
* rollforward recovery on tablespace.                          * 
* The "Invalid log record type" 008C(or 008D) is a             * 
* F2PC(Federated 2 Phase Commit) log record type which should  * 
* be handled by rollforward correctly but failed due to        * 
* defect.                                                      * 
* After experiencing this problem, then the tablespace will be * 
* placed in the state of rollforward in progress(or combined   * 
* with other state).                                           * 
**************************************************************** 
* RECOMMENDATION:                                              * 
* Update to version 9.7 fixpack 5 or later fixpacks.           * 
****************************************************************
Local Fix:
To recover the database, please use database restore and 
rollforward, not use tablespace restore and rollforward. 
To avoid this problem proactively, you can disable 
DB2_TWO_PHASE_COMMIT in federated server options, for example, 
"ALTER SERVER Net8_Server OPTIONS (SET DB2_TWO_PHASE_COMMIT 
'N')".
available fix packs:
DB2 Version 9.7 Fix Pack 5 for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 6 for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 7 for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 8 for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 9 for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 9a for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 10 for Linux, UNIX, and Windows

Solution
This problem is first fixed in version 9.7 fixpack 5.
Workaround
To recover the database, please use database restore and 
rollforward, not use tablespace restore and rollforward. 
To avoid this problem proactively, you can disable 
DB2_TWO_PHASE_COMMIT in federated server options, for example, 
  "ALTER SERVER Net8_Server OPTIONS (SET DB2_TWO_PHASE_COMMIT 
'N')".
Timestamps
Date  - problem reported    :
Date  - problem closed      :
Date  - last modified       :
16.06.2011
18.12.2011
18.12.2011
Problem solved at the following versions (IBM BugInfos)
9.7.FP5
Problem solved according to the fixlist(s) of the following version(s)
9.7.0.5 FixList