From owner-freebsd-questions@FreeBSD.ORG Mon Feb 13 13:02:01 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 C9E8216A422 for ; Mon, 13 Feb 2006 13:02:01 +0000 (GMT) (envelope-from work@ashleymoran.me.uk) Received: from mail.dc-servers.com (mail.dc-servers.com [83.243.101.206]) by mx1.FreeBSD.org (Postfix) with SMTP id 109CD43D49 for ; Mon, 13 Feb 2006 13:02:00 +0000 (GMT) (envelope-from work@ashleymoran.me.uk) Received: (qmail 24859 invoked by uid 399); 13 Feb 2006 13:02:02 -0000 Received: from unknown (HELO alfie.jigsawhq.com) (work@ashleymoran.me.uk@213.106.224.113) by mail.dc-servers.com with SMTP; 13 Feb 2006 13:02:02 -0000 From: Ashley Moran Organization: Codeweavers Ltd To: freebsd-questions@freebsd.org Date: Mon, 13 Feb 2006 13:00:37 +0000 User-Agent: KMail/1.9.1 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200602131300.37289.work@ashleymoran.me.uk> Subject: More tomcat wierdness 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: Mon, 13 Feb 2006 13:02:01 -0000 I've reinstalled Tomcat (now in www/tomcat55) because it was going mental (100% CPU) and now the stop/start isn't working through the rc.d script. Tomcat starts and records the PID in /var/run/tomcat55.pid. But when I call the script with stop I get an error saying "tomcat not started? check pid file", or something to that effect. root@webserv2# ls -lad /var/run/. /var/run/tomcat55.pid drwxr-xr-x 5 root wheel 512 Feb 13 12:10 /var/run/. -rw-r--r-- 1 www wheel 6 Feb 13 12:22 /var/run/tomcat55.pid It worked fine when it was running off the old www/jakarta-tomcat55 port - I don't know if anything has changed. Ashley