最近一台新上線的Oracle
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
Fatal NI connect error
VERSION INFORMATION:
TNS for Linux: Version
Oracle Bequeath NT Protocol Adapter for Linux: Version
TCP/IP NT Protocol Adapter for Linux: Version
Time:
Tracing not turned on
Tns error struct:
ns main err code:
TNS
ns secondary err code:
nt main err code:
nt secondary err code:
nt OS err code:
Client address: (ADDRESS=(PROTOCOL=tcp)(HOST=
這是和網絡連接相關的一個錯誤
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我認為是沒有必要的
[oracle@order admin]$ lsnrctl
LSNRCTL for Linux: Version
Copyright (c)
Welcome to LSNRCTL
LSNRCTL> reload
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=
The command completed successfully
LSNRCTL> services
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=
Services Summary
Service
Instance
Handler(s):
LOCAL SERVER
Instance
Handler(s):
LOCAL SERVER
The command completed successfully
LSNRCTL> show inbound_connect_timeout
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=
LISTENER parameter
The command completed successfully
LSNRCTL> exit
修改之後
關於SQLNET
引用一段Oracle文檔說明如下:
SQLNET
Purpose
Use the SQLNET
If the client fails to establish a connection and complete authentication in the time specified
Without this parameter
To protect both the database server and the listener
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
For example
See Also:
Oracle
Default
None
Example
SQLNET
From:http://tw.wingwit.com/Article/program/Oracle/201311/17601.html