From owner-freebsd-questions@FreeBSD.ORG Wed Mar 22 13:01:05 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B706516A401 for ; Wed, 22 Mar 2006 13:01:05 +0000 (UTC) (envelope-from ken@allenmyland.com) Received: from sccrmhc11.comcast.net (sccrmhc11.comcast.net [204.127.200.81]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1CA3743D48 for ; Wed, 22 Mar 2006 13:01:04 +0000 (GMT) (envelope-from ken@allenmyland.com) Received: from bserver.transpack.com ([68.80.195.248]) by comcast.net (sccrmhc11) with ESMTP id <20060322130103011002tihle>; Wed, 22 Mar 2006 13:01:04 +0000 Received: from localhost (localhost.transpack.com [127.0.0.1]) by bserver.transpack.com (Postfix) with ESMTP id 1F19FB84A; Wed, 22 Mar 2006 08:01:03 -0500 (EST) Received: from bserver.transpack.com ([127.0.0.1]) by localhost (bserver.transpack.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 49481-07; Wed, 22 Mar 2006 08:00:58 -0500 (EST) Received: from [192.168.214.102] (kbuilt.transpack.com [192.168.214.102]) by bserver.transpack.com (Postfix) with ESMTP id 256E7B843; Wed, 22 Mar 2006 08:00:58 -0500 (EST) Message-ID: <44214A7A.50303@allenmyland.com> Date: Wed, 22 Mar 2006 08:00:42 -0500 From: Ken Stevenson User-Agent: Thunderbird 1.5 (Windows/20051201) MIME-Version: 1.0 To: spen References: <20060322111946.45805.qmail@web31110.mail.mud.yahoo.com> In-Reply-To: <20060322111946.45805.qmail@web31110.mail.mud.yahoo.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: amavisd-new at transpack.com Cc: freebsd-questions@freebsd.org Subject: Re: smb startup X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Mar 2006 13:01:05 -0000 spen wrote: > Thank you for you answer but unfortunately this didn't work either... > if I ps -auwx |grep mbd I get nothing running > > If I manually start the script : > > avid# /usr/local/etc/rc.d/samba.sh start > Starting SAMBA: removing stale tdbs : > Starting nmbd. > Starting smbd. > avid# > avid# > avid# ps -auwx | grep mbd > root 558 0.0 1.1 4828 2712 ?? Ss 1:25PM 0:00.01 /usr/local/sbin/nmbd -D -s /usr/local/etc/smb.conf > root 562 0.0 1.8 7492 4500 ?? Ss 1:25PM 0:00.01 /usr/local/sbin/smbd -D -s /usr/local/etc/smb.conf > root 564 0.0 1.8 7492 4488 ?? S 1:25PM 0:00.00 /usr/local/sbin/smbd -D -s /usr/local/etc/smb.conf > > ##my rc.conf## > avid# cat /etc/rc.conf > > # -- sysinstall generated deltas -- # Thu Mar 16 18:21:31 2006 > # Created: Thu Mar 16 18:21:31 2006 > # Enable network daemons for user convenience. > # Please make all changes to this file, not to /etc/defaults/rc.conf. > # This file now contains just the overrides from /etc/defaults/rc.conf. > defaultrouter="10.10.10.1" > hostname="avid.e-global.gr" > ifconfig_xl0="inet 10.10.10.10 netmask 255.255.255.240" > sshd_enable="YES" > usbd_enable="YES" > > > ###samba start### > smbd_enable="YES" > nmbd_enable="YES" > > > > Riemer Palstra wrote: On Wed, Mar 22, 2006 at 02:10:00AM -0800, spen wrote: >> ###samba start### >> samba_enable="YES" >> >> should I be adding something else to my rc.conf? > > Try these instead: > > smbd_enable="YES" > nmbd_enable="YES" > The only thing you need in rc.conf is samba_enable="YES". If you do a dmesg -a, do you see any Samba related startup errors? If not, how about the log files in /var/log/samba? It sounds like Samba is failing at startup because it requires something that's not available yet (like DNS). After your machine is finished booting, it has the environment it requires. -- Ken Stevenson Allen-Myland Inc.