On restart of the OS (Solaris 5.10), I need the Oracle 9i database to be restarted automatically when the OS is...
By submitting your email address, you agree to receive emails regarding relevant topic offers from TechTarget and its partners. You can withdraw your consent at any time. Contact TechTarget at 275 Grove Street, Newton, MA.
rebooted. What script should run or where does it have to be saved so as not to do a manual startup of the DB? You have advised:
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:How can this task of running dbstart and dbshut by SysAdmin be done automatically?
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.
Dig Deeper on Oracle database backup and recovery
Related Q&A from Brian Peasland
Oracle expert Brian Peasland answers one reader's question about common pitfalls when connecting Oracle to outside programs.continue reading
One reader asks expert Brian Peasland a question about datafile sizes with the Oracle RMAN duplicate 10g command.continue reading
Managing parent table-child table relations in Oracle SQL environments is key to efficient programming.continue reading
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.