|
Hi wangzhonnew ,
a question for your problem.
If the hostname could not be resolved,it would show error as below.
We could solve the problem according the solutions which could be generated by "db2 ? sql6031".Was there any errors when you found you could not connect to the database?Thank you.
C ocuments and SettingsAdministrator>db2 connect to sample
SQL6031N 在 db2nodes.cfg 文件的行号 "1" 上出错。原因码为 "10"。
C ocuments and SettingsAdministrator>db2 ? sql6031
SQL6031N在 db2nodes.cfg 文件的行号 "<行号>" 上出错。原因码为
"<原因码>"。
解释:
因为 db2nodes.cfg
文件有问题,所以不能处理该语句,下列原因码指示了它的问题:
(10) 在 sqllib 目录中的 db2nodes.cfg 文件的第 "<行>"
行中的主机名无效。
(10) 确保在 db2nodes.cfg 的第 "<行>"
行中定义的主机名值在系统上都定义了,并且可操作。 |
|