关于Fatal NI connect error 12170

来源:互联网 发布:大数据的益处 编辑:程序博客网 时间:2024/05/26 09:56

11.2.0.2的库两个节点的alert里均频繁出现如下信息:

[html]

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

Fatal NI connect error 12170.

VERSION INFORMATION:

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

TCP/IP NT Protocol Adapter for IBM/AIX RISC System/6000: Version 11.2.0.2.0 - Production

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

Time: 15-NOV-2012 15:49:33

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: 0

nt OS err code: 0

Client address:

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

Fatal NI connect error 12514, connecting to:

(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=db1)(PORT=1525))(ADDRESS=(PROTOCOL=TCP)(HOST=xx)(PORT=1525))(LOAD_BALANCE=yes))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=zjcs)(CID=(PROGRAM=oracle)(HOST

=dbdemo1)(USER=oracle))))

VERSION INFORMATION:

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

TCP/IP NT Protocol Adapter for IBM/AIX RISC System/6000: Version 11.2.0.2.0 - Production

Time: 15-NOV-2012 16:09:34

Tracing not turned on.

Tns error struct:

ns main err code: 12564

TNS-12564: TNS:connection refused

ns secondary err code: 0

nt main err code: 0

nt secondary err code: 0

nt OS err code: 0

11g R1如果出现如上的错误信息会写入到sqlnet.log,11g R2会写入到alert.log,其实出现此错误是正常的现象。

贴出metalink的处理方法:

[html]

Note the time of the client corresponding client connection(s) in the listener log. Here you may find a particular client,

set of clients or particular applications that are improperly disconnecting causing the timeout errors to be raised and recorder in the database alert log.

You may choose to revert from the new Automatic Diagnostic Repository (ADR) method to prevent the Oracle Net diagnostic details from being written to the alert log(s)

by setting the following Oracle Net configuration parameters:

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

DIAG_ADR_ENABLED = OFF

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

DIAG_ADR_ENABLED_ = OFF

- Where the 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 = OF

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