Q

Opening database at startup

I want to open the Oracle database instance at startup -- I have Oracle8i on a Windows 2000 server. The Oracle database service is already at the startup and it is starting automatically, but the database I have to open manually from the db-studio instance. Why is it not starting the database when the Oracle service is starting automatically?

I want to open the Oracle database instance at startup -- I have Oracle8i on a Windows 2000 server. The Oracle database service is already at the startup and it is starting automatically, but the database I have to open manually from the db-studio instance. Why is it not starting the database when the Oracle service is starting automatically?

The most common cause of this problem is when the STARTMODE of the service is set to manual. When the service for the database is created with the oradim utility, you have the option to specify a STARTMODE as either AUTO or MANUAL. It's possible that the service was created with the STARTMODE as MANUAL, in which case your database would not start up automatically when the server reboots or starts up. To change this, you can re-create...

the service with the oradim utility (after shutting down your database). You can use the command:

oradim –edit –sid 
  
    –startmode auto

  

It is also possible that the service is starting up but not the database. In this case, it is possible that the STARTTYPE was set to SRVC rather than INST. This would start the Windows service but not the database itself. This, too, can be modified with the oradim utility. To see a list of options that can be used with oradim, use the command:

oradim –help
This was first published in May 2006

Dig deeper on Oracle database design and architecture

Pro+

Features

Enjoy the benefits of Pro+ membership, learn more and join.

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

0 comments

Oldest 

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

-ADS BY GOOGLE

SearchDataManagement

SearchBusinessAnalytics

SearchSAP

SearchSQLServer

TheServerSide

SearchDataCenter

SearchContentManagement

SearchFinancialApplications

Close