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
day, November 01, 2000 08:44 > To: '[EMAIL PROTECTED]' > Subject: Problem getting shutdown script to execute > > > > I have the following startup/shutdown script: > > /etc/init.d/init_oracle > > /*START SCRIPT*/ > LOG=/var/oracle/init_oracle.log &g

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

Problem getting shutdown script to execute

2000-11-01 Thread Carson, Chuck
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}:startup" >> ${LOG} ${SU} - oracle -c "/etc