Hi SAPBD users,
I had to correct the init script for sapdb74 and sapdbweb on my SLES7
for use with insserv:
/etc/init.d/sapdb74
### BEGIN INIT INFO
# Provides: SAPDB74
# Required-Start: $remote_fs $syslog
# Required-Stop: $remote_fs $syslog
# Default-Start: 3 5
# Default-Stop: 0 1 2 6
# Description: Start SAP DB communication server.
### END INIT INFO
/etc/init.d/sapdbweb
### BEGIN INIT INFO
# Provides: SAPDBWeb
# Required-Start: $remote_fs $syslog $sapdb74
# Required-Stop: $remote_fs $syslog $sapdb74
# Default-Start: 3 5
# Default-Stop: 0 1 2 6
# Description: Start SAP DB web server.
### END INIT INFO
if [ -f /etc/rc.config ]; then
. /etc/rc.config
fi
# Determine the base and follow a runlevel link name.
base=${0##*/}
link=${base#*[SK][0-9][0-9]}
# Force execution if not called by a runlevel directory.
test $link = $base && START_SAPDBWEB=yes
test "$START_SAPDBWEB" = yes || exit 0
You can configure /etc/rc.config now with START_SAPDBWEB="yes|no" to
tell SLES7 to start the Web-Server on boot process.
After changing you have to do the following commands:
insserv sapdb74
insserv sapdbweb
Regards,
Dirk
_______________________________________________
sapdb.general mailing list
[EMAIL PROTECTED]
http://listserv.sap.com/mailman/listinfo/sapdb.general