Troubleshooting Guide TNS - 12519 TNS - 12516 ORA -12519 ORA - 12516
Troubleshooting Guide TNS - 12519 TNS - 12516 ORA -12519 ORA - 12516 [ID 552765.1]
修改時間:2012-8-22型別:TROUBLESHOOTING狀態:PUBLISHED優先順序:3
In this Document
Applies to:
Oracle Net Services - Version 9.2.0.1.0 to 11.2.0.3 [Release 9.2 to 11.2]Information in this document applies to any platform.
Checked for relevance on 22-Aug-2012
Purpose
Troubleshooting Guide For Error
TNS - 12519 TNS: no appropriate service handler found
TNS - 12516 TNS : listener could not find instance with matching protocol stack
You are facing TNS - 12519 / TNS - 12516 in the client application or Listener log.
Troubleshooting Steps
Background Of The Error:
One of the most common reasons for the TNS-12516 and/or TNS-12519 errors being reported is the configured maximum number of PROCESSES and/or SESSIONS limitation being reached. When this occurs, the service handlers for the TNS listener become "Blocked" and no new connections can be made. Once the TNS Listener receives an update from the PMON process associated with the Database instance telling the TNS Listener the thresholds are below the configured limit, and the database is now accepting connections connectivity resumes.
By way of instance registration, PMON is responsible for updating the listener with information about a particular instance such as load and dispatcher information. Maximum load for dedicated connections is determined by the PROCESSES parameter. The frequency at which PMON provides SERVICE_UPDATE information varies according to the workload of the instance. The maximum interval between these service updates is 10 minutes.
The listener counts the number of connections it has established to the instance but does not immediately get information about connections that have terminated. Only when PMON updates the listener via SERVICE_UPDATE is the listener informed of current load. Since this can take as long as 10 minutes, there can be a difference between the current instance load according to the listener and the actual instance load.
When the listener believes the current number of connections has reached maximum load, it may set the state of the service handler for an instance to "blocked" and begin refusing incoming client connections with either of the following errors: ora-12519 or ora-12516
Known Issues :
1) Do you have a 8i instance registering to 9i listener?
Note 361685.1 8i Database Registered to 9i Listener Fails with ORA-12519
- 9i Listener Blocks 8.1.7 Service Handler After First Connection
2) Do you have listener configured for IIOP / or IPC?
Check whether the listener is configured correctly for External procedures.
Note 209410.1 TNS-12516 / ORA-12516 Starting Listener configured for IIOP
3) Are you facing this problem while connecting with Oracle CMAN(Connection Manager) ?
Make sure the listener is started in the target database server machine.
Refer Note 331701.1 ORA-12516 Using 10g Connection Manager
4) Do you have Active/Passive RAC configuration?
Note 357882.1 Ora-12520/12516 Received When Listener on Node 1 is Down in RAC Setup.
5)Do you see the instance status as 'Blocked' in the output of lsnrctl prompt for command services?
$ lsnrctl services
At the same time, do you see the processes value is hit maximum with the help of v$resource_limit view?
Increase the processes value to allow the listener to spawn more server process as required in your environment.
Diagnostic Information :
If above steps did not help in resolving the issue, please collect the below specified information and submit the same while a creating Service Request(SR).
1. Provide the output of following when the issue occurs.
$ lsnrctl (from database server(s))
lsnrctl>services
sql> connect sys as sysdba
Enter Password:
sql> connected
sql> select * from v$resource_limit;
2. Upload the listener.ora
3. Enable the client and listener tracing , reproduce the issue.
Refer Note 395525.1 How to Enable Oracle Net Client,Server,Listener,Kerberos and External procedure Tracing from Net Manager (netmgr)
Upload the resultant trace files.
4. Upload the alert log and listener log also containing tracing time period
References
- 9I LISTENER BLOCKS 8.1.7 SERVICE HANDLER AFTER FIRST CONNECTIONNOTE:209410.1 - TNS-12516 / ORA-12516 Starting Listener configured for IIOP
NOTE:331701.1 - ORA-12516 Using 10g Connection Manager
NOTE:357882.1 - Ora-12520/12516 Received When Listener on Node 1 is Down in RAC Setup.
NOTE:361685.1 - 8i Database Registered to 9i Listener Fails with ORA-12519
NOTE:395525.1 - How to Enable Oracle SQLNet Client , Server , Listener , Kerberos and External procedure Tracing from Net Manager
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/23135684/viewspace-753307/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- TNS - 12516 TNS : 解決
- ORA-12519 TNS:no appropriate service handler foundAPP
- ORA-12519 TNS no appropriate service handler foundAPP
- ORA-12519, TNS:no appropriate service handler foundAPP
- ORA-12519: TNS:no appropriate service handler foundAPP
- 【Case】ORA-12519: TNS:no appropriate service handler foundAPP
- ORA-12519: TNS:no appropriate service handler found 解決APP
- 診斷ORA-12519 TNS:no appropriate service handler foundAPP
- TNS12519、ORA12519錯誤處理及引數processes的設定
- ORACLE rac資料庫監聽與應用TNS連線串配置與ORA12519Oracle資料庫
- TNS-12520 TNS-12519 連線錯誤處理
- TNS-12520 TNS-12519 連線錯誤處理
- ORA-12516故障解決
- ORA-12516: TNS: 監聽程式找不到符合協議堆疊要求的可用處理程協議
- ORA-12516問題處理
- ORA-12516錯誤處理
- ORA-12516錯誤解決
- ORA-12516: TNS: 監聽程式找不到符合協議堆疊要求的可用處理程'錯誤協議
- ORA-12516錯誤的處理(轉)
- ORACLE TNS Io異常End of TNS data channel&ORA-12518Oracle
- ORA-12170:TNS:連線超時
- ORA-12170: TNS: 連線超時
- ORA-12170 TNS 連線超時
- 執行LoadRunner中指令碼時提示ORA-12519指令碼
- Oracle11g ORA-609 TNS 12537 TNS 12560Oracle
- ORA-12519 客戶端連線間歇性失敗客戶端
- 【ORACLE】ORA-12547: TNS:lost contactOracle
- [Oracle] ORA-12547: TNS:lost contactOracle
- ORA-12545 TNS: Host or Object Does not ExistObject
- 執行LoadRunner中指令碼時提示ORA-12519(後續)指令碼
- 連線資料庫時報錯ORA-12520和ORA-12516錯誤資料庫
- ORA-12537 TNS:連線關閉
- ORA-12541: TNS:no listener (DBD ERROR: OCIServerAttach) (轉)ErrorServer
- Ora-12560 TNS介面卡失敗
- ORA-12154: TNS:could not resolve service name / TNS-03505: Failed to resolve nameAI
- 【ORA-】ORA-12547: TNS:lost contact錯誤的跟蹤分析
- 【轉載-ORACLE】ORA-12547: TNS:lost contactOracle
- ORA-12500: TNS:listener failed to start a dedicated server processAIServer