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: help:shutdown database automatically

Re: help:shutdown database automatically

From: Carlos <miotromailcarlos_at_netscape.net>
Date: Wed, 19 Sep 2007 09:57:50 -0700
Message-ID: <1190221070.272014.109590@50g2000hsm.googlegroups.com>


On 19 sep, 18:10, emdproduct..._at_hotmail.com wrote:
> We are using oracle 9208 on linux AS 3.
>
> Our sysadmin always shutdown our server without shutting down the
> database. I wrote a database shutdown script.
>
> How can I make my script automatically run before the system shuts
> down? Or does Oracle has a builtin function which will shutdown the
> database when somebody types in
> init 6?
>
> Thanks for your help

It exists already: It's called dbshut.

Also, there is a script dbora (by root) in the /etc/init.d directory.

You should also edit the /etc/oratab file.

HTH Cheers.

Carlos. Received on Wed Sep 19 2007 - 11:57:50 CDT

Original text of this message

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