IBM Support

IC82358: After a crash during shutdown while truncating a log file, crash recovery may fail due to truncated log.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as fixed if next.

Error description

  • Due to a timing hole where the log file is truncated during a
    crash the LFH with the SQLPG_HFLAG2_GHCK_TRUNC_LOGFILE flag is
    not written.
    
    Errors produced in the db2diag.log should be similar to the
    following
    
    2012-03-16-04.52.29.626688-240 I2164616A373 LEVEL: Error
    PID : 373150 TID : 1 PROC : db2loggr (DB2INST1) 0
    INSTANCE: db2inst1 NODE : 000
    FUNCTION: DB2 UDB, data protection services,
    sqlpgInitRecoverable, probe:5520
    DATA #1 : <preformatted>
    Unexpected size for S0012345.LOG, PageCount 4074 ExtSize 7000
    actualFileSize 16687104
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * Users are only affected if the system crashes.               *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * Due to a timing hole where the log file is truncated during  *
    * a                                                            *
    * crash the LFH with the SQLPG_HFLAG2_GHCK_TRUNC_LOGFILE flag  *
    * is                                                           *
    * not written.                                                 *
    *                                                              *
    * Errors produced in the db2diag.log should be similar to the  *
    * following                                                    *
    *                                                              *
    * 2012-03-16-04.52.29.626688-240 I2164616A373 LEVEL: Error     *
    * PID : 373150 TID : 1 PROC : db2loggr (DB2INST1) 0            *
    * INSTANCE: db2inst1 NODE : 000                                *
    * FUNCTION: DB2 UDB, data protection services,                 *
    * sqlpgInitRecoverable, probe:5520                             *
    * DATA #1 : <preformatted>                                     *
    * Unexpected size for S0012345.LOG, PageCount 4074 ExtSize     *
    * 7000                                                         *
    * actualFileSize 16687104                                      *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Upgrade to DB2 LUW' version 9.1 fp12                         *
    ****************************************************************
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    IC82358

  • Reported component name

    DB2 FOR LUW

  • Reported component ID

    DB2FORLUW

  • Reported release

    910

  • Status

    CLOSED FIN

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-03-29

  • Closed date

    2012-07-24

  • Last modified date

    2012-07-24

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

    IC83245 IC83247 IC87852

Fix information

Applicable component levels

  • R910 PSN

       UP

  • R910 PSY

       UP

[{"Line of Business":{"code":"LOB10","label":"Data and AI"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSEPGG","label":"DB2 for Linux- UNIX and Windows"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"9.1"}]

Document Information

Modified date:
20 September 2021