Q

Restarting 9i database automatically after OS reboot

What script should we run so our Oracle 9i database starts up automatically when we reboot the OS?

Hi, Happy New Year. This is the first time I am asking a question to you. After applying a restart of the OS (Solaris 5.10), the Oracle 9i database has to be restarted automatically when the OS is rebooted. What script should run or where does it have to be saved so as not to do a manual startup of the DB? Thanks.
In Solaris, you should have a /var/opt/oracle/oratab file. That file should have an entry for each instance on your server that looks like the following:
orcl:/home/oracle/10.2.0:N
The "N" at the end tells the dbstart script to not start this instance. Change the "N" to a "Y." Next, have your SysAdmin run the $ORACLE_HOME/bin/dbstart script on server reboot. The SysAdmin should also run the $ORACLE_HEOM/bin/dbshut script on server shutdown.
This was first published in January 2007

Dig deeper on Oracle database backup and recovery

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