某个客户数据库在巡检的时候发现alert日志里不定期会出现ORA-609错误,大致内容如下:


Fatal NI connect error 12537, connecting to:
(LOCAL=NO)

VERSION INFORMATION:
TNS for HPUX: Version 11.2.0.3.0 - Production
Oracle Bequeath NT Protocol Adapter for HPUX: Version 11.2.0.3.0 - Production
TCP/IP NT Protocol Adapter for HPUX: Version 11.2.0.3.0 - Production
Time: 19-OCT-2014 20:24:16
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 (2734) as a result of ORA-609
Sun Oct 19 21:27:24 2014


由于ORA-609的缘故,ospid(xxxx)进程被aborting了,同时还伴随着TNS-12537的错误,连接关闭

去MOS搜了一圈,正好有篇文档是针对这个错误的,下面是描述:

适用于:

Oracle Net Services - Version 11.2.0.1 to 11.2.0.3 [Release 11.2]
Information in this document applies to any platform.

症状:

alert日志出现以上类似的内容(略)

变化:

Changes in database server load, client connect descriptor, changes in network infrastructure (firewall configuration).

原因:

首先,这个“opiodr aborting process unknown ospid (2734) as a result of ORA-609”消息仅仅是说明了由于ORA-609,使Oracle数据库专用进程被关闭了

来看一段描述:

ORA-609 means “could not attach to incoming connection” so the database process was ‘aborted’ (closed) because it couldn’t attach to the incoming connection passed to it by the listener.

ORA-609意味着不能通过监听把它附加到即将到来的连接上,因此服务器进程被终止(关闭)

The reason for this is found in the sqlnet error stack, in our case is:
TNS-12537: TNS:connection closed.
Basically the dedicated process didn’t have a client connection anymore to work with.

客户端连接有6个步骤:
Client initiates a connection to the database so it connects to the listener
Listener starts (fork) a dedicated database process that will receive this connection (session)
After this dedicated process is started, the listener passes the connection from the client to this process
The server process takes the connection from the listener to continue the handshake with the client
Server process and client exchange information required for establishing a session (ASO, Two Task Common, User logon)
Session is opened

In the case of the above error the connection from the client was closed somewhere between 3. and 4. So when the dedicated process tries to communicate with the client it finds that connection closed.

鉴于以上的错误,在第3步与第4步之间时, 客户端连接就关闭了 ,此时当专有进程尝试与客户端连接时,发现连接已经关闭了

To determine the client which hit this problem we can try to match the timestamp of the error from alert log with an entry in listener.log, but this might be difficult in case of a loaded listener with many incoming connections per second.
Server sqlnet trace will not provide any information about the client.

去确定碰到问题的client,我们可以尝试去匹配alert日志中错误发生的时间戳并且在监听日志中也有相应的条目,但当 加载的监听 每秒有许多连接的时候是非常困难去判断的,服务器sqlnet的trace不会提供任何该客户端的信息

We can enable sqlnet server trace to catch the error (the match is done based on the ospid found in sqlnet server trace file name and the line with ORA-609 error):

还可以启用sqlnet server的trace中抓取到ORA-609错误,匹配成功基于sqlnet server trace文件名和ORA-609错误信息中的ospid

nscon: doing connect handshake…
nscon: recving a packet
nsprecv: entry
nsprecv: reading from transport…
nttrd: entry
nttrd: exit
ntt2err: entry
ntt2err: Read unexpected EOF ERROR on 15 <<<<<<< error
ntt2err: exit
nsprecv: error exit
nserror: entry
nserror: nsres: id=0, op=68, ns=12537, ns2=12560; nt[0]=507, nt[1]=0, nt[2]=0; ora[0]=0, ora[1]=0, ora[2]=0
nscon: error exit
nsdo: nsctxrnk=0
nsdo: error exit
nsinh_hoff: error recving request

可能引起问原因:

Several possible situations can cause this to happen:

client changed its mind and closed the connection immediately after initiating it
client crashed
firewall kills the connection
some oracle timeout set on client

解决方案:

Because the entry from listener.log contains only CONNECT_DATA and CID related information we need to check the client configuration for any sqlnet timeouts:

possible timeouts in sqlnet.ora in client oracle home:
sqlnet.outbound_connect_time
sqlnet.recv_timeout
sqlnet.send_timeout
tcp_connect_timeout

检查客户端目录中sqlnet.ora的超时设置,通常是这个引起的

possible timeout in client connect descriptor (hardcoded in client application or in client tnsnames.ora):
connect_timeout

检查客户端应用或客户单tnsnames.ora中的超时参数

————————————————
版权声明:本文为CSDN博主「aaron8219」的原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接及本声明。
原文链接:https://blog.csdn.net/aaron8219/article/details/41447625

ORA-609 错误分析及解决方法相关推荐

  1. oracle错误号大全(查询ora错误号以及解决方法技巧)

    oracle 查询ora错误号以及解决方法技巧 racle 错误号以及解决方法技巧 经常有朋友问我ORACLE 类似ora-00109 错误的信息,其实我们的ORACLE系统本身已经为我们详细的说明了 ...

  2. c语言程序一些常见的不足,C语言常见错误分析及解决方法

    C.C语言的应用很广泛,越来越多的程序员希望能够学好C由于C语言的编译系统对语法的检查不如其他语言那么严格,因此C语.下面将C语言中初学者最常见的错误分析如下; 1 语句书写错误 由于大部分学生都是初 ...

  3. SSH框架 Bean property * is not writable or has an invalid setter method错误分析与解决方法

    转自:http://blog.csdn.net/naughty610/article/details/5619092 错误出现提示: org.springframework.beans.NotWrit ...

  4. eclipse一直卡住,出现 “android sdk content loader 0%” 卡住的错误分析及解决方法...

    分析:这种问题之前没有遇到过,也不知道什么原因,直接去网上查询,打开www.stackoverflow.com,输入要查询问题的关键词,我们输入 "android sdk content l ...

  5. ORA-00911错误及解决方法(另附所有ora错误原因及解决方法 网址)

    今天在项目中遇到一个头疼的问题,Oracle数据库报告:ORA-00911错误.问题如下: 但是我在PL/SQL Developer中执行明明没有问题!!! 问题出在哪里??? 纠结了我很久,后来发现 ...

  6. VC++编程 两类典型的 LNK2001错误分析及解决方法

    第一类,运行环境问题 在创建MFC项目时,   不使用MFC   AppWizard向导,   如果没有设置好项目参数,   就会在编译时产生很多连接错误,   如error   LNK2001错误, ...

  7. oracle报609,ORA-609 错误分析及解决方法

    某个客户数据库在巡检的时候发现alert日志里不定期会出现ORA-609错误,大致内容如下: ***************************************************** ...

  8. HTTP Status 404错误分析及解决方法

    这是我之前因为复制一个项目,然后启动服务器时在网页报的错误,我用的myeclipse2016,我最后解决了这个问题,方法如下: 1,选中项目名右键>>Properties>>w ...

  9. PLSQL连接Oracle数据库时报ORA 12154错误的解决方法

    pl/sql连接Oracle时遇到的问题: 解决办法:安装后将Oracle安装目录下的文件夹network(包括其中的子文件,其中主要是tnsnames.ora) 在pl/sql菜单–"工具 ...

  10. 00600 ora 关闭oracle_ORA-00600的解决方法?

    说明: 系统是从2003年底开始启用的,我最近才接手,对于系统的历史情况不了解,但从alert.log文件知道,ORA-00600 [17069]错误去年就有了,一直没有得到解决.现在把系统的基本情况 ...

最新文章

  1. linux 7 zip软件下载,linux安装使用7zip教程
  2. Citrix XenServer XenCenter 警报
  3. Android Studio中引入RecyclerView的v7包
  4. tcp连接的三次握手
  5. MySQL复习资料(六)——MySQL-多表联合查询
  6. linux服务器cuda,cudnn的安装与卸载
  7. 让 Chrome 崩溃的一行 CSS 代码
  8. php黄页,PHP 黄页的url
  9. 横幅新年促销海报PSD模板,拯救年底节日忙
  10. # [银联复赛]-整数对:数论
  11. 重做 oracle_Oracle数据库基本知识(1)-数据库(1)
  12. 《企业迁云实战》——2.4 云端实践
  13. win8 附件数据库失败解决方案《1》
  14. 46muduo库使用示例(五)
  15. 【洛谷】P1957 口算练习题
  16. 物联网智能产品WiFi/蓝牙定位原理
  17. 丙烯酰胺php泥浆,大桥钻孔灌注桩清孔施工方法
  18. 我的电子相册网页HTML案例
  19. 身家200亿到入狱,中国股神的悲壮人生
  20. 巴塞尔委员会为银行进入加密市场制定指南

热门文章

  1. 路径规划算法:基于蜻蜓算法的路径规划算法- 附代码
  2. 通用peU盘启动盘装win10系统
  3. 为什么坐飞机可以玩荣耀刷抖音?可见光通信LiFi告诉你!
  4. 苹果刷linux系统下载官网下载,如何安装苹果系统
  5. Ai challenger 2017 image caption小结
  6. 简单的页面《静夜思》
  7. Thread与蓝牙:谁才是智能家居和智能建筑的首选
  8. 深度学习:线性回归模型
  9. 电动机绕组的接线舞曲
  10. CATIA VBA二次开发(一)快速入门之宏脚本