oracle service cannot be found

      I use oracle 11g and the system is win 10. 

      When I woke up, Oracle suddenly failed to start. It reported ORA-12560: TNS: Protocol Adapter Error, and then ora-12514 tns listener program was not recognized and there were various other errors. At that time, I had been focusing on OracleOraDb11g_home2TNSListener. , both my listener.ora and tnsnames.ora files are using localhost, and there is no configuration abnormality. I searched all kinds of things online, but the Oracle service I ignored was not available in the service.

       How to add this service:

      1. The administrator runs cmd and uses oradim ( find the command bar, right-click and run as administrator ). You will then be prompted to refer to the reading manual.

      2. Then create an instance oradim -NEW -SID sid.

           

       3. Then I found that sqlplus can be connected.

          

       4. Start the instance

           

      Then you will find that your oracle database can be connected normally.

Guess you like

Origin blog.csdn.net/bfy0914/article/details/82383875
Recommended