知识大全 Oracle10gR2ORA-3136错误解决

Posted

篇首语:男儿欲遂平生志,五经勤向窗前读。本文由小常识网(cha138.com)小编为大家整理,主要介绍了知识大全 Oracle10gR2ORA-3136错误解决相关的知识,希望对你有一定的参考价值。

Oracle10gR2ORA-3136错误解决  以下文字资料是由(全榜网网www.cha138.com)小编为大家搜集整理后发布的内容,让我们赶快一起来看一下吧!

  最近一台新上线的Oracle gR 数据库在警告日志文件中(alert log)持续出现如下错误:

   Tue Jul : : WARNING: inbound connection timed out (ORA )Tue Jul : : WARNING: inbound connection timed out (ORA )Tue Jul : : WARNING: inbound connection timed out (ORA )Tue Jul : : WARNING: inbound connection timed out (ORA )Tue Jul : : WARNING: inbound connection timed out (ORA )

  同时在sqlnet log中记录了如下错误:

  

  Fatal NI connect error

  VERSION INFORMATION:TNS for Linux: Version ProductionOracle Bequeath NT Protocol Adapter for Linux: Version ProductionTCP/IP NT Protocol Adapter for Linux: Version ProductionTime: JUL : : Tracing not turned on Tns error struct:ns main err code: TNS : TNS:operation timed outns secondary err code: nt main err code: nt secondary err code: nt OS err code: Client address: (ADDRESS=(PROTOCOL=tcp)(HOST= )(PORT= ))

  这是和网络连接相关的一个错误 Metalink上给出了如下的解决方案:

   set INBOUND_CONNECT_TIMEOUT_ = in listener ora set SQLNET INBOUND_CONNECT_TIMEOUT = in sqlnet ora of server stop and start both listener and database Now try to connect to DB and observe the behaviour

  这里重起数据库和Listener我认为是没有必要的 我们reload一下Listner应该就可以了

  

  [oracle@order admin]$ lsnrctl

  LSNRCTL for Linux: Version Production on JUL : :

  Copyright (c) Oracle All rights reserved

  Wele to LSNRCTL type help for information

  LSNRCTL> reload Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST= )(PORT= )))The mand pleted successfullyLSNRCTL> servicesConnecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST= )(PORT= )))Services Summary Service order has instance(s) Instance order status UNKNOWN has handler(s) for this service Handler(s): DEDICATED established: refused: LOCAL SERVERInstance order status READY has handler(s) for this service Handler(s): DEDICATED established: refused: state:readyLOCAL SERVERThe mand pleted successfully

  LSNRCTL> show inbound_connect_timeoutConnecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST= )(PORT= )))LISTENER parameter inbound_connect_timeout set to The mand pleted successfullyLSNRCTL> exit

  修改之后 观察了一段时间 目前正常

  关于SQLNET INBOUND_CONNECT_TIMEOUT参数 Oracle建议修改该参数 以避免denial of service攻击

  引用一段Oracle文档说明如下:

  SQLNET INBOUND_CONNECT_TIMEOUTPurposeUse the SQLNET INBOUND_CONNECT_TIMEOUT parameter to specify the time in seconds for a client to connect with the database server and provide the necessary authentication information

  If the client fails to establish a connection and plete authentication in the time specified then the database server terminates the connection In addition the database server logs the IP address of the client and an ORA : TNS:Connect timeout occurred error message to the sqlnet log file The client receives either an ORA : TNS:lost contact or an ORA : Packet receive failed error message

  Without this parameter a client connection to the database server can stay open indefinitely without authentication Connections without authentication can introduce possible denial of service attacks whereby malicious clients attempt to flood database servers with connect requests that consume resources

  To protect both the database server and the listener Oracle Corporation remends setting this parameter in bination with the INBOUND_CONNECT_TIMEOUT_listener_name parameter in the listener ora file When specifying values for these parameters consider the following remendations:

  Set both parameters to an initial low value Set the value of the INBOUND_CONNECT_TIMEOUT_listener_name parameter to a lower value than the SQLNET INBOUND_CONNECT_TIMEOUT parameter For example you can set INBOUND_CONNECT_TIMEOUT_listener_name to seconds and INBOUND_CONNECT_TIMEOUT parameter to seconds If clients are unable to plete connections within the specified time due to system or neork delays that are normal for the particular environment then increment the time as needed

  See Also: Oracle i Net Services Administrator s Guide for information about configuring these parameters

  DefaultNone

cha138/Article/program/Oracle/201311/17601

相关参考

知识大全 解决Oracle数据库10g导出错误6550

解决Oracle数据库10g导出错误6550  以下文字资料是由(全榜网网www.cha138.com)小编为大家搜集整理后发布的内容,让我们赶快一起来看一下吧!现象使用

知识大全 Oracle10g控制台登录错误解决办法

Oracle10g控制台登录错误解决办法  以下文字资料是由(全榜网网www.cha138.com)小编为大家搜集整理后发布的内容,让我们赶快一起来看一下吧!  安装Or

知识大全 Oracle常见错误及解决方案

Oracle常见错误及解决方案  以下文字资料是由(全榜网网www.cha138.com)小编为大家搜集整理后发布的内容,让我们赶快一起来看一下吧!  没有人会否认ORA

知识大全 Oracle的TNS-12502错误原因及解决

Oracle的TNS-12502错误原因及解决  以下文字资料是由(全榜网网www.cha138.com)小编为大家搜集整理后发布的内容,让我们赶快一起来看一下吧!  前

知识大全 Oracle常见错误代码的分析与解决一

Oracle常见错误代码的分析与解决一  以下文字资料是由(全榜网网www.cha138.com)小编为大家搜集整理后发布的内容,让我们赶快一起来看一下吧!  在使用OR

知识大全 Oracle跨版本导出EXP-00003错误的解决

Oracle跨版本导出EXP-00003错误的解决  以下文字资料是由(全榜网网www.cha138.com)小编为大家搜集整理后发布的内容,让我们赶快一起来看一下吧! 

知识大全 oracle中ora-0100错误打开游标过大的解决

  最近做项目碰到ORA错误参考了一些解决办法把自己解决问题的一些心得写下来java访问oracle数据库在for循环代码中如果忽略关闭createstatment或preparedstatement

知识大全 详细讲解Oracle数据库运行错误的解决方法

详细讲解Oracle数据库运行错误的解决方法  以下文字资料是由(全榜网网www.cha138.com)小编为大家搜集整理后发布的内容,让我们赶快一起来看一下吧!  Or

知识大全 Oracle PRKC-1002错误原因和解决方案

OraclePRKC-1002错误原因和解决方案  以下文字资料是由(全榜网网www.cha138.com)小编为大家搜集整理后发布的内容,让我们赶快一起来看一下吧!li

知识大全 OracleDBA新手经常碰到的10个Oracle错误

OracleDBA新手经常碰到的10个Oracle错误  以下文字资料是由(全榜网网www.cha138.com)小编为大家搜集整理后发布的内容,让我们赶快一起来看一下吧