IBM Support

IT01611: DB2RELOCATEDB COMMAND MAY SET INCORRECT PATH FOR LOGARCHMETH1 AND LOGARCHMETH2

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • db2relocatedb command may set incorrect path for LOGARCHMETH1
    and LOGARCHMETH2 when both are defined in the configuration
    file.
    
    $ pwd
    /db1/db2inst1/sample
    $ db2 create db sample on $PWD
    $ mkdir -p arc1/test1 arc1/test2 arc2/test1 arc2/test2
    $ db2 update db cfg for sample using logarchmeth1
    disk:$PWD/arc1/test1 logarchmeth2 disk:$PWD/arc2/test1
    $ db2 connect to sample ; db2 backup db sample to /dev/null
    $ db2 connect to sample ; db2 get db cfg | grep LOGARCHMETH
     First log archive method                 (LOGARCHMETH1) =
    DISK:/db1/db2inst1/sample/arc1/test1/
     Second log archive method                (LOGARCHMETH2) =
    DISK:/db1/db2inst1/sample/arc2/test1/
    
    $ cat rel.cfg
    DB_NAME=sample
    DB_PATH=/db1/db2inst1/sample
    INSTANCE=db2inst1
    LOGARCHMETH1=DISK:/db1/db2inst1/sample/arc1/test2/
    LOGARCHMETH2=DISK:/db1/db2inst1/sample/arc2/test2/
    
    $ db2 terminate
    $ db2relocatedb -f rel.cfg
    Files and control structures were changed successfully.
    DBT1000I  The tool completed successfully.
    
    $ db2 get db cfg | grep LOGARCHMETH
     First log archive method                 (LOGARCHMETH1) =
    DISK:/db1/db2inst1/sample/arc2/test2/
     Second log archive method                (LOGARCHMETH2) =
    DISK:/db1/db2inst1/sample/arc2/test1/
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * Users using db2relocatedb command                            *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * See Error Description                                        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Upgrade to DB2 Version 9.7 Fix Pack 10 or higher.            *
    ****************************************************************
    

Problem conclusion

  • First fixed in DB2 Version 9.7 Fix Pack 10.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IT01611

  • Reported component name

    DB2 FOR LUW

  • Reported component ID

    DB2FORLUW

  • Reported release

    970

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2014-05-07

  • Closed date

    2014-12-01

  • Last modified date

    2014-12-01

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

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

    IT02251 IT02264

Fix information

  • Fixed component name

    DB2 FOR LUW

  • Fixed component ID

    DB2FORLUW

Applicable component levels

  • R970 PSN

       UP

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSEPGG","label":"DB2 for Linux, UNIX and Windows"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"9.7","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
01 December 2014