Date: Sat, 06 Apr 2002 14:40:16 -0500 From: Gerard Samuel <gsam@trini0.org> To: FreeBSD Questions <questions@FreeBSD.ORG> Subject: Not qmail, but samba.... Message-ID: <3CAF4F20.1080704@trini0.org>
next in thread | raw e-mail | index | archive | help
Hey all. I mailed the list about qmail not starting at boot up yesterday. But Ive come to realise that it wasn't qmail, but samba thats not starting all of a sudden. I had no problems with it until yesterday when the powersupply fan started choking and the system died. Everything seems to be working normally, except samba which doesn't start on boot up. I could go into SWAT and start nmbd and smbd and its ok from there. There aren't any error messages in /var/log/messages, /var/log/log.smbd, /var/log/log.nmbd. And I rebooted the box a couple of minutes ago, and I dont see a corresponding pid file in /var/run. Thanks Here is /usr/local/etc/rc.d/samba.sh -> -r-xr-xr-x 1 root wheel 392 Mar 2 18:47 samba.sh #!/bin/sh smbspool=/var/spool/samba pidfiledir=/var/run smbd=/usr/local/sbin/smbd nmbd=/usr/local/sbin/nmbd # start if [ "x$1" = "x" -o "x$1" = "xstart" ]; then if [ -f $smbd ]; then if [ -d $smbspool ]; then rm -f $smbspool/* fi echo -n ' Samba' $smbd -D $nmbd -D fi # stop elif [ "x$1" = "xstop" ]; then kill `cat $pidfiledir/smbd.pid` kill `cat $pidfiledir/nmbd.pid` fi To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3CAF4F20.1080704>