Tomcat script.

David Robillard david.robillard at gmail.com
Mon Jun 5 10:38:55 PDT 2006


> 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 at 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 at gmail.com
Montreal: +1 514 966 0122


More information about the freebsd-questions mailing list