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

Home -> Community -> Usenet -> c.d.o.server -> Re: Automatic db shtudown on Linux

Re: Automatic db shtudown on Linux

From: Mark <mark_at_nospam.com>
Date: Fri, 18 Oct 2002 13:20:09 GMT
Message-ID: <3DB00A57.7020903@nospam.com>


Sagi wrote:
> "Mark" <mark_at_somewhere.com> wrote in message news:<3daf37b1_4_at_corp.newsgroups.com>...
>

>>Hi,
>>
>>I am having a problem getting Oracle to shutdown automatically on my RedHat
>>8.0 installation.  I have dbora in /etc/init.d.  This script calls dbstart
>>and dbshut depending on start or stop usage.  If I manually run dbora stop,
>>the database shuts down.  So, I know that the script works.  I created a
>>link in /etc/rc0.d,  K10dbora, which points to /etc/init.d/dbora.  My
>>understanding is that this should cause the db to shutdown when the computer
>>is shut down.  Unfortunately it doesn't work.  BTW - the db starts
>>automatically(as it should)on boot up.  Now, K10 is not unique.  Does it
>>need to be?  I didn't think that it had to be, but I could be wrong.  Any
>>insight on this would be much appreciated.  Thanks.
>>
>>Mark
>>
>>

>
>
>>-----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
>>http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
>>-----==  Over 80,000 Newsgroups - 16 Different Servers! =-----

>
>
>
> Hi,
>
> I couldn't get exatcly what you ment by saying
>
> "Now, K10 is not unique. Does it need to be? I didn't think that it
> had to be, but I could be wrong"
>
> If my understanding is correct you mean to say you have two K10XXX
> links in /etc/rc0.d or
>
> two K10xxx files in /etc/init.d
>
> If this is correct then i think this is the problem. change the
> link/file name.
>
> Regards,
> Sagi

Sorry Sagi. What I meant was that there happen to be other links in rc0.d that start with K10: K10wine, K10xfs AND K10dbora. They all point to different scripts in /etc/init.d.

# ls -al K10*
lrwxrwxrwx 1 root root 22 Oct 16 19:25 K10dbora -> /etc/init.d/dbora
lrwxrwxrwx 1 root root 14 Oct 17 22:09 K10wine -> ../init.d/wine
lrwxrwxrwx 1 root root 13 Oct 14 23:57 K10xfs -> ../init.d/xfs

I tried changing the link to K01dbora, which made it unique, but that didn't work.

Mark Received on Fri Oct 18 2002 - 08:20:09 CDT

Original text of this message

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