From owner-freebsd-questions@FreeBSD.ORG Fri Sep 12 05:21:34 2003 Return-Path: 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 ACF4716A4BF for ; Fri, 12 Sep 2003 05:21:34 -0700 (PDT) Received: from mail.trueafrican.com (mail.trueafrican.com [212.88.98.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id B5F0B43F85 for ; Fri, 12 Sep 2003 05:21:32 -0700 (PDT) (envelope-from begj@trueafrican.com) Received: from mail.trueafrican.com ([127.0.0.1]) by localhost (mail.trueafrican.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 43271-06 for ; Fri, 12 Sep 2003 15:23:34 +0300 (EAT) Received: by mail.trueafrican.com (Postfix, from userid 520) id 44B2A16379E; Fri, 12 Sep 2003 15:23:34 +0300 (EAT) Date: Fri, 12 Sep 2003 15:23:34 +0300 (EAT) From: Joseph Begumisa To: freebsd-questions@FreeBSD.org In-Reply-To: <20030912093508.8148.qmail@web21414.mail.yahoo.com> Message-ID: <20030912151700.U47959@mail.trueafrican.com> References: <20030912093508.8148.qmail@web21414.mail.yahoo.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: Re: help X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Sep 2003 12:21:34 -0000 On Fri, 12 Sep 2003, deepak patil wrote: > Dear sir/ Madam, > We are having Server with FreeBSD 4.6.2 - Release. I would like to know Some basic paths & Commands to start, stop the apache, sendmail , ftpd, mysqld services. How or Where Iwill find these services means what is the path for those. > Please help me in this issue. > > Thanks & Regards > > Deepak patil hi, for apache & mysqld look under /usr/local/etc/rc.d/ there should be shell scripts that start/stop these. for sendmail, check /etc/defaults/rc.conf where you should have something like this below and paste it into /etc/rc.conf of course changing the setting from no to yes in order for it to start. sendmail_enable="NO" # Run the sendmail inbound daemon (YES/NO). sendmail_flags="-bd -q30m" # Flags to sendmail (as a server) sendmail_outbound_enable="NO" # Dequeue stuck mail (YES/NO). sendmail_outbound_flags="-q30m" # Flags to sendmail (outbound only) for ftpd: check /etc/inetd.conf to start ftpd, you should uncomment the line with ftp. Joseph.