Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: auto start database on linux.
Sorry, a typo here. Actually it was /etc/rc.d/rc5/S98oracle. I don't
have the start script in rc6.d. Only the kill script. From my
observation, the kill script never got executed. I tried change it to
the first one the run (K02oracle). Still nothing happened. The similar
script runs perfectly in sun box.
Tim Cross <tcross_at_pobox.une.edu.au> wrote in message news:<87znymv7tp.fsf_at_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 - 21:39:50 CDT
![]() |
![]() |