Re: How to get oracle server to start automatically on reboot

From: Ian Dixon <idixon_at_uidixon.infocom.co.uk>
Date: 30 Sep 93 21:53:45 GMT
Message-ID: <p24qsADCBh107h_at_uidixon.uucp>


In <28cek5$9i5_at_pandora.sdsu.edu> oliver_at_io.nosc.mil (George Oliver) writes:
>Karel Sprenger (KS_at_ic.uva.nl) wrote:
>: Hello all,
 

>: Is there a way to make the oracle server start up automatically when the
>: (SunOS) operating system is restarted? I vaguely recall this question has been
>: asked and answered here earlier, but didn't archive the answer at the time.
>: Or was it simply RTFM?
 

>: Any help is much appreciated.

>Try adding the startup procedures to your rc.local. That way whenever you
>reboot, it startup oracle. I use this to startup a version 6.0.33 server:
 

>#
>ORACLE_HOME=/usr2/oracle
>ORACLE_SID=aries
>
>export ORACLE_HOME ORACLE_SID
>
>if [ -f /usr2/oracle/bin/sqldba ]; then
>
> echo -n 'starting oracle server:'
> /usr2/oracle/bin/sqldba shutdown abort
> /usr2/oracle/bin/sqldba startup
>
>fi
>
>For some reason, if my server crashes I have to run a shutdown abort to clear
>the server (ior c?).
 

>I am told that you can set a flag in your /etc/oratab file. But I haven't
>had any success with it.
 

>Good luck,
 

>Geo.

>George Oliver
>NRaD, Code 4221
>oliver_at_nosc.mil
 

-- 
--
Ian Dixon                       Email : idixon_at_infocom.co.uk
Reading, England
Received on Thu Sep 30 1993 - 22:53:45 CET

Original text of this message