ORA-12560:TNS: Protocol Adapter Error ORA-12154:TNS: The specified connection identifier could not be resolved

Source: Internet
Author: User

During the national day, when the database stored procedure calls the stored procedure through the Dblink cross-Library, the Ora-12560:tns: Exception Log for the protocol adapter error is logged in the error log.

Occasionally when connecting to a database with PL/SQL, you are frequently prompted:Ora-12154:tns: Unable to resolve the specified connection identifier

Then, Baidu a lot, tried a lot of methods, no answer to indicate is because the number of connections exploded (this is the root cause later found)

How to log the number of connections in the query:

Connect the database to the machine, enter CMD, and then type: Netstat-ann | Find "TCP"/C (Statistics, total connections)

Finally restarted the database of the machine, just fine (restart the Oracleservice service, Tnslistner service, etc. still cannot be released, it should be I did not find the appropriate method, finally forced to take a reboot)

ORA-12560:TNS: Protocol Adapter Error ORA-12154:TNS: The specified connection identifier could not be resolved

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.