IBM Support

IC70423: DB2ICRT AND DB2IDROP HANG WHEN EXECUTING DB2ISRV

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • db2icrt/db2idrop appears to hang when executing db2isrv. You
    will notice a high CPU usage caused by the db2isrv process.
    Eventually the db2icrt/db2idrop commands will exit and display
    an error message similar to this:
    "Failed to remove "DB2_db2instance1" from the services file.
    Return code is "-1879047690"."
    
    This symptom is caused by wrong order or missing ports from
    /etc/services.
    
    For example, the line "DB2_db2instance1          5914/tcp" will
    trigger the behavior described above:
        DB2_db2instance1_1      60001/tcp
        DB2_db2instance1_2      60002/tcp
        DB2_db2instance1_END  60003/tcp
        DB2_db2instance1          5914/tcp
    
    In the following example a missing port, DB2_db2instance2, is
    causing the behavior:
        DB2_db2instance2_1      60045/tcp
        DB2_db2instance2_2      60046/tcp
        DB2_db2instance2_END  60047/tcp
    

Local fix

  • Remove all DB2 port entries related to the instance from
    /etc/services file before invoking db2icrt/db2idrop.
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * All users at DB2 V9.7 FP3a and below level                   *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * db2icrt/db2idrop appears to hang when executing db2isrv. You *
    * will notice a high CPU usage caused by the db2isrv process.  *
    *                                                              *
    * Eventually the db2icrt/db2idrop commands will exit and       *
    * displayan error message similar to this:                     *
    *                                                              *
    * "Failed to remove "DB2_db2instance1" from the services file. *
    * Return code is "-1879047690"."                               *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Upgrade to DB2 LUW Version 9.7 Fix Pack 4                    *
    ****************************************************************
    

Problem conclusion

  • Problem was first fixed in Version 9.7 Fix Pack 4
    

Temporary fix

  • see LOCAL FIX.
    

Comments

APAR Information

  • APAR number

    IC70423

  • 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

    2010-08-05

  • Closed date

    2011-05-09

  • Last modified date

    2011-05-09

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

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

Fix information

  • Fixed component name

    DB2 FOR LUW

  • Fixed component ID

    DB2FORLUW

Applicable component levels

  • R970 PSN

       UP



Document information

More support for: DB2 for Linux, UNIX and Windows

Software version: 9.7

Reference #: IC70423

Modified date: 09 May 2011