Date: Wed, 12 Apr 2006 16:13:55 -0400 From: "fbsd" <fbsd@a1poweruser.com> To: <jbolivar@cantv.net>, <freebsd-questions@freebsd.org> Subject: RE: Re: stop/start services Message-ID: <MIEPLLIBMLEEABPDBIEGGELDHEAA.fbsd@a1poweruser.com> In-Reply-To: <239150-220064312194645842@cantv.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?MIEPLLIBMLEEABPDBIEGGELDHEAA.fbsd>