Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

start oracle server automaticly when system boot

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
if possible help me to set procedure which make easy to start ORACLE database automaticly when system boots
thanks
 
Hi,

you need to put a script in /etc/rc2.d which will be picked up on reboot to start your Oracle processes. Ours, for example is called S99dbora. This file needs to point to and execute your startup scripts. A similar arrangement should be made to kill the processes when shutting down - on our system this is K04dbora.

Hope this helps.
 
Also you have to make one file called oracle on /etc/rc.config.d so your S99oracle can read it.

1. put line ORACLE=1 on /etc/rc.config.d/oracle file
2. cd /sbin/init.d
3. cp templet oracle
3. vi oracle
under start and stop change appropriatly.
if [ -f /etc/rc.config.d/oracle ] ; then
and change this line to
if [ "$ORACLE" -eq 1 -a -x /command to start oracle ];
also change any messages you want

4. cd /sbin/rc3.d
5 ln -s /sbin/init.d/oracle S99oracle

Sachin
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top