stop init.d script problem
We have following configuration:
under /etc/rc3.d/S99japp
/etc/rc3.d/K99japp
above symlink to true script under /etc/init.d/japp
when I run test for example
/etc/init.d/japp stop
/etc/init.d/japp start
All is working correctly.
However when I reboot server not all steps complete correctly
in the stop section.
The part which does not execute correctly is the tar command.
stop)
echo "[Action: ${_cmd}] shutdown server `hostname` ...\c"
su - ${_uid} -c 'echo " $(hostname)\n[`date`] solaris server has been shutdown" | mail user.com'
su - ${_uid} -c '/opt/bin/japp stop'