TNS: protocol adapter Error

Source: Internet
Author: User

TNS: protocol adapter Error Problem encountered today ORA-12560: TNS: protocol adapter Error Problem, after some effort the problem has been resolved, share with everyone. There are three reasons for the problem that caused the ORA-12560: TNS: protocol adapter error: 1. the listening service is not up. On the windows platform, perform the following operations: start --- program --- management tools --- Service, open the service panel, and start the oraclehome92TNSlistener service.
2. The database instance is not started. On the windows platform, perform the following operations: start --- program --- management tools --- Service, open the service www.2cto.com panel, and start oracleserviceXXXX. XXXX is your database SID.
3. Registry issues. Regedit, and enter HKEY_LOCAL_MACHINE \ SOFTWARE \ ORACLE \ HOME0 to set the environment variable ORACLE_SI D to XXXX. XXXX is your database SID. or on the right, my computer, property -- Advanced -- environment variable -- System variable -- New, variable name = oracle_sid, variable value = XXXX, XXXX is your database SID. or, before entering sqlplus, enter set oracle_sid = XXXX under command line, and XXXX is your database SID.
After the above steps, you can solve the problem. Author tianyihuyidao9

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.