From owner-freebsd-questions@FreeBSD.ORG Wed Apr 12 20:13:58 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 DB73416A403 for ; Wed, 12 Apr 2006 20:13:58 +0000 (UTC) (envelope-from fbsd@a1poweruser.com) Received: from mta11.adelphia.net (mta11.adelphia.net [68.168.78.205]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4EE5843D48 for ; Wed, 12 Apr 2006 20:13:57 +0000 (GMT) (envelope-from fbsd@a1poweruser.com) Received: from barbish ([70.39.69.56]) by mta11.adelphia.net (InterMail vM.6.01.05.02 201-2131-123-102-20050715) with SMTP id <20060412201355.XXGY12719.mta11.adelphia.net@barbish>; Wed, 12 Apr 2006 16:13:55 -0400 From: "fbsd" To: , Date: Wed, 12 Apr 2006 16:13:55 -0400 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) In-Reply-To: <239150-220064312194645842@cantv.net> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1478 Importance: Normal Cc: Subject: RE: Re: stop/start services X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: fbsd@a1poweruser.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Apr 2006 20:13:58 -0000 etc/rc.d is for software that is part of the operating system and stuff in here gets launched by control statments in rc.conf /usr/local/etc/rc.d is where software installed from the ports normally put their start up scripts. At boot time the directory is read and all scripts ending in .sh get executed. -----Original Message----- From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd-questions@freebsd.org]On Behalf Of jbolivar@cantv.net Sent: Wednesday, April 12, 2006 3:47 PM To: freebsd-questions@freebsd.org Subject: Re: Re: stop/start services Hello, Please and what is the diference between directory /usr/local/etc/rc.d and etc/rc.d Thanks and Regards, Julian Bolivar ----------- Mensaje Original -------------- De: Matthew Seaman [m.seaman@infracaninophile.co.uk] Para: eoghan [freebsd@redry.net] Cc: freebsd-questions@freebsd.org [freebsd-questions@freebsd.org] Asunto: Re: stop/start services Fecha: 12/04/2006 15:33:11 Mensaje: eoghan wrote: > I asked a question about stopping/starting tomcat, but I suppose I didnt > ask it right. > What I should have asked is: > How do I stop/start services that I have enabled in my rc.conf, such as > mysql, tomcat etc. I have tried from my rc.d/ with tomcat but it will > not work for me... Like this: /usr/local/etc/rc.d/tomcat.sh start If that doesn't print out anything then double check what's in /etc/rc.conf If the service apparently starts up, but then you find it's not running a few seconds later, then check any log files that application uses -- it's quite often the case that there's a configuration fubar somewhere that is causing the service to give up. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"