Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Linux Links | Bling | About BLU

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Discuss] Shutting down Oracle hosted on Linux



> From: discuss-bounces+blu=nedharvey.com at blu.org [mailto:discuss-
> bounces+blu=nedharvey.com at blu.org] On Behalf Of Jerry Feldman
> 
> I think the best way is /etc/init.d/oracle_service.sh stop
> Don't know why the DBA used the long name. The best way is for me to use
> this script firstand make sure that Oracle is fully stopped then issue
> my script to shutdown all the servers.

But most importantly, this should happen automatically when you run the shutdown command.

I fully expect, unless somebody broke it in your system, there's a symlink
/etc/rc3.d/K10oracle_service --> /etc/init.d/oracle_service.sh

The shutdown script finds anything that starts with "K" and runs that with the "stop" argument.  End result should be exactly as you said:
/etc/init.d/oracle_service.sh stop

The shutdown script first sorts all the K scripts, executes each one in order.  So things numbered lower than 10 (in the example I wrote above) would be stopped before your oracle service, while things higher number stop later.




BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org