6 Errors and solutions most frequently encountered by Oracle installations

Source: Internet
Author: User

6 errors and solutions most frequently encountered by Oracle installations

[ take 8.1.6 as an example]:

1 , Ora-12541:tns: No listener

cause: There is no boot listener or the listener is corrupted. If the former, use the command net start Oracleorahome81tnslistener (the name may differ), and if the latter, use the"Net8 Configuration Assistant"of the tool wizard"Listener Configuration"Add a listener (basically do not write any information, all the way OK. You may need to remove all the listeners before adding them! )

2 , Ora-12500:tns: The listener cannot start the private server process or Ora-12560:tns: Protocol Adapter Error

Cause: Oracle's database service is not started. You can use the command net start oracleserviceoradb (oradb as the database name). If it's still not resolved, keep looking down.

3 , if the database service fails to start, it is most likely that its registry key value is corrupted, and the best practice is to do the following two steps:

1) Oradim-delete-sid oradb Delete database service item 2) Oradim-new-sid oradb New database service entry Note: If there is an error in this process, restart the computer!

4 , Ora-12154:tns: Can parse service name

Cause: The Network Service name for Oracle is not configured correctly. Please use"Net8 Configuration Assistant"of the tool wizard"Local Network Service name configuration"configure TNS. If it's still not resolved, keep looking down.

5 , ora-1034:tns:oracle not available

Cause: The Oracle database service started correctly, but the database is not open!

Use the command:

1) svrmgrl   start Service Manager 2) connect internal log in as internal 3) startup   Open database

6 , Ora-12560:tns: Protocol adapter error (stubborn)

Cause: Unknown.

solve: must kill skill--open " windows Task Manager "

PS :

1 , my ora_startup.bat:

net start Oracleorahome81tnslistener
net start oracleserviceoradb
SVRMGRL generally do not use, but sometimes it is necessary, the concrete steps to see the 5th step.

2 , my ora_shutdown.bat:

net stop Oracleorahome81tnslistener
net stop oracleserviceoradb

3, Oracle related service name, see"Management Tools"of"Service"the name of the service that begins with Oracle.  

6 Errors and solutions most frequently encountered by Oracle installations

Related Article

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.