Oracle10g的ORA-3136錯誤解決辦法
WARNING: inbound connection timed out (ORA-3136)而且sqlnet.log中記錄了資訊:
在metalink上查詢了一下,發現這個錯誤在10g當中是很常見的。Metalink上有專門的bug和note對這個問題辦法.Fatal NI connect error 12170.
VERSION INFORMATION:
TNS for Linux: Version 10.2.0.4.0 - Production
Oracle Bequeath NT Protocol Adapter for Linux: Version 10.2.0.4.0 - Production
TCP/IP NT Protocol Adapter for Linux: Version 10.2.0.4.0 - Production
Time: 19-JUL-2009 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.129)(PORT=1521))
透過修改listener.ora和sqlnet.ora中的這個引數值:
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
關於SQLNET.INBOUND_CONNECT_TIMEOUT引數,Oracle建議修改該引數,以避免denial-of-service攻擊.
引用一段Oracle文件說明如下:
SQLNET.INBOUND_CONNECT_TIMEOUT
Purpose
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.
See Also:
Oracle9i Net Services Administrator's Guide for
information about configuring these parameters
Default
None
Example
SQLNET.INBOUND_CONNECT_TIMEOUT=3
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/17172228/viewspace-777241/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- ORA-3136 錯誤解決 .
- Oracle10g的ORA-3136錯誤Oracle
- dns錯誤怎麼辦 dns錯誤的解決辦法DNS
- SAP錯誤提示解決辦法
- scp出現錯誤的解決辦法
- samba一個錯誤的解決辦法!Samba
- 連線oracle錯誤解決辦法Oracle
- nginxFastCGI錯誤Primaryscriptunknown解決辦法NginxAST
- Unable to locate package錯誤解決辦法Package
- oracle 1455 錯誤解決辦法Oracle
- 畢設之錯誤解決辦法
- iOS路上遇到的錯誤及解決辦法iOS
- ORA-12705,錯誤的解決辦法
- SPFILE引數修改錯誤的解決辦法
- ORA-12170錯誤的解決辦法
- Idea編譯錯誤解決辦法Idea編譯
- PHP編譯錯誤及解決辦法PHP編譯
- ORA-29339錯誤解決辦法
- ORA-54013錯誤解決辦法
- 開機checking file錯誤的解決辦法
- VPN連線800錯誤的解決辦法(轉)
- ORA-01034錯誤的解決辦法
- 安裝wsl錯誤的一種解決辦法
- Oracle10gR2 ORA-3136 錯誤解決Oracle
- 網頁上有錯誤怎麼辦 網頁錯誤的一般解決辦法網頁
- ubuntu下import matplotlib錯誤解決辦法UbuntuImport
- OpenCV1.0編譯錯誤解決辦法OpenCV編譯
- Xamarin提示安裝包錯誤解決辦法
- ORA-32004錯誤解決辦法
- ORA-01846錯誤解決辦法
- Mysql出現連線錯誤解決辦法MySql
- 寬頻連線錯誤678 寬頻連線錯誤691錯誤的解決辦法
- mysqldump error1066 錯誤的解決辦法MySqlError
- 轉: redhat linux ftp 553 錯誤的解決辦法RedhatLinuxFTP
- unity player 顯示播放錯誤時的解決辦法Unity
- ORA-01034錯誤的解決辦法[轉]
- 網頁證書錯誤怎麼回事 證書錯誤的解決辦法網頁
- ORA-39006錯誤原因及解決辦法