今天发现无法用db2connect连接我的lpar,刚开始以为密码改了,后来发现密码没错,于是搜索了一下这个文件。发现文件内容里有local机器的hostname,想起来我这几天刚刚改了hostname,估计就是这个原因了。

 

X:\work\workload\expscript>db2 connect to db2 user user using db2zos
SQL6031N  Error in the db2nodes.cfg file at line number "1".  Reason code
"10".
 
 
文件内容如下:
0 db2zos-desktop db2zos-desktop 0 
 
果然修改后就可以正常连接了

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-12-13
  • 2022-01-28
  • 2021-12-26
  • 2021-05-18
  • 2021-06-16
  • 2021-12-24
猜你喜欢
  • 2022-01-09
  • 2021-08-15
  • 2022-12-23
  • 2022-12-23
  • 2021-05-26
  • 2022-01-16
  • 2021-06-14
相关资源
相似解决方案