ITPub博客

首页 > 数据库 > Oracle > Fatal NI connect error 12170

Fatal NI connect error 12170

原创 Oracle 作者:shytodear 时间:2015-06-19 10:34:40 0 删除 编辑


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博客 ” ,链接:https://blog.itpub.net/27126919/viewspace-1704980/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2013-11-05

  • 博文量
    66
  • 访问量
    238106