Re: Problem getting shutdown script to execute

2000-11-01 Thread Bret Hughes
"Carson, Chuck" wrote: > I have the following startup/shutdown script: > > /etc/init.d/init_oracle > > /*START SCRIPT*/ > LOG=/var/oracle/init_oracle.log > DATE=`/bin/date` > SU=/bin/su > RETVAL=0 > > case "$1" in > start) > echo -n "Starting Oracle Services..." > echo "${DATE}:st

RE: Problem getting shutdown script to execute

2000-11-01 Thread Hugh E Cruickshank
Hi Chuck: When creating the link into rc0.d and rc6.d did you use a name starting with "K"? If my understanding is correct the "S" scripts get executed while starting up and the "K" scripts get executed when shutting down. Think S for start and K for kill. This is my UNIX experience talking, I

Re: Problem getting shutdown script to execute

2000-11-01 Thread Marco Shaw
What have you called the script in rc0, rc1, and rc6? It must be called "K_something", as in: "K81kill_oracle", with this symlinked back to /etc/rc.d/init.d/init_oracle or wherever it is. Marco > This script works fine when starting up, that is, it gets started during the > change into runlevel