IBM Support

db2iupdt failed with DBI1264E hostname "host1" is invalid

Troubleshooting


Problem

db2iupdt failed with DBI1264E # ./db2iupdt db2inst1 DBI1446I The db2iupdt command is running. DB2 installation is being initialized. The host name "host1" is invalid. Specify a valid host name. A major error occurred during the execution that caused this program to terminate prematurely. If the problem persists, contact your technical service representative. For more information see the DB2 installation log at "/tmp/db2iupdt.log.9896352". DBI1264E This program failed. Errors encountered during execution were written to the installation log file. Program name: db2iupdt. Log file name: /tmp/db2iupdt.log.9896352. Explanation: This message is returned when some processes and operations have failed. Detailed information about the error was written to the log file. User response: Contact IBM support to get assistance in resolving this issue. Keep the log file intact as this file is an important reference for IBM support.

Diagnosing The Problem

Check following configurations
# uname -a
AIX host1 1 7

# hostname
host1

# cat db2nodes.cfg
0 host1 0

# cat /etc/hosts/
127.0.0.1 loopback localhost
202.0.0.1 host1

# host host1
host1 is 101.0.0.10

The returned ipaddress 101.0.0.10 from host command is not the same as it is configued in /etc/hosts 202.0.0.1

Resolving The Problem

Let OS/Network administrator to check /etc/netsvc.conf,/etc/resolv.conf and then set the ipaddress to a correct value

[{"Product":{"code":"SSEPGG","label":"Db2 for Linux, UNIX and Windows"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Component":"Install\/Migrate\/Upgrade - Install\/Setup - Command Line","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"}],"Version":"9.7;9.5;10.1;10.5","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
16 June 2018

UID

swg21984062