From owner-freebsd-questions@FreeBSD.ORG Mon Jun 5 17:38:47 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 BDFFE16BB2B for ; Mon, 5 Jun 2006 17:38:47 +0000 (UTC) (envelope-from david.robillard@gmail.com) Received: from nz-out-0102.google.com (nz-out-0102.google.com [64.233.162.195]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5551043D58 for ; Mon, 5 Jun 2006 17:38:43 +0000 (GMT) (envelope-from david.robillard@gmail.com) Received: by nz-out-0102.google.com with SMTP id 13so1050008nzn for ; Mon, 05 Jun 2006 10:38:42 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:mime-version:content-type:content-transfer-encoding:content-disposition; b=kyv36ENvcJzKDMZ/TTy4hqTVYJIHgWxgphZfxqkHSH/5M3q5GZlsZwxGR3NaFUVFbHHqXOG8nwlzdPszi9dfZCqO63Kov+XFVhZO89ekYpgADyfBxWCkxrkLDBorV9wCww2V5CoR9nVB2Etjg8vcGVPJRduCAZcqF2JAOxfYHP4= Received: by 10.64.208.12 with SMTP id f12mr1961084qbg; Mon, 05 Jun 2006 10:38:39 -0700 (PDT) Received: by 10.64.156.19 with HTTP; Mon, 5 Jun 2006 10:38:39 -0700 (PDT) Message-ID: <226ae0c60606051038j446676f5qfaccec27bc0ed14c@mail.gmail.com> Date: Mon, 5 Jun 2006 13:38:39 -0400 From: "David Robillard" To: "Aguiar Magalhaes" MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Cc: FreeBSD Questions Mailing List Subject: Re: Tomcat script. 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, 05 Jun 2006 17:38:55 -0000 > Hi list, > > The tomcat 5.5 script isn't working on free 6. I need > to make a reboot on the machine to restart the tomcat. > > Help me, please. > > Aguiar This is a known issue with the rc.subr(5) file. Here's the fix: [drobilla@appollin] logs {513}$ rcsdiff -r1.1 /etc/rc.subr =================================================================== RCS file: /etc/rc.subr,v retrieving revision 1.1 diff -r1.1 /etc/rc.subr 3c3,12 < # $Id: rc.subr,v 1.1 2006/04/21 18:25:56 drobilla Exp $ --- > # $Id: rc.subr,v 1.2 2006/04/21 18:32:32 drobilla Exp $ > # > # Fixed for tomcat55.sh which was not working. See: > # http://docs.freebsd.org/cgi/getmsg.cgi?fetch=85433+0+archive/2006/freebsd-java/20060219.freebsd-java > # Bad original line: $_procname|$_procnamebn|${_procnamebn}:|"(${_procnamebn})")' 271c280 < $_procname|$_procnamebn|${_procnamebn}:|"(${_procnamebn})")' --- > $_procname|$_procnamebn|${_procnamebn}:|"(${_procnamebn})"|"[${_procnamebn}]")' Regards, David -- David Robillard david.robillard@gmail.com Montreal: +1 514 966 0122