From owner-freebsd-questions@FreeBSD.ORG Wed Apr 12 21:35:24 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 91FF816A400 for ; Wed, 12 Apr 2006 21:35:24 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (happy-idiot-talk.infracaninophile.co.uk [81.187.76.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id EC18643D5C for ; Wed, 12 Apr 2006 21:35:19 +0000 (GMT) (envelope-from m.seaman@infracaninophile.co.uk) Received: from [IPv6:::1] (localhost [IPv6:::1]) by smtp.infracaninophile.co.uk (8.13.6/8.13.6) with ESMTP id k3CLZ9xE075222; Wed, 12 Apr 2006 22:35:09 +0100 (BST) (envelope-from m.seaman@infracaninophile.co.uk) Message-ID: <443D728D.5040508@infracaninophile.co.uk> Date: Wed, 12 Apr 2006 22:35:09 +0100 From: Matthew Seaman Organization: Infracaninophile User-Agent: Thunderbird 1.5 (X11/20060401) MIME-Version: 1.0 To: Pete Slagle References: <443D4EA9.9090209@redry.net> <443D55C6.4010801@infracaninophile.co.uk> <443D64C5.5080704@voidcaptain.com> In-Reply-To: <443D64C5.5080704@voidcaptain.com> X-Enigmail-Version: 0.94.0.0 Content-Type: multipart/signed; micalg=pgp-ripemd160; protocol="application/pgp-signature"; boundary="------------enig4ABBD8311697846DA233F069" X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2 (smtp.infracaninophile.co.uk [IPv6:::1]); Wed, 12 Apr 2006 22:35:09 +0100 (BST) X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,NO_RELAYS autolearn=ham version=3.1.1 X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on happy-idiot-talk.infracaninophile.co.uk Cc: freebsd-questions@freebsd.org Subject: Re: stop/start 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: Wed, 12 Apr 2006 21:35:24 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig4ABBD8311697846DA233F069 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: quoted-printable Pete Slagle wrote: > Matthew Seaman wrote: >=20 >> eoghan wrote: >> >>> I asked a question about stopping/starting tomcat, but I suppose I di= dnt >>> 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 runnin= g >> 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. >=20 > "Service" instead of daemon? Our assimilation by the Borg proceeds ap= ace. Tomcat isn't strictly a daemon -- it runs in a JavaVM that (IIRC) doesn't= divorce itself from any controlling terminal or close down its stdin, stdout or stderr descriptors in the way that daemon processes should. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW --------------enig4ABBD8311697846DA233F069 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFEPXKN8Mjk52CukIwRAy4uAJwKonMHC3xJTJDCKq2mwI9HpTY+wQCeJCte 12SuDsyDRF/Ht3tFIZvoMu4= =2KZq -----END PGP SIGNATURE----- --------------enig4ABBD8311697846DA233F069--