DBI1501E during db2setup on LINUX

QuestionWhy do I get the message DBI1501E during the db2setup of V9.5 on AIX 6.1?

Cause
The common reason for DBI1501E message is a problem with DNS (Domain Name Server), one of these is happening:
1) the /etc/hosts file does not contain the IP address or machine name of the local box.
2) The /etc/hosts file contains conflicting entries for the IP address .

Answer
In order to resolve this, run the command 'hostname' and verify that the hostname and its IP address are not duplicated in the /etc/hosts


解决方法
完整:
第一步:
#hostname XXXXXX
第二步:
修改/etc/sysconfig/network中的hostname
第三步:
修改/etc/hosts文件


PS:其实就是改主机名

猜你喜欢

转载自wxwx1215.iteye.com/blog/1661563