Hi,

I´m using sapdb-srv-7.3.0.15-1 on Redhat 7.1.

I set up the links in my current runnlevel:
[root@cysrv07 rc3.d]# file *sapdb*
K45sapdb:    symbolic link to ../init.d/sapdb
K46sapdbweb: symbolic link to ../init.d/sapdbweb
S45sapdb:    symbolic link to ../init.d/sapdb
S46sapdbweb: symbolic link to ../init.d/sapdbweb

But the sapdb server isn´t started at boot time. I found the reason in
/etc/rc.d/init.d/sapdb:

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_SAPDB=yes
test "$START_SAPDB" = yes || exit 0


So sapdb is only started, when
/etc/rc.d/init.d/sapdb is called directly
or
/etc/rc.d/rc?.d/S??sapdb is called and START_SAPDB=yes

On any Distributions other than SuSE, sapdb isn´t started, although the
symbolic links in
the runlevel directory are set up correct. I think this is not a behaviour,
the User expects, so i removed
this part from the script.

Juergen

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

Cyperfection - agentur für neue medien gmbh

Jürgen Hötzel
<mailto:[EMAIL PROTECTED]>

Karl-Kraemer-Str. 4 - 67061 Ludwigshafen
fon: 0621/587104-0 - fax: 0621/587104-90
http://www.cyperfection.de/

Anfahrt - http://www.cyperfection.de/Anfahrt/

<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<


Reply via email to