From owner-freebsd-questions@FreeBSD.ORG Sun Nov 20 21:23:33 2005 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 79B0316A41F for ; Sun, 20 Nov 2005 21:23:33 +0000 (GMT) (envelope-from freebsd-questions@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id F218C43D49 for ; Sun, 20 Nov 2005 21:23:32 +0000 (GMT) (envelope-from freebsd-questions@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1EdwcX-0005aQ-KE for freebsd-questions@freebsd.org; Sun, 20 Nov 2005 22:21:09 +0100 Received: from r5k101.chello.upc.cz ([86.49.10.101]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 20 Nov 2005 22:21:09 +0100 Received: from martinkov by r5k101.chello.upc.cz with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 20 Nov 2005 22:21:09 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: martinko Date: Fri, 18 Nov 2005 21:15:25 +0100 Lines: 42 Message-ID: References: <000001c5eb7d$240a47a0$d1c88a45@picklepie> <20051117091909.00812699.lists@interpool.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: r5k101.chello.upc.cz User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.12) Gecko/20051114 X-Accept-Language: sk, cs, en-gb, en-us, en In-Reply-To: <20051117091909.00812699.lists@interpool.ca> Sender: news Subject: Re: starting services? 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: Sun, 20 Nov 2005 21:23:33 -0000 Gerry Freymann wrote: > On Thu, 17 Nov 2005 08:45:14 -0500 > "Lonnie Cumberland" wrote: > > >>I have just installed the Samba3 via the packages in the >>/stand/sysinstall but am not clear on how to start the daemon. I have >>had a lot of experience with Linux but have not learned a lot about >>FreeBSD yet and am working on it. > > > Welcome to FreeBSD. You didn't mention what version you are using, so I > can only speak definitively on v4. > > If you installed via the ports/packages, it should have dropped a start > up script in /usr/local/etc/rc.d (which is where a lot of the start > up/shut down scripts go for various programs). > > You may have something in there called samba.sh.sample. If you copy it or > rename it to samba.sh it will automatically start and stop samba for you > as needed. > > If you manually want to do this, you *must* use the full path to the > script: > > /usr/local/etc/rc.d/samba.sh start | stop > > You should find what you need in /usr/local/etc/rc.d > i wonder why i cannot start for instance ssh with /etc/rc.d/sshd start but i always have to use /etc/rc.d/sshd forcestart and similarly for stop, status, etc. any ideas pls ?? cheers, martin