oracle查询ora03114,求教:ora-03114错误从哪里排查?
ERP軟件偶爾會報 ora-03114錯誤 未連接到oracle
我檢查數(shù)據(jù)庫的根超時有關(guān)的設(shè)置
dba_profiles中的如下兩個參數(shù),都是不限制
connect_time=unlimited
idle_time=unlimited
sqlnet.net中,只設(shè)置了如下參數(shù)
SQLNET.EXPIRE_TIME=5 --這個用來清除僵死連接的
監(jiān)聽日志文件中,沒有ora相關(guān)的錯誤,顯示的都是正常的連接,
31-8月 -2018 14:43:19 * (CONNECT_DATA=(SERVICE_NAME=CBGCM1)(CID=(PROGRAM=G:/xcom/library/python2.4/python.exe)(HOST=NYMESB)(USER=Administrator))) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.66.5)(PORT=61520)) * establish * CBGCM1 * 0
Fri Aug 31 14:43:41 2018
31-8月 -2018 14:43:41 * service_update * cbgcm1 * 0
31-8月 -2018 14:43:47 * service_update * cbgcm1 * 0
Fri Aug 31 14:45:08 2018
31-8月 -2018 14:45:08 * service_update * cbgcm1 * 0
Fri Aug 31 14:45:19 2018
31-8月 -2018 14:45:19 * (CONNECT_DATA=(SERVICE_NAME=CBGCM1)(CID=(PROGRAM=e:/app/administrator/product/11.2.0/dbhome_1/bin/ORACLE.EXE)(HOST=NYPCSDB)(USER=Administrator))) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.10.7)(PORT=51021)) * establish * CBGCM1 * 0
31-8月 -2018 14:45:20 * service_update * cbgcm1 * 0
Fri Aug 31 14:45:32 2018
31-8月 -2018 14:45:32 * (CONNECT_DATA=(SERVICE_NAME=CBGCM1)(CID=(PROGRAM=e:/app/administrator/product/11.2.0/dbhome_1/bin/ORACLE.EXE)(HOST=NYPCSDB)(USER=Administrator))) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.10.7)(PORT=51023)) * establish * CBGCM1 * 0
alert_cbgcm1.log中沒有ora-03114相關(guān)的錯誤,有如下錯誤,這個應(yīng)該是登陸數(shù)據(jù)庫超時的錯誤吧?
Fatal NI connect error 12170.
VERSION INFORMATION:
TNS for 64-bit Windows: Version 11.2.0.1.0 - Production
Oracle Bequeath NT Protocol Adapter for 64-bit Windows: Version 11.2.0.1.0 - Production
Windows NT TCP/IP NT Protocol Adapter for 64-bit Windows: Version 11.2.0.1.0 - Production
Time: 31-8月 -2018 10:39:50
Tracing not turned on.
Tns error struct:
ns main err code: 12535
TNS-12535: TNS: 操作超時
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.66.3)(PORT=56467))
WARNING: inbound connection timed out (ORA-3136)
檢查應(yīng)用服務(wù)器和數(shù)據(jù)庫服務(wù)器之間的防火墻會話連接設(shè)置
檢查網(wǎng)絡(luò)是否正常。
如果以上都是沒有問題的。是不是可以考慮程序?qū)懙挠袉栴}呢?
總結(jié)
以上是生活随笔為你收集整理的oracle查询ora03114,求教:ora-03114错误从哪里排查?的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: linux ps 详解 博客,Linux
- 下一篇: java for新循环_Java 8 新