Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: help:shutdown database automatically
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
![]() |
![]() |