From owner-freebsd-questions@FreeBSD.ORG Thu Apr 13 02:08:44 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 DFE5A16A401 for ; Thu, 13 Apr 2006 02:08:44 +0000 (UTC) (envelope-from pauls@utdallas.edu) Received: from mail.stovebolt.com (mail.stovebolt.com [66.221.101.248]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8BB9A43D49 for ; Thu, 13 Apr 2006 02:08:44 +0000 (GMT) (envelope-from pauls@utdallas.edu) Received: from [192.168.2.101] (adsl-68-93-61-125.dsl.rcsntx.swbell.net [68.93.61.125]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.stovebolt.com (Postfix) with ESMTP id 6D82A114313 for ; Wed, 12 Apr 2006 21:02:54 -0500 (CDT) Date: Wed, 12 Apr 2006 21:07:30 -0500 From: Paul Schmehl To: freebsd-questions@freebsd.org Message-ID: <8A52C58F31369C1BF9225848@Paul-Schmehls-Computer.local> In-Reply-To: <443D7188.3000706@infracaninophile.co.uk> References: <443D4EA9.9090209@redry.net> <443D55C6.4010801@infracaninophile.co.uk> <443D5915.5090204@redry.net> <443D7188.3000706@infracaninophile.co.uk> X-Mailer: Mulberry/4.0.0 (Mac OS X) MIME-Version: 1.0 Content-Type: multipart/signed; micalg=sha1; protocol="application/pkcs7-signature"; boundary="==========12A5D8CDB63D80279F32==========" X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: stop/start services X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Paul Schmehl List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Apr 2006 02:08:45 -0000 --==========12A5D8CDB63D80279F32========== Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline --On April 12, 2006 10:30:48 PM +0100 Matthew Seaman=20 wrote: > > That's not quite the same thing. Tomcat is clearly starting up and > running perfectly well, as you show by viewing the default web page. > > The problem seems to be the file that should contain the tomcat pid, > and which doesn't. As that pid file is what the RC scripts refer to > in order to find the process to shut down, not having the right pid > in there will cause the effects you've been seeing. There have been > a number of posts about this issue several months back on the > freebsd-java@ mailing list. I believe it was a bug in the port due > to quite a radical rethink of the way tomcat should be started up. > According to CVS that problem was fixed in the last but one update > to the www/tomcat55 port. cvsup your ports and try again. > I'm not familiar with Tomcat, but rcNG has the capability of solving these=20 types of problems. The author of the script can use check_process(${name}=20 command_interpreter) instead, so that the scripts will check the running=20 processes rather than the pidfile. I'm working on a set of ports that require that because they are tcl=20 scripts, so the ${name} of the process is squild, but ps returns tclsh8.4=20 instead. *If* that's the problem with Tomcat, it's fairly easily fixed. Paul Schmehl (pauls@utdallas.edu) Adjunct Information Security Officer University of Texas at Dallas AVIEN Founding Member http://www.utdallas.edu/ --==========12A5D8CDB63D80279F32==========--