`

Fatal NI connect error 6413

阅读更多
在使用ZULBuild这个工具的时候,报了如下错误:
 
  ***********************************************************************
  Fatal NI connect error 6413, connecting to:
(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=BEQ)(PROGRAM=oracle)(ARGV0=oracleORCL)(ARGS='(DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))')))(CONNECT_DATA=(SID=ORCL)(CID=(PROGRAM=D:\SVN\ZYTX\9_CODE(代码)\1_trunk\crm2\doc\开发指导\工具\ZULBuild\ZULBuild.exe)(HOST=mycomputer)(USER=admin))))

  VERSION INFORMATION:
TNS for 32-bit Windows: Version 10.2.0.1.0 - Production
  Time: 09-10月-2014 17:32:46
  Tracing not turned on.
 
  经查证,原来是ZULBuild.exe所在的目录路径含有括号,干扰了数据库连接符的解析,修改路径去掉括号即可。
  去掉括号不会报上述错误,结果报了如下错误:
 
  ***********************************************************************
Fatal NI connect error 12560, connecting to:
(DESCRIPTION=(ADDRESS=(PROTOCOL=BEQ)(PROGRAM=oracle)(ARGV0=oracleORCL)(ARGS='(DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))'))(CONNECT_DATA=(SID=ORCL)(CID=(PROGRAM=D:\tools\ZULBuild\ZULBuild.exe)(HOST=mycomputer)(USER=admin))))

  VERSION INFORMATION:
TNS for 32-bit Windows: Version 10.2.0.1.0 - Production
Oracle Bequeath NT Protocol Adapter for 32-bit Windows: Version 10.2.0.1.0 - Production
  Time: 09-10月-2014 17:41:52
  Tracing not turned on.
  Tns error struct:
    ns main err code: 12560
    TNS-12560: Message 12560 not found; No message file for product=NETWORK, facility=TNS
    ns secondary err code: 0
    nt main err code: 530
    TNS-00530: Message 530 not found; No message file for product=NETWORK, facility=TNS
    nt secondary err code: 126
    nt OS err code: 0

  经查证,原来在配置文件里把数据库名称写错了,导致数据库客户端无法在tns配置文件里找到相应的数据库而报错,修改名称即可。
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics