您的位置:首页 > 其它

Fatal NI connect error 12170

2015-06-19 10:34 393 查看


1、Oracle alert日志中发现如下信息:

 

***********************************************************************

Fatal NI connect error 12170.

 

  VERSION INFORMATION:

TNS for Linux: Version 11.2.0.3.0 - Production

Oracle Bequeath NT Protocol Adapter for Linux: Version 11.2.0.3.0 - Production

TCP/IP NT Protocol Adapter for Linux: Version 11.2.0.3.0 - Production

  Time: 18-JUN-2015 18:27:19

  Tracing not turned on.

  Tns error struct:

    ns main err code: 12535

 

TNS-12535: TNS:operation timed out

    ns secondary err code: 12560

    nt main err code: 505

 

TNS-00505: Operation timed out

    nt secondary err code: 110

    nt OS err code: 0

  Client address: (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.0.188)(PORT=58933))

2015-06-18 18:27:53.283000 +08:00

***********************************************************************

 

 

2、查看mos[ID 1286376.1]

 

1)实用范围    

Oracle Net Services - Version 11.1.0.6 to 12.1.0.2 [Release 11.1 to 12.1]
Information in this document applies to any platform.
TNS-12170, ORA-12170, TNS-12535, TNS-00505 alert.log

 

 

2)原因    

由于11g Automatic Diagnostic Repository (ADR)引入新特性,默认开启了Net Server tracing/loging,

Client或application不合理的disconnect方式引起的timeout error,会被写到alert log 中。

 

 

3) 解决办法

A、根据log中的HOST找到client或应用,改变不合理的disconnect方式,从而解决timeout error。

B、或者关闭Oracle Net Server tracing/logging:

--sqlnet.ora

DIAG_ADR_ENABLED = OFF
DIAG_ADR_ENABLED_ = OFF

--listener.ora(如监听名为默认LISTENER)

DIAG_ADR_ENABLED_LISTENER = OFF

 

 

注:这个错如果是偶尔出现,可以不用理会。

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/27126919/viewspace-1704980/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/27126919/viewspace-1704980/

内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: