Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: auto start database on linux.

Re: auto start database on linux.

From: Tim Cross <tcross_at_pobox.une.edu.au>
Date: 27 May 2002 08:54:26 +1000
Message-ID: <87znymv7tp.fsf@blind-bat.une.edu.au>


shrekreturn_at_yahoo.com (Matt) writes:

> I tried to auto startup shutdown an oracle database(8.1.7.4) in
> redhat7.3. I put the script in /etc/rc.d/init.d and linked it as both
> /etc/rc.d/rc3.d/S98oracle and /etc/rc.d/rc6.d/S98oracle. They works
> fine. The database can auto startup now. However, the link to
> /etc/rc.d/rc0.d/K15oracle and /etc/rc.d/rc6.d/K15oracle were never
> executed. the OS shutdown without shutdown the database first. I'm
> sure the script and the link works. I can do 'K15oracle stop' in
> command line. Any idea why this happens?

If runlevel 6 is the shutdown runlevel, you probably don't want the S99oracle link there - normally the K scripts are run first followed by the S scripts - with what you have listed above, your database would first get stopped and then started wouldn't it?

Tim Received on Sun May 26 2002 - 17:54:26 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US