error running chkconfig

  • 7010013
  • 16-Jan-2012
  • 12-May-2012

Environment

SUSE Linux
Novell ZENworks 11 Configuration Management Support Pack 1 - ZCM 11 SP1
Novell ZENworks Configuration Management 11.2

Situation

ERROR on SLES while running chkconfig after sun java install:
 
insserv: Script jexec is broken: incomplete LSB comment.
insserv: missing `Required-Stop:'  entry: please add even if empty.
insserv: Script jexec is broken: incomplete LSB comment.
insserv: missing `Required-Stop:'  entry: please add even if empty.
insserv: Script jexec is broken: incomplete LSB comment.
insserv: missing `Required-Stop:'  entry: please add even if empty.
insserv: Script jexec is broken: incomplete LSB comment.
insserv: missing `Required-Stop:'  entry: please add even if empty.
insserv: Script jexec is broken: incomplete LSB comment.
insserv: missing `Required-Stop:'  entry: please add even if empty.
insserv: Script jexec is broken: incomplete LSB comment.
insserv: missing `Required-Stop:'  entry: please add even if empty.
insserv: Script jexec is broken: incomplete LSB comment.
insserv: missing `Required-Stop:'  entry: please add even if empty.
insserv: Script jexec is broken: incomplete LSB comment.
insserv: missing `Required-Stop:'  entry: please add even if empty.
insserv: Script jexec is broken: incomplete LSB comment.
insserv: missing `Required-Stop:'  entry: please add even if empty.
insserv: Script jexec is broken: incomplete LSB comment.
insserv: missing `Required-Stop:'  entry: please add even if empty.
insserv: warning: script 'myserv' missing LSB tags and overrides
insserv: Default-Start undefined, assuming default start runlevel(s) for script
`myserv'
dhcp on


Resolution

The error is in the sun jexec.  Workaround:
 
  1. Make a backup of /etc/init.d/jexec
  2. Add the following line:
    # Required-Stop:
    after this existing line:  # Required-Start: $local_fs

Feedback service temporarily unavailable. For content questions or problems, please contact Support.