>>> On Wed, Nov 7, 2007 at 12:49 PM, in message <[EMAIL PROTECTED]>, Kim Goldenberg <[EMAIL PROTECTED]> wrote: > Mark - > Here are the four files. I would like apachectl to be first, then > DepMgr, NodeAgent and then AppServer. My default runlevel is 3.
Kim, The only thing that _really_ needed changing was the addition of ### BEGIN INIT INFO and ### END INIT INFO before and after the various information blocks in the scripts. I noticed some other things that could use a little cleanup, so I've included the complete diffs below. I would recommend that anyone running any products that don't have the proper BEGIN/END blocks open a problem report with the respective vendor. There's no reason why they shouldn't have this working. It's not like it's hard to test. Mark Post diff -ur /root/kim/AppServer /etc/rc.d/AppServer --- /etc/rc.d/AppServer 2007-11-07 12:57:31.000000000 -0500 +++ /etc/rc.d/AppServer 2007-11-07 13:28:05.923643657 -0500 @@ -14,13 +14,15 @@ # wasservice command. # The next lines are for chkconfig on SuSE systems. +### BEGIN INIT INFO # Provides: AppServer # Required-Start: $network $syslog apachectl DepMgr NodeAgent -# Required-Stop: +# Required-Stop: $network $syslog apachectl DepMgr NodeAgent # Default-Start: 3 5 -# Default-Stop: 0 6 +# Default-Stop: 0 1 2 6 # Short-Description: Starts and stops WebSphere Application Server instances # Description: Starts and stops WebSphere Application Server instances +### END INIT INFO # *** THE FOLLOWING BLOCK IS PROGRAMMATICALLY MAINTAINED. *** diff -ur /root/kim/DepMgr /etc/rc.d/DepMgr --- /etc/rc.d/DepMgr 2007-11-07 12:57:32.000000000 -0500 +++ /etc/rc.d/DepMgr 2007-11-07 13:28:19.243639974 -0500 @@ -14,13 +14,15 @@ # wasservice command. # The next lines are for chkconfig on SuSE systems. +### BEGIN INIT INFO # Provides: DepMgr # Required-Start: $network $syslog apachectl -# Required-Stop: +# Required-Stop: $network $syslog apachectl # Default-Start: 3 5 -# Default-Stop: 0 6 +# Default-Stop: 0 1 2 6 # Short-Description: Starts and stops WebSphere Application Server instances # Description: Starts and stops WebSphere Application Server instances +### END INIT INFO # *** THE FOLLOWING BLOCK IS PROGRAMMATICALLY MAINTAINED. *** diff -ur /root/kim/NodeAgent /etc/rc.d/NodeAgent --- /etc/rc.d/NodeAgent 2007-11-07 12:57:33.000000000 -0500 +++ /etc/rc.d/NodeAgent 2007-11-07 13:28:34.273635806 -0500 @@ -14,13 +14,15 @@ # wasservice command. # The next lines are for chkconfig on SuSE systems. +### BEGIN INIT INFO # Provides: NodeAgent # Required-Start: $network $syslog apachectl DepMgr -# Required-Stop: +# Required-Stop: $network $syslog apachectl DepMgr # Default-Start: 3 5 -# Default-Stop: 0 6 +# Default-Stop: 0 1 2 6 # Short-Description: Starts and stops WebSphere Application Server instances # Description: Starts and stops WebSphere Application Server instances +### END INIT INFO # *** THE FOLLOWING BLOCK IS PROGRAMMATICALLY MAINTAINED. *** diff -ur /root/kim/apachectl /etc/rc.d/apachectl --- /etc/rc.d/apachectl 2007-11-07 12:57:29.000000000 -0500 +++ /etc/rc.d/apachectl 2007-11-07 13:29:34.963618833 -0500 @@ -20,13 +20,15 @@ # 8 - configuration syntax error # The next lines are for chkconfig on SuSE systems. +### BEGIN INIT INFO # Provides: apachectl -# Required-Start: network syslog -# Required-Stop: +# Required-Start: $local_fs $remote_fs $network $syslog +# Required-Stop: $local_fs $remote_fs $network $syslog # Default-Start: 3 5 -# Default-Stop: 0 6 +# Default-Stop: 0 1 2 6 # Short-Description: Starts and stops WebSphere IHS instances # Description: Starts and stops WebSphere IHS instances +### END INIT INFO # # When multiple arguments are given, only the error from the _last_ ---------------------------------------------------------------------- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390