alert_sid.log中有如下报错信息

Wed Dec 18 08:25:58 2013

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

Fatal NI connect error 12537, connecting to:

(LOCAL=NO)

VERSION INFORMATION:

TNS for Linux: Version 11.2.0.1.0 - Production

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

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

Time: 18-DEC-2013 08:25:58

Tracing not turned on.

Tns error struct:

ns main err code: 12537

TNS-12537: TNS:connection closed

ns secondary err code: 12560

nt main err code: 0

nt secondary err code: 0

nt OS err code: 0

opiodr aborting process unknown ospid (16596) as a result of ORA-609

Wed Dec 18 08:28:25 2013

Thread 1 advanced to log sequence 22477 (LGWR switch)

MOS给出的解决方法

It can be somewhat challenging to determine the origin of the client that is causing the error.

For that reason, we often recommend increasing the values for INBOUND_CONNECT_TIMEOUT at both listener and server side sqlnet.ora file as a preventive measure. If the problem is due to connection timeouts, an increase in the following parameters should eliminate or reduce the occurrence of the ORA-609s.

e.g.

Sqlnet.ora: SQLNET.INBOUND_CONNECT_TIMEOUT=180

Listener.ora: INBOUND_CONNECT_TIMEOUT_listener_name=120

These settings are in seconds. Again, the default is 60. A setting of 120 seconds should resolve most if not all ORA-609 errors.

As explained in the Cause section, The ORA-609 error is thrown when a client connection of any kind failed to complete or aborted the connection process, so ORA-609 and TNS- errors are expected while shutting down the database - as client connection will fail to complete or aborted the connection process before the connection/authentication process was complete. So please ignore the ORA-609 and TNS- errors, if these are appear while database instance is shutting down.

If the issue persists and inbound connect does not have any effect, the following steps are intended to help locate the client that may be causing the errors.

1) Suppress the TNS errors in the alert.log by setting the following sqlnet.ora file parameter:

sqlnet.ora file (on the server): DIAG_ADR_ENABLED = OFF

Reload the listener following this change.

This will cause the TNS errors to be posted to the ORACLE_HOME/network/log/sqlnet.log file that is local to the database and may yield useful information about the client's address.

For example, here's a snippet from a server side sqlnet.log where client address info was posted:

Production Time: 15-FEB-2010 07:15:01

Fatal NI connect error 12537, connecting to:

(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(Host=yourhost)(Port=1521))(CONNECT_DATA=(SID=PROD1DR)(CID=(PROGRAM=sqlplus)(HOST=client_host)(USER=client))))

Observe the PROGRAM and HOST fields on the last line. This is where the connection originated.

Be sure to match timestamps in the sqlnet.log with the timestamps of the alert.log errors. Once you've located the offending client, you can enable client tracing to try and determine the cause:

TRACE_LEVEL_CLIENT=16

TRACE_DIRECTORY_CLIENT=

TRACE_TIMESTAMP_CLIENT=TRUE

DIAG_ADR_ENABLED=off <<<

If you need assistance with client or server tracing, please open an SR with Global Customer Support.

2) Check the listener.log for client connections that were logged at timestamps that match the ORA-609 timestamps as they appear in the alert.log. The client information is recorded in each listener.log entry. Since this error occurs AFTER the listener has handled the connection, do not expect to see errors in the listener.log.

Here's an example snippet of an incoming client connection that was posted to the listener.log:

20-JAN-2009 17:08:45 (CONNECT_DATA=(SID=orcl)(CID=(PROGRAM=D:\oracle\product\10.1.0\Db_1\perl\5.6.1\bin\MSWin32-x86\perl.exe)(HOST=myclient)

Note that the exact timestamp, program name and client host will often be recorded. Again, once you've located the offending client, enable tracing (see above) to try to capture the connection failure.

3) Enable server side Oracle Net tracing and capture the TNS error along with the incoming connection.

Match the PID that accompanies the ORA-609 to the server trace label. e.g.

ORA-609 : opiodr aborting process unknown ospid (4799_1) *Note the PID

This PID would correspond to server trace labeled: svr_4799.trc. Check the server trace for either TNS error (the 609 will not appear) and try to locate the originating client address. If assistance is needed for this investigation, please open an SR with Oracle Support.

See below for instuctions on enabling Oracle Net server tracing.

The following details the discovery of the source of an ORA-609 for a real case:

The alert.log reports the following messages intermittently but frequently:

Mon Nov 16 22:39:22 2009

ORA-609 : opiodr aborting process unknown ospid (nnnn)

Enabled Oracle Net server tracing:

TRACE_LEVEL_SERVER=16

TRACE_DIRECTORY_SERVER=

TRACE_TIMESTAMP_SERVER=TRUE

DIAG_ADR_ENABLED=off

Reloaded listener and wait for error to appear again.:

ORA-609 : opiodr aborting process unknown ospid (5233_1)

Note that the server trace file set that corresponded to this event was named svr_5233*.trc.

Of course the timestamps of the alert.log event and the server trace creation matched as well.

A review of the server trace showed only an EOF failure and the TNS-12537 error:

Read unexpected EOF ERROR

nserror: nsres: id=0, op=68, ns=12537

In this particular case, there was no information about the client in the trace. This is atypical for a server trace. It may be that the client aborted before all the client information was posted to the file. However, there was post in the listener.log for an emagent connection that was established at the same point in time.

Here's an excerpt from a listener.log entry where an emagent establishes a connection:

PROGRAM=D:\oracle\product\10.1.0\Db_1\bin\emagent.exe)

Checked the EM Agent traces and logs and discovered the following entry:

Fatal NI connect error 12547, connecting to:

(LOCAL=NO)

VERSION INFORMATION:

TNS for Solaris: Version 11.1.0.7.0 - Production

Oracle Bequeath NT Protocol Adapter for Solaris: Version 11.1.0.7.0 - Production

TCP/IP NT Protocol Adapter for Solaris: Version 11.1.0.7.0 - Production

Time: 16-NOV-2009 22:39:22

****Tracing to file: /backup/sid_traces/sqlnetlog/svr_5233.trc

Tns error struct:

ns main err code: 12547

TNS-12547: TNS:lost contact

ns secondary err code: 12560

nt main err code: 0

nt secondary err code: 0

nt OS err code: 0

****Note the name of the server trace which contains the PID: svr_5233.trc

Also, the timestamp of the agent event matches the timestamp of the alert.log error.

oracle11g ora12560,Oracle11gORA-609TNS12537TNS12560相关推荐

  1. cmd删除oracle监听,oracle数据库监听删除

    oracle 10G for linux常用命令 oracle 10G for linux常用命令 首先以Oracle用户登录 1. $/oracle/oracle/app/product/101/b ...

  2. oracle 数据库起监听,oracle启动数据库监听

    linux/Aix启动.关闭Oracle及监听 Aix环境下管理Oracle 1.Aix下查看.启动数据库监听器 以oracle用户执行以下命令: ① lsnrctl status //-查看监听器状 ...

  3. oracle12c ora 12560,oracle11g报ora-12560:tns连接异常的解决方法

    1. 找到listener.ora监听文件,具体位置:D:\app\Administrator\product\11.2.0\dbhome_1\NETWORK\ADMIN\listener.ora 2 ...

  4. 安装完Oracle客户端出现ORA-12560:TNS:协议适配器错误

    安装完win64_11gR2_client数据库客户端后,再登陆SQL plus出现ORA-12560:TNS:协议适配器错误: 这是因为在安装完客户端后在Path路径的最前面多了个Oracle客户端 ...

  5. Win7_x64安装oracle11g出现DIM-00019

    Win7_x64安装oracle11g出现如下异常处理方式 DIM-00019:创建服务时出错. O/S-ERROR:(OS 1726)远程过程调用失败. 点击弹出的错误框上的确定按钮后,继续弹出错误 ...

  6. oracle协议适配器错误tns,ORA-12560: TNS: 协议适配器错误

    之前创建两个数据库实例玩,然后将其中的一个实例又删除掉,然后再重新用doc连接数据库,发现oracle11竟然无法连接了,如下所示: SQL*Plus: Release 11.2.0.3.0 Prod ...

  7. Oracle11g DG实战配置(Windows版)(五)主备库DG配置

    5.1 DG主库配置(主库操作) 5.1.1 配置Oracle Data Guard # 登录数据库 sqlplus / as sysdba # 查看数据库归档模式,确认Archivelog已启用 s ...

  8. PL/SQL Developer(解压版)连接64位的Oracle11g

    PL/SQL Developer(解压版)连接64位的Oracle11g 在Windows 64位系统上安装64位的Oracle数据库,但是没有对应的64位PL/SQL Developer,此时要用P ...

  9. oracle11g开启1158,1、Oracle11g中浏览器访问不了http://localhost:1158/em的问题

    以前接触过oracle,但是没有真正的去用过,这段时间不是很忙,就开始从零开始学习oracle,这篇文章是我第一次写. 网上可以找到很多资料都是解决浏览器访问不了http://localhost:11 ...

最新文章

  1. C++11 带来的新特性 (2)—— 统一初始化(Uniform Initialization)
  2. Android java 多线程(三)
  3. 特殊的IP地址与端口
  4. Qt Creator批注设计
  5. 自动化测试框架实践2--STAF
  6. TensorFlow学习笔记(十八)tf.reshape矩阵变形
  7. LInux命令随笔记
  8. 开发一款浏览器内核需要学习哪些方面的知识?
  9. cad lisp 法兰6_南昌平板法兰加工设备_山东平安数控机械有限公司
  10. python微软产品一般都一个25位的序列号_Python易错点6
  11. word-break: break-all与word-wrap:break-word的区别
  12. 黑客攻防技巧:2分钟入侵网站全程实录
  13. 看清我辈基本盘!罗振宇2020跨年演讲全文来了(未删减)
  14. CSDN日报20170612 ——《程序员,感觉技术停滞了怎么办?》
  15. python macd底背离_MACD的“底背离”狠不狠?回测告诉你结果
  16. 如何在html定位一张图片,css图片怎么定位?
  17. 两个鸡蛋100层楼(DP)
  18. 《 ERP高级计划》书的解读之二APS算法分析之单一:内点方法(蔡颖)(转)
  19. html win10虚拟键盘,Win10怎么调出虚拟键盘
  20. WIFI模块RTL8723BU驱动移植

热门文章

  1. JavaScript小记——Ajax异步请求
  2. Vim 匹配相同的单词并高亮
  3. 互斥锁的概念和使用方法。
  4. jsp实现数据提交以及jsp数据保存到本地
  5. HT66F2390/STM32——AM2320温湿度传感器
  6. ACPI中各种state的关系
  7. ai怎么平均排列,ai怎样可以按设定的距离进行平均分布排列
  8. 如何使用word模板生成word文档(文本,图片)
  9. 使用MATLAB进行聚类分析K-means(二维-三维)
  10. DSP CCS12.00 芯片:TMS320F28335 PWM 的设计