Hello Nash,
You'd better have a look at the startup-script /etc/init.d/smb. I haven't
installed it 2.0.9, but if there is something wrong it will be here. If you
want I can have a look at it.
I installed the 2 security upgrades (Samba and Smbclnt) from
the Suse 'Updates and Patches' webpage (Suse 7.1).
Since then, samba does no longer start automatically,
that is :
- I get the boot-message
' Starting smb done'
- But it is NOT running (checking with either
ps ax|grep smb or /etc/rc.d/smb status)
Thanks, well I certainly could use some advice.
Too see more clear, I added some echo's in this file
(================= PASTE /etc/rc.d/smb =====================)
#! /bin/sh
# Copyright (c) 2001 SuSE Gmbh Nuremberg, Germany. All rights
#
# Author: Frank Lemser
#
. /etc/rc.config
# Determine the base and follow a runlevel link name.
base=${0##*/}
link=${base#*[SK][0-9][0-9]}
echo " xxxxx 01 Begin"
# Force execution if not called by a runlevel directory.
test $link = $base && START_SMB=yes
test "$START_SMB" = "yes" || exit 0
echo " xxxxx 02 "
# The echo return value for success (defined in
return=$rc_done
case "$1" in
start)
echo " xxxxx 03 "
echo -n "Starting SMB services:"
startproc /usr/sbin/nmbd -D || return=$rc_failed
startproc /usr/sbin/smbd -D || return=$rc_failed
echo -e "$return"
;;
stop)
echo " xxxxx 04 "
echo -n "Shutting down SMB services:"
killproc -TERM /usr/sbin/nmbd || return=$rc_failed
killproc -TERM /usr/sbin/smbd || return=$rc_failed
echo -e "$return"
;;
restart|reload)
echo " xxxxx 05 "
$0 stop && $0 start || return=$rc_failed
;;
status)
echo " xxxxx 06 "
echo -n "Checking for service smb: "
checkproc /usr/sbin/nmbd && echo -n "OK " || echo -n
"No process "
checkproc /usr/sbin/smbd && echo "OK " || echo "No
process"
;;
*)
echo "Usage: $0 {start|stop|restart|reload|status}"
exit 1
esac
echo " xxxxx 07 "
echo "--------------------------------"
ps ax|grep smb
echo "--------------------------------"
echo " xxxxx 08 Gedaan "
# Inform the caller not only verbosely and set an exit status.
test "$return" = "$rc_done" || exit 1
exit 0
(================= END PASTE /etc/rc.d/smb =====================)
Reboot to see the exact boot messages gave me :
xxxxx 01 Begin
xxxxx 02
xxxxx 03
Starting SMB services: done
xxxxx 07
--------------------------------
223 ? S 0:00 /bin/sh /etc/init.d/rc3.d/S01smb start
231 ? R 0:00 /usr/sbin/smbd -D
233 ? R 0:00 /bin/sh /etc/init.d/rc3.d/S01smb start
--------------------------------
xxxxx 08
But when I connect as root, I see smb is NOT running
~ # cd /erc/rc.d
/etc/rc.d # ./smb status
xxxxx 01 Begin
xxxxx 02
xxxxx 06
Checking for service smb: No process No process
xxxxx 07
--------------------------------
1918 pts/2 S 0:00 /bin/sh ./smb status
1928 pts/2 S 0:00 grep smb
--------------------------------
xxxxx 08 Gedaan
/etc/rc.d #
Then : ./smb start
Follewed by ./smb status
Gives :
Checking for service smb: OK OK
I retried the whole thing, after disabling the SuSEfirewall
(START_FW="no" in /etc/rc.config), but it made no difference.
Greetings,
Marcel