sqlnet.log error - Operation timed out
最近在$ORACLE_HOME/network/admin/log 下的sqlnet.log檔案裡,不斷發現異常error:
***********************************************************************
Fatal NI connect error 12170.
VERSION INFORMATION:
TNS for Solaris: Version 10.2.0.1.0 – Production
Oracle Bequeath NT Protocol Adapter for Solaris: Version 10.2.0.1.0 – Production
TCP/IP NT Protocol Adapter for Solaris: Version 10.2.0.1.0 – Production
Time: 1-MAR-2009 18:42:58
Tracing not turned on.
Tns error struct:
ns main err code: 12535
TNS-12535: TNS:operation timed out
ns secondary err code: 12560
nt main err code: 505
TNS-00505: Operation timed out
nt secondary err code: 145
(Look up error number 145 in /usr/include/sys/errno.h )
nt OS err code: 0
Client address: (ADDRESS=(PROTOCOL=tcp)(HOST=10.221.70.83)(PORT=4032))
***********************************************************************
透過client address可以查詢到時應用伺服器的地址,從listener.log裡可以查到此session的連結時間,大部分都是4-6個小時左右,斷開。客戶端沒有人報告異常,也沒有客戶反應連結不到資料庫,那為什麼會出現這個timed out的異常告警呢?如果沒有問題的話,不應該會平白無故的告警的?
在網上查詢到相關資料,懷疑是防火牆設定問題:
This is indicative of a client connection being dropped. This can be the result of firewall dropping connections per the firewall policy of idle sessions. The workaround for this can be done as follows:
“For Oracle databases, SQLNET.EXPIRE_TIME can be used. Although SQLNET.EXPIRE_TIME was intended as a dead connection detection (DCD) method, a side effect of sending probe packets between the database server and client/application server is that the connection remains active. Set the SQLNET.EXPIRE_TIME to less than the firewall timeout and the problem is solved.”
參考連結: 1.
2.
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/9252210/viewspace-628581/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- oozie.action.hadoop.LauncherException: IO error Connection timed out: no further informationHadoopExceptionErrorORM
- java.sql.SQLRecoverableException: IO Error: Socket read timed out 排查歷程JavaSQLExceptionError
- [Clickhouse] Clickhouse 報SQLException : Read timed outSQLException
- 關於遠端連線虛擬機器Network error: Connection timed out的問題虛擬機Error
- tidb Error: Operation aborted by user answer '' (cliutil.operation_aborted)TiDBError
- cuda runtime error (801) : operation not supportedError
- 【解決】io.lettuce.core.RedisCommandTimeoutException: Command timed outRedisException
- 報錯(已解決)Command timed out after no timeout
- Failed to connect to ESP8266: Timed out waiting for packet headerAIHeader
- [debug] vagrant報錯mount.nfs: Connection timed outNFS
- WARNING: inbound connection timed out (ORA-3136)錯誤分析
- jdbc訪問KingbaseES資料庫SocketTimeoutException Read timed outJDBC資料庫Exception
- java.sql.SQLException:IO 錯誤:Socket read timed out !JavaSQLException
- NFS mount results in "vmount: operation not permitted" errorNFSMITError
- Putty或MobaXTerm無法連線VMware虛擬機器 報Network error: Connection timed out的解決方案虛擬機Error
- 部分OPPO機型 AssetManager.finalize() timed out的修復
- io.lettuce.core.RedisCommandTimeoutException: Command timed out 解決辦法RedisException
- java.net.SocketTimeoutException: Read timed out異常解決方法JavaException
- Feign,HTTP連線超時問題SocketTimeoutException: Read timed outHTTPException
- 執行systemctl status ssh返回“Failed to get properties: Connection timed out”AI
- UDI-03113: operation generated ORACLE error 3113OracleError
- RetryableException: Read timed out executing導致服務假死無響應Exception
- 解決 ssh connect to host github.com port 22 Connection timed outGithub
- ORA-29702: error occurred in Cluster Group Service operationError
- rabbitMq的status報錯Error: unable to perform an operation on node ‘rabbit……MQErrorORM
- 【ERROR】ORA-27102: out of memory 解決方法Error
- 【python】pip安裝庫時出現Read timed out.解決辦法Python
- CM agent 傳送heartbeat給CM server 不斷髮生 connection refused:timed outServer
- ORA-29702:error occurred in Cluster Group Service operation錯誤解決Error
- 【Azure Fabric Service】Service Fabric部署失敗問題 Provisioning of VM extension ConfigureVM has timed out.
- yarn install 遇到的錯誤訊息 - Error EPERM operation not permitted, open .yarnrcYarnErrorMIT
- Composer 記憶體不足解決方案 PHP Fatal error: Out of memory記憶體PHPError
- Solaris awk: syntax error near line 1 awk: bailing out near line 1ErrorAI
- [重慶思莊每日技術分享]-CENTOS7.7 登入顯示:abrt-cli status' timed outCentOS
- [Javascript] ++operationJavaScript
- MySQL建立使用者報錯 ERROR 1396 (HY000): Operation CREATE USER failed for 'afei'@'%'MySqlErrorAI
- Springboot2.x整合lettuce連線redis叢集報超時異常Command timed out after 6 second(s)Spring BootRedis
- 機器學習策略篇:詳解進行誤差分析(Carrying out error analysis)機器學習Error
- macOS: sudo : Operation not permittedMacMIT