"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
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
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
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