IBM Support

IC87852: 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:                                              *
    * After a crash during shutdown while truncating a log file,   *
    * crash recovery may fail due to truncated log.                *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * See Error Description                                        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Upgrade to DB2 LUW version 10 fp1                            *
    ****************************************************************
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    IC87852

  • Reported component name

    DB2 FOR LUW

  • Reported component ID

    DB2FORLUW

  • Reported release

    A10

  • Status

    CLOSED FIN

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-11-04

  • Closed date

    2012-12-17

  • Last modified date

    2012-12-17

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

    IC82358

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

Fix information

Applicable component levels

  • RA10 PSN

       UP

  • RA10 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":"10.1"}]

Document Information

Modified date:
23 September 2021