Oracle10gR2数据库出现ORA-3136错误的解决方法

一台数据库最近在日志中出现 ORA-3136 错误

环境为oracle 10.2.0.4+aix 5300-08 下面是转载eygle文章的解决方法

Oracle10gR2 ORA-3136 错误解决最近一台新上线的Oracle10gR2数据库在警告日志文件中(alert.log)持续出现如下错误:

Tue Jul 18 23:09:22 2006

WARNING: inbound connection timed out (ORA-3136)

Tue Jul 18 23:09:23 2006

WARNING: inbound connection timed out (ORA-3136)

Tue Jul 18 23:09:25 2006

WARNING: inbound connection timed out (ORA-3136)

Tue Jul 18 23:09:30 2006

WARNING: inbound connection timed out (ORA-3136)

Tue Jul 18 23:12:15 2006

WARNING: inbound connection timed out (ORA-3136)

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

Fatal NI connect error 12170.VERSION INFORMATION:

TNS for Linux: Version 10.2.0.2.0 - Production

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

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

Time: 19-JUL-2006 11:25:26

Tracing not turned on.

Tns error struct:

ns main err code: 12535

TNS-12535: TNS:operation timed out

ns secondary err code: 12606

nt main err code: 0

nt secondary err code: 0

nt OS err code: 0

Client address: (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.1.123)(PORT=58147))

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

1.set INBOUND_CONNECT_TIMEOUT_=0 in listener.ora

2. set SQLNET.INBOUND_CONNECT_TIMEOUT = 0 in sqlnet.ora of server.

3. stop and start both listener and database.

4. Now try to connect to DB and observe the behaviour这里重起数据库和Listener我认为是没有必要的,我们reload一下Listner应该就可以了.

[oracle@order admin]$ lsnrctl LSNRCTL for Linux: Version 10.2.0.2.0 - Production on 19-JUL-2006 15:26:33Copyright (c) 1991, 2005, Oracle. All rights reserved.Welcome to LSNRCTL, type "help" for information.LSNRCTL> reload

Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=172.16.9.11)(PORT=1521)))

The command completed successfully

LSNRCTL> services

Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=172.16.9.11)(PORT=1521)))

Services Summary...

Service "order" has 2 instance(s).

Instance "order", status UNKNOWN, has 1 handler(s) for this service...

Handler(s):

"DEDICATED" established:0 refused:0

LOCAL SERVER

Instance "order", status READY, has 1 handler(s) for this service...

Handler(s):

"DEDICATED" established:0 refused:0 state:ready

LOCAL SERVER

The command completed successfully LSNRCTL> show inbound_connect_timeout

Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=172.16.9.11)(PORT=1521)))

LISTENER parameter "inbound_connect_timeout" set to 0

The command completed successfully

LSNRCTL> exit

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

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

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

SQLNET.INBOUND_CONNECT_TIMEOUT

PurposeUse 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 complete 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-12170: TNS:Connect timeout occurred error message to the sqlnet.log file. The client receives either an ORA-12547: TNS:lost contact or an ORA-12637: 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 recommends setting this parameter in combination with the INBOUND_CONNECT_TIMEOUT_listener_name parameter in the listener.ora file. When specifying values for these parameters, consider the following recommendations:

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 2 seconds and INBOUND_CONNECT_TIMEOUT parameter to 3 seconds. If clients are unable to complete connections within the specified time due to system or network delays that are normal for the particular environment, then increment the time as needed.

See Also:Oracle9i Net Services Administrator's Guide for information about configuring these parameters

Default

None

Example

SQLNET.INBOUND_CONNECT_TIMEOUT=3

oracle10显示数据库错误,Oracle10gR2数据库出现ORA-3136错误的解决方法相关推荐

  1. 连接Oracle远程数据库错误:ORA-12541,ORA-12514,ORA-01017的解决方法!

    连接Oracle远程数据库错误:ORA-12541,ORA-12514,ORA-01017的解决方法! 参考文章: (1)连接Oracle远程数据库错误:ORA-12541,ORA-12514,ORA ...

  2. isfull mysql_MySQL数据库之MySQL 出现 The table is full 的解决方法

    本文主要向大家介绍了MySQL数据库之MySQL 出现 The table is full 的解决方法 ,通过具体的内容向大家展现,希望对大家学习MySQL数据库有所帮助. 当我们要写入新数据而发生& ...

  3. 数据库错误代码:1055(Error Number: 1055) 解决方法

    数据库错误代码:1055(Error Number: 1055) 解决方法 发生在mysql 5.7中,将MySQL更改为MySQLI发生了错误,错误代码1055(Error Number: 1055 ...

  4. 在centos上,oracle数据库更改IP后无法启动监听,解决方法

    在centos上,oracle数据库更改IP后无法启动监听,解决方法 参考文章: (1)在centos上,oracle数据库更改IP后无法启动监听,解决方法 (2)https://www.cnblog ...

  5. SQLServer 数据库变成单个用户后无法访问问题的解决方法

    SQLServer 数据库变成单个用户后无法访问问题的解决方法 参考文章: (1)SQLServer 数据库变成单个用户后无法访问问题的解决方法 (2)https://www.cnblogs.com/ ...

  6. win上mysql忘记root密码_MySQL数据库之windows下mysql忘记root密码的解决方法

    本文主要向大家介绍了MySQL数据库之windows下mysql忘记root密码的解决方法 ,通过具体的内容向大家展现,希望对大家学习MySQL数据库有所帮助. 方法一: 1.在DOS窗口下输入net ...

  7. MS-sql 2005拒绝了对对象 'xxx' (数据库 'xxx',架构 'dbo')的 SELECT 权限的解决方法

    MS-sql 2005拒绝了对对象 'xxx' (数据库 'xxx',架构 'dbo')的 SELECT 权限的解决方法 问题:Sql server 2005 默认设置下不允许远程登陆 1 外围设置 ...

  8. 关于“打开数据库时出错: 用户 ‘sa‘ 登录失败。”的解决方法

    关于打开数据库时出错: 用户 'sa' 登录失败.的解决方法 首先我的电脑右键打开管理 将这"Named Pipes"和"TCP/IP"启用 打开数据库管理软件 ...

  9. Mac 错误提示:zsh: command not found: brew解决方法

    Mac 错误提示:zsh: command not found: brew解决方法@TOC 欢迎使用Markdown编辑器 Mac平台出现brew command not found问题解决方法 错误 ...

  10. 关于系统弹出错误:429 , ActiveX 部件不能创建对象 的解决方法

    关于系统弹出错误:429 , ActiveX 部件不能创建对象 的解决方法 参考文章: (1)关于系统弹出错误:429 , ActiveX 部件不能创建对象 的解决方法 (2)https://www. ...

最新文章

  1. Reddit高赞:机器学习领域「八宗罪」!同行评审变味,盲目崇拜盛行
  2. (0092)iOS开发AVAudioRecorder录制音频
  3. MySQL删除用户(DROP USER)
  4. java 对第三方的异常_Java第三方API调用打开文件方法时抛出异常
  5. android新架构,Android新架构组件 LifeCycles 简介
  6. css布局难,运用 CSS布局到底有多难?[多图]
  7. c++两个数组对比去掉重复的元素_每日一道 LeetCode (8):删除排序数组中的重复项和移除元素...
  8. zabbix3.x web设置手册(2)
  9. div居中和table居中,jQuery获取下拉列表值
  10. 数据结构保研面试题整理(自用)
  11. wake on lan 实现远程开机(远程开关机程序)
  12. 自定义Openstack图标
  13. Day530.图灵学院之面试题④ -面经
  14. 一个基于场景感应的android智能手机防丢失系
  15. Desmos图形计算器创建回归方程
  16. 你真以为贪吃蛇是个简单的游戏?
  17. open wrt 跟换主题_分享个openwrt主题 可以简单自定义的 主题
  18. 什么事LLVM和Clang?Clang与GCC有什么区别?Clang如何使用?
  19. 中国抓到了勒索病毒作者!!
  20. 怎么确定电视吊架安装位置,电视支架安装讲解

热门文章

  1. 网课必备·几款特色各异的pdf软件大全
  2. android ram rom测试工具,RAM与ROM测试方法
  3. mysql hacing_manjaro 折腾日记
  4. c语言的编写程序--最简单的算术题
  5. 【CentOS Linux 7】实验3【用户组群管理、磁盘分区及文件系统管理】
  6. 仓库智能化管理:WMS仓储管理系统解决方案
  7. HTML动画部分——项目西游记动画
  8. 破译营销最优解,2018E-UP效果营销案例大赛终审完美收官
  9. python人民币转大写_python2.x实现人民币转大写人民币
  10. html hr代码的效果,HTML hr是什么意思