欢迎投稿

今日深度:

如何解决db2nodes.cfg line number“1”,Reason code“10”

如何解决db2nodes.cfg line number“1”,Reason code“10”



如何解决db2nodes.cfg line number“1”,Reason code“10”
 
今天发现无法用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
 
果然修改后就可以正常连接了
 

www.htsjk.Com true http://www.htsjk.com/DB2/19899.html NewsArticle 如何解决db2nodes.cfg line number“1”,Reason code“10” 如何解决db2nodes.cfg line number1,Reason code10 今天发现无法用db2connect连接我的lpar,刚开始以为密码改了,后来发现密码没错,于是搜索了一下...
相关文章
    暂无相关文章
评论暂时关闭