Oracle listening service does not automatically start after the server is restarted

Source: Internet
Author: User

This problem has recently been plagued by the fact that the Oracle listening service is not automatically started after the server is powered off and restarted (the listening service has been set to self-started ).

Specifically, the listening service is set to boot automatically, and the Oracle database service is set to boot delayed. In principle, this should meet the condition that "Start listening first and then start database service, however, after each power failure and restart, the database service is started normally and the listening service fails to start.

After reading these two statements, I think it makes sense:

1. Generally, You need to manually set the auto-start service, which is caused by inconsistent registry;

2. The Logon account is different from the account used to install Oracle. You do not have the permission to start it.

For the above two statements, we decided to use windows to schedule tasks (all tasks are created and executed as administrators ):

Reference: Windows Server 2008 add an automatic Task Scheduler

1. Create a windows scheduled task and set it to be executed five minutes after the startup (Oracle TNS Listener );

2. Create another scheduled windows Task and set it to be executed six minutes after the startup (Oracle Service ).

 

Test Problem Solving

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.