Operating System - Linux
1828658 Members
6079 Online
109983 Solutions
New Discussion

Re: Script initialization during system shutdown

 
SOLVED
Go to solution
khalid rasool_2
Advisor

Script initialization during system shutdown

I am using RHEL 4.0 AS, with HP service guard and
oracle toolkit, I want to shutdown my whole cluster along with oracle package thru "cmcluster.init" script. I ran script seprately it is working fine but when I created symbolic link "K04cmcluster----->../init.d/cmcluster.init" in rc0.d and also in rc6.d it is not working during system shutdown procedure. Seems like it is not sensing this script or symbolic link.
My question why it is not working from rc0.d or rc6.d directory.Is there any other location to put these script or any other link I should create.Or I have to do some other task which I don't know,pls suggest.
2 REPLIES 2
Steven E. Protter
Exalted Contributor
Solution

Re: Script initialization during system shutdown

Shalom,

No you should not need anything other than the symbolic link to /etc/init.d script.

Note the oracle shutdown script delivered with the database is broken. dbshut needs to be changed from shutdown to shutdown immediate or the database will never shut down properly.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
khalid rasool_2
Advisor

Re: Script initialization during system shutdown

Yes the actual problem was shutdown immediate of oracle database.Now rc0.d, script functioning porperly.