Oracle Solaris System Administration (MOSC)

MOSC Banner

stop init.d script problem

edited Nov 17, 2014 6:26PM in Oracle Solaris System Administration (MOSC) 5 commentsAnswered ✓


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'

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center