DB2创建实例失败 DBI1922N The host name is not valid.

qizilong 2011-06-24 10:16:46
-bash-3.2# ./db2icrt -p 60000 -s ese -u db2fenc1 db2inst1
The host name "AIXSERVER" is invalid. Specify a valid host name.
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.

DBI1079I Output is saved in the log file /tmp/db2icrt.log.106582.

Explanation:

All processed and failed operations have been saved into this log file.

User response:

Do not modify this file in any way. This file is for IBM Technical
Support reference.

./db2icrt: DB2INSTVER: parameter null or not set

网上搜到的解决方案:

DB2 V9.7 for Linux, UNIX, and Windows
--------------------------------------------------------------------------------

DBI1922N
主机名无效。

说明
TCP/IP 主机名参数无效或者不存在。

用户响应
确保 TCP/IP 在系统上是可运行的。如果使用了域名服务器,那么应确保域名服务器处于活动状态。使用正确的 TCP/IP 主机名再次发出该命令。




DBI1922N The host name is not valid.
Cause: The TCP/IP host name parameter is not valid or does not exist.

Action: 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.


我的测试服务器网络设置:
-bash-3.2# cat /etc/hosts | grep AIXSERVER
192.168.30.128 AIXSERVER
...全文
916 1 打赏 收藏 转发到动态 举报
写回复
用AI写文章
1 条回复
切换为时间正序
请发表友善的回复…
发表回复
zhaojianmi1 2011-06-24
  • 打赏
  • 举报
回复
把机器名改短一点,8个字母以内

5,889

社区成员

发帖
与我相关
我的任务
社区描述
IBM DB2 是美国IBM公司开发的一套关系型数据库管理系统,它主要的运行环境为UNIX(包括IBM自家的AIX)、Linux、IBM i(旧称OS/400)、z/OS,以及Windows服务器版本
社区管理员
  • DB2
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧