From owner-freebsd-questions Sat Apr 6 11:41: 1 2002 Delivered-To: freebsd-questions@freebsd.org Received: from hivemind.trini0.org (bgp626680bgs.brick201.nj.comcast.net [68.39.132.244]) by hub.freebsd.org (Postfix) with SMTP id EFFE837B41B for ; Sat, 6 Apr 2002 11:40:17 -0800 (PST) Received: (qmail 305 invoked by uid 0); 6 Apr 2002 19:40:16 -0000 Received: from unknown (HELO trini0.org) (192.168.0.3) by hivemind.trini0.org with SMTP; 6 Apr 2002 19:40:16 -0000 Message-ID: <3CAF4F20.1080704@trini0.org> Date: Sat, 06 Apr 2002 14:40:16 -0500 From: Gerard Samuel User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:0.9.9) Gecko/20020315 X-Accept-Language: en-us, en MIME-Version: 1.0 To: FreeBSD Questions Subject: Not qmail, but samba.... Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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