Fatal NI connect error 12170

参考链接

http://www.xifenfei.com/1812.html

 

 

在服务器的alert日志中,发现如下信息

 

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

 

Fatal NI connect error 12170.

 

 VERSION INFORMATION:

       TNS for IBM/AIX RISC System/6000: Version 11.2.0.3.0 - Production

       TCP/IP NT Protocol Adapter for IBM/AIX RISC System/6000: Version11.2.0.3.0 - Production

       Oracle Bequeath NT Protocol Adapter for IBM/AIX RISC System/6000:Version 11.2.0.3.0 - Production

 Time: 29-MAY-2014 19:33:24

 Tracing not turned on.

  Tnserror 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: 78

   nt OS err code: 0

 Client address: (ADDRESS=(PROTOCOL=tcp)(HOST=11.205.242.200)(PORT=2175))

Thu May 29 19:33:27 2014

 

 

 

环境

Oracle rac 11.2.0.3.0

IBM aix 6.1

在网上查到惜分飞的一篇blog关于该问题的说明:

查看mos,有幸发现关于该错误的相关文章
Fatal NI connect error 12170′, ‘TNS-12535: TNS:operation timed out’ Reported in11g Alert Log [ID 1286376.1]

 

 

 

1.      适用范围

Oracle Net Services - Version: 11.1.0.6 to 11.2.0.2 - Release: 11.1 to 11.2

Oracle Server - Enterprise Edition - Version: 11.1.0.6 to 11.2.0.2   [Release: 11.1 to 11.2]

Information in this document applies to any platform.

虽然这里的使用范围版本到11.2.0.2,但是到11.2.0.3还没有解决这个问题

2.      问题原因

These time out related messages are mostly informational in nature.  The messages indicate the specified client connection (identified by the 'Client address:' details) has experienced a time out.  The 'nt secondary err code' identifies the underlying network transport, such as (TCP/IP) timeout limits after a client has abnormally terminated the database connection.

 

The 'nt secondary err code' translates to underlying network transport timeouts for the following Operating Systems:

 

For the Solaris system: nt secondary err code: 145:

 

#define ETIMEDOUT 145 /* Connection timed out */

 

For the Linux operating system: nt secondary err code: 110

 

ETIMEDOUT 110 Connection timed out

 

For the HP-UX system: nt secondary err code: 238:

 

ETIMEDOUT 238 /* Connection timed out */

 

For Windows based platforms: nt secondary err code: 60 (which translates to Winsock Error: 10060)

 

Description:  A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.

 

The reason the messages are written to the alert log is related to the use of the new 11g Automatic Diagnostic Repository (ADR) feature being enabled by default.

 

 

 

3.      解决问题

 

To revert to Oracle Net Server tracing/logging, set following parameter in the server'ssqlnet.ora :

 

DIAG_ADR_ENABLED = OFF

 

Also, to back out the ADR diag for the Listener component, set following parameter in the server'slistener.ora:

 

DIAG_ADR_ENABLED_<listenername> = OFF

 

   - Where the <listenername> would be replaced with the actual name of the configured listener(s) in the listener.ora configuration file.  For example, if the listener name is 'LISTENER', the parameter would read:

 

DIAG_ADR_ENABLED_LISTENER = OFF

 

-Reload or restart the TNS Listener for the parameter change to take effect.

 

 说明:这个问题是由于AutomaticDiagnostic Repository中的 Oracle Net diagnostic在默认的情况下是开启的,当数据库和客户端的连接超过特定时间,就会把这样的信息写入到alert日志中,所以这不是一个致命的问题,如果偶尔出现,可以忽略有点类此ora-3136的错误

 

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值