IBM Support

IC71765: DB2ICRT HANGS WHEN HOSTNAME MAPS TO AN INCORRECT IP ADDRESS

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • If the hostname resolves to an invalid IP address in /etc/hosts,
    
    db2icrt hangs because it tries to bind on each port.
    
    e.g. Compare the IP address specified in /etc/hosts with the
    adapter
    # hostname
    machineA
    # cat /etc/hosts | grep machineA
    1.2.3.4 machineA.yourdomain.com
    # ifconfig eth1
    eth1      Link encap:Ethernet  HWaddr 00:E0:81:5A:3F:AF
              inet addr:9.26.118.54  Bcast:9.26.119.255
    Mask:255.255.254.0
    ...
    
    After applying the fix, you will see the following error message
    when the ip address associated with the hostname is invalid:
    
    DBI1922N  The host name is not valid.
    
    Explanation:
    
    The TCP/IP host name parameter is not valid or does not exist.
    
    User response:
    
    Ensure that TCP/IP is operational on the system. If a domain
    name server
    is used, ensure that the domain name server machine is active.
    Issue the
    command again using the correct TCP/IP host name.
    

Local fix

  • Ensure that the ip address that is associated with the hostname
    in /etc/hosts is correct and it matches the network adapter's ip
    address.
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * All                                                          *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * If the hostname resolves to an invalid IP address in         *
    * /etc/hosts,                                                  *
    * db2icrt hangs because it tries to bind on each port.         *
    *                                                              *
    *                                                              *
    *                                                              *
    * e.g. Compare the IP address specified in /etc/hosts with the *
    *                                                              *
    * adapter                                                      *
    *                                                              *
    * # hostname                                                   *
    *                                                              *
    * machineA                                                     *
    *                                                              *
    * # cat /etc/hosts | grep machineA                             *
    *                                                              *
    * 1.2.3.4 machineA.yourdomain.com                              *
    *                                                              *
    * # ifconfig eth1                                              *
    *                                                              *
    * eth1      Link encap:Ethernet  HWaddr 00:E0:81:5A:3F:AF      *
    *                                                              *
    *           inet addr:9.26.118.54  Bcast:9.26.119.255          *
    *                                                              *
    * Mask:255.255.254.0                                           *
    *                                                              *
    * ...                                                          *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Upgrade to IBM DB2 V9.5 Fix Pack 7.                          *
    ****************************************************************
    

Problem conclusion

  • Upgrade to IBM DB2 V9.5 Fix Pack 7.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IC71765

  • Reported component name

    DB2 FOR LUW

  • Reported component ID

    DB2FORLUW

  • Reported release

    950

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2010-10-07

  • Closed date

    2011-06-27

  • Last modified date

    2011-06-27

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

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

    IC71778 IC72793

Fix information

  • Fixed component name

    DB2 FOR LUW

  • Fixed component ID

    DB2FORLUW

Applicable component levels

  • R950 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.5","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
27 June 2011