hi
i need to run some script which will stop database and application (single node) when we issue init 0 or init 6.
can anyone help me to do so??
I am explaining here something more:
we have made a script that will stop and application and Database.Now some times lazy system administrator do not bother about all this stuff.they just simplly issue init 0 or shutdown or restart that cost sometimes to the 9i DB specially. so I want to initiate this stop scripts which will be invoked iff init 0 or shutdown or reboot is performed by dummy users.
somebody told me to do on RHEL box eg.
#cd /etc/rc.d/rc0.d/
#touch k01san
#ln -s /root/appsdown.sh k01san
But its not working.
OS: RHEL 4.1 or RHEL 5.5 / OEL 5.5 or HP-UX 11.23 and SOLARIS 10u9
EBS 11i / R12RUP4/ R12 RUP6 / R12.1.1 64 bit
kind regards
[I need to visit different sites so i need it for different os too.]