日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

inbound connection timed out (ORA-3136)错误诊断

發布時間:2024/8/26 编程问答 51 豆豆
生活随笔 收集整理的這篇文章主要介紹了 inbound connection timed out (ORA-3136)错误诊断 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

原文地址:inbound connection timed out (ORA-3136)錯誤診斷?作者:seagull.li


Fri Oct 12 06:07:31 2007
WARNING: inbound connection timed out (ORA-3136)

參考metalink上的345197.1文章,內容如下:

Symptoms

The Oracle Net 10g parameters SQLNET.INBOUND_CONNECT_TIMEOUT and INBOUND_CONNECT_TIMEOUT_listenername default to 0 (indefinite) in 10.1.? To address Denial of Service (DOS) issues,? the parameters were set to have a default of 60 (seconds) in Oracle 10.2.

If applications are longer than 60 secs to authenticate with the Oracle database, the errors occur.The following may be seen in the alert log: WARNING: inbound connection timed out (ORA-3136)

SQLNET.INBOUND_CONNECT_TIMEOUT is set to a value in seconds and determines how long a client has to provide the necessary authentication information to a database.

INBOUND_CONNECT_TIMEOUT_listenername is set to a value in seconds and determines how long a client has to complete its connect request to the listener after the network connection has been established.

To protect both the listener and the database server, Oracle Corporation recommends setting INBOUND_CONNECT_TIMEOUT_listenername in combination with the SQLNET.INBOUND_CONNECT_TIMEOUT parameter.

Cause

Whenever default timeouts are assigned to a parameter, there may be cases where this default does not work well with a particular application. However, some type of timeout on the connection establishment is necessary to combat Denial of Service attacks on the database.? In this case, SQLNET.INBOUND_CONNECT__TIMEOUT and INBOUND_CONNECT_TIMEOUT_listenername were given default values of 60 seconds in Oracle 10.2.? It is these timeout values that can cause the errors described in this note.

Also note that it is possilbe the reason the database is slow to authenticate, may be due to an overloaded Oracle database or node.


Solution
Set the parameters SQLNET.INBOUND_CONNECT_TIMEOUT and INBOUND_CONNECT_TIMEOUT_listenername to 0 (indefinite) or to an approprate value for the application yet still combat DOS attacks (120 for example).??

These parameters are set on the SERVER side:
listener.ora: INBOUND_CONNECT_TIMEOUT_listenername
sqlnet.ora:?? SQLNET.INBOUND_CONNECT_TIMEOUT

Further tuning of these parameters may be needed is the problem persists

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

以下是Oracle官方文檔的一段:

SQLNET.INBOUND_CONNECT_TIMEOUT
Use 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.


修改listener的inbound_connect_timeout參數的方法


方法一:
$ lsnrctl

LSNRCTL for IBM/AIX RISC System/6000: Version 10.2.0.3.0 - Production on 29-OCT-2007 10:00:57

Copyright (c) 1991, 2006, Oracle.? All rights reserved.

Welcome to LSNRCTL, type "help" for information.

LSNRCTL> help
The following operations are available
An asterisk (*) denotes a modifier or extended command:

start?????????????? stop??????????????? status??????????????
services??????????? version???????????? reload??????????????
save_config???????? trace?????????????? spawn???????????????
change_password???? quit??????????????? exit????????????????
set*??????????????? show*???????????????

LSNRCTL> show
The following operations are available after show
An asterisk (*) denotes a modifier or extended command:

rawmode???????????????????? displaymode?????????????????
rules?????????????????????? trc_file????????????????????
trc_directory?????????????? trc_level???????????????????
log_file??????????????????? log_directory???????????????
log_status????????????????? current_listener????????????
inbound_connect_timeout???? startup_waittime????????????
snmp_visible??????????????? save_config_on_stop?????????
dynamic_registration????????

LSNRCTL> show inbound_connect_timeout
Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
LISTENER parameter "inbound_connect_timeout" set to 60
The command completed successfully

LSNRCTL> set inbound_connect_timeout 0
Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
LISTENER parameter "inbound_connect_timeout" set to 0
The command completed successfully

LSNRCTL> show inbound_connect_timeout
Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
LISTENER parameter "inbound_connect_timeout" set to 0
The command completed successfully

LSNRCTL> set save_config_on_stop on?? #表示修改參數永久生效,否則只是臨時生效,下次重啟監聽又還原為原來的值了

LSNRCTL> exit


方法二:
修改listener.ora文件,加入:? INBOUND_CONNECT_TIMEOUT_LISTENER_NAME=0


總結

以上是生活随笔為你收集整理的inbound connection timed out (ORA-3136)错误诊断的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。

主站蜘蛛池模板: 污动漫网站 | 国产自产在线 | 亚洲无吗视频 | 久久成人在线 | 人妻视频一区二区 | 少妇饥渴难耐 | 亚洲制服丝袜av | 99精品视频免费看 | 超碰国产在线观看 | 告诉我真相俄剧在线观看 | 国产孕交| 女女av在线 | 五月天丁香婷 | 国内精品小视频 | 国产精品免费一区二区三区都可以 | 超碰2025 | 修女也疯狂3免费观看完整版 | 亚洲特黄| 萌白酱喷水视频 | 精品久久久久久久久久久久久久久久久 | 国产精品久久久久av | 久久久久久久久福利 | www.日韩高清 | 久草成人在线视频 | 野花视频免费在线观看 | 亚洲一区二区三区av无码 | 韩国美女av | 中文字幕丝袜诱惑 | 欧美日韩黄色片 | 五月婷婷狠狠爱 | 欧美黄色一区二区 | 91久热| 一级片免费的 | 亚洲午夜在线视频 | 四虎com | 成人综合一区 | 海角社区在线 | 亚洲女优一区 | 亚洲精品国产精品乱码不卡√香蕉 | 97国产高清| 四虎在线精品 | 午夜视频在线看 | 影音先锋啪啪资源 | 欧美又大又硬又粗bbbbb | 制服丝袜成人动漫 | 成人调教视频 | 日韩经典午夜福利发布 | 天天拍天天干 | 亚洲蜜臀av一区二区三区 | 色漫在线观看 | 欧美打屁股 | 99国产在线观看 | 欧美啪啪网 | 一级片免费的 | 一区二区不卡av | 青青久在线 | 苍井空张开腿实干12次 | 一区二区观看 | 欧美日性视频 | 久久人人精 | 无码人妻h动漫 | 樱桃视频一区二区三区 | 热久久精 | 国产大屁股喷水视频在线观看 | 快播视频在线观看 | 在线观看三级视频 | 中文字幕丝袜 | 超碰在线色 | 二区影院 | 少妇被躁爽到高潮无码人狍大战 | 国模人体私拍xvideos | 黄色一级淫片 | 成人依依| 亚洲男人精品 | 日本黄色高清视频 | 色吧综合 | 肉肉视频在线观看 | 日日噜噜夜夜狠狠久久丁香五月 | 超碰人人超碰 | 日韩怡红院 | 超碰人人超碰 | 欧美黄色片免费看 | 国产成人片| 亚洲第一视频网站 | 在线日韩| 中国a毛片 | 99国产免费 | 露脸啪啪清纯大学生美女 | 欧美bbw视频 | av网页在线观看 | 久久久久亚洲 | 爽好多水快深点欧美视频 | 国产又色又爽又黄 | 91免费黄色 | 欧美裸体xxxx极品少妇 | 日本女优中文字幕 | 国产成人a∨ | 国产69页 | 中国女人一级片 |