ORA-12516:TNS:listener could not find available handler with matching protocol stack
應(yīng)用程序連接測(cè)試數(shù)據(jù)庫(kù)時(shí)報(bào)ORA-12516:TNS:listener could not find available handler with matching protocol stack
檢查監(jiān)聽日志文件,發(fā)現(xiàn)大量的TNS-12516錯(cuò)誤
cd /u01/app/oracle/product/10.2.0/db_1/network/log
more listener.log
TNS-12516: TNS:listener could not find available handler with matching protocol stack 13-MAY-2014 14:49:35 * (CONNECT_DATA=(SERVICE_NAME=xxx)(CID=(PROGRAM=c:\windows\system32\inetsrv\w3wp.exe)(HOST=GET08C0058)(USER=SYSTEM))) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.xxx.xxx)(PORT=4594)) * establish * xxx * 12516
登錄數(shù)據(jù)庫(kù),檢查參數(shù)session時(shí),出現(xiàn)ORA-01012:not logged on
治標(biāo)治本的解決辦法是修改processes參數(shù)值,但是此時(shí)數(shù)據(jù)庫(kù)連接不上。可以通過下面方法解決:
1: 停止監(jiān)聽服務(wù),等數(shù)據(jù)庫(kù)訪問連接數(shù)下降用戶再登錄。?
??????? lsnrctl stop
2: sqlplus "/ as sysdba" 登陸后,修改processes值。
由于是測(cè)試數(shù)據(jù)庫(kù),可以折騰一下,如果不想修改processes的值,可以通過下面臨時(shí)解決方法解決問題
1:重啟監(jiān)聽服務(wù)
lsnrctl reload
2:? sqlplus "/ as sysdba" 登陸后
?????? shutdonwn abort
?????? ? startup
3: ps -ef|grep ora_dbw0_$Oracle_SID
?? kill -9 pid ;
?? startup --重啟數(shù)據(jù)庫(kù)
參考資料:
http://blog.csdn.net/kellyseeme/article/details/8935208
???????? http://blog.csdn.net/dingli312/article/details/11394753
?? http://blog.csdn.net/newhappy2008/article/details/6557662
轉(zhuǎn)載于:https://www.cnblogs.com/kerrycode/p/3725813.html
總結(jié)
以上是生活随笔為你收集整理的ORA-12516:TNS:listener could not find available handler with matching protocol stack的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: Contiki系统介绍
- 下一篇: User profile synchro