From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa4f9,f223558cd07716c8 X-Google-Attributes: gidfa4f9,public X-Google-Thread: fee84,f223558cd07716c8 X-Google-Attributes: gidfee84,public From: Alan Garde Subject: Re: /sbin/rc0.d/K00enoracle not run with shutdown -r now Date: 1999/07/20 Message-ID: <3794D51C.4DF69E8E@thimble.demon.co.uk>#1/1 X-Deja-AN: 503250037 Content-Transfer-Encoding: 7bit X-NNTP-Posting-Host: thimble.demon.co.uk:158.152.21.134 References: X-Accept-Language: en Content-Type: text/plain; charset=us-ascii X-Complaints-To: abuse@demon.net X-Trace: news.demon.co.uk 932500598 nnrp-03:15288 NO-IDENT thimble.demon.co.uk:158.152.21.134 MIME-Version: 1.0 Newsgroups: comp.unix.osf.osf1,comp.databases.oracle.server Read the man page for shutdown. Shutdown -r now does a broadcast kill, it does NOT run the /sbin/rc0.d scripts. If you want them to run, do a shutdown now to get to single user mode and then a shutdown -r now from single-user mode. Alan Huy Vu wrote: > Hi all, > > Where should I put the script to shutdown Oracle databases under Dec Unix > 4.0D? > > I put it in /sbin/rc0.d/K00enoracle but it doesn't execute in reboot the > server with the command 'shutdown -r now'. > > I have to run manually the command /sbin/rc0.d/K00enoracle to shutdown the > databases before shutdown the server. > > Thank in advance for any helps. > > H.V