From owner-freebsd-questions Wed Mar 21 16: 0:32 2001 Delivered-To: freebsd-questions@freebsd.org Received: from itouch.co.nz (itouch.co.nz [203.99.66.188]) by hub.freebsd.org (Postfix) with ESMTP id C488537B71F for ; Wed, 21 Mar 2001 16:00:27 -0800 (PST) (envelope-from jonc@itouch.co.nz) Received: (from jonc@localhost) by itouch.co.nz (8.11.2/8.11.1) id f2M00Me99976; Thu, 22 Mar 2001 12:00:22 +1200 (NZST) (envelope-from jonc) Date: Thu, 22 Mar 2001 12:00:22 +1200 From: Jonathan Chen To: mike Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Samba issues Message-ID: <20010322120022.A99549@itouchnz.itouch> References: <003b01c0b277$c4347b40$0200a8c0@mediaone.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <003b01c0b277$c4347b40$0200a8c0@mediaone.net>; from mikenoc@mindspring.net on Wed, Mar 21, 2001 at 06:28:17PM -0800 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, Mar 21, 2001 at 06:28:17PM -0800, mike wrote: > I am having trouble getting Samba working. > I am running 4.1.1 stable and trying to get > samba working with 98. I got the latest version of Samba witch I believe is 2.0.7 and > edited the config file. I get the following error when running smbstatus > **** > > frogger# smbstatus > Couldn't open status file /var/spool/lock/STATUS..LCK > frogger# This happens if samba isn't running; possibly because you haven't started it yet, or your config file has errors. > > also when I try and run samba by doing a /usr/local/etc/rc.d/samba.sh > > . It wont let me do it unless I am root and it does change the prompt from frogger to Sambafrogger. So I dont know if I am close or not to > > get it working. Samba can only be started by root. Once it's running you should be able to do a: # ps ax | grep smbd 257 ?? Is 0:00.01 /usr/local/sbin/smbd -D (process-id may differ, of course) Check out /var/log/log.smb and /var/log/log.nmb for further details if you have other problems. -- Jonathan Chen ------------------------------------------------------------------------ "We laugh in the face of danger, we drop icecubes down the vest of fear" - Edmond Blackadder III To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message