Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Jun 2006 13:16:51 +0200
From:      Angelo Turetta <aturetta@commit.it>
To:        freebsd-ports@freebsd.org
Cc:        Benjamin Thelen <bt@ccgis.de>, freebsd-stable@freebsd.org
Subject:   Re: tomcat broken for FreeBSD 4?
Message-ID:  <448FF023.9050204@commit.it>
In-Reply-To: <448FD995.3070400@ccgis.de>
References:  <448FD995.3070400@ccgis.de>

next in thread | previous in thread | raw e-mail | index | archive | help
Benjamin Thelen wrote:
> Hi,
> 
> jakarta-tomcat-5.0.30_3 does not start anymore under FreeBSD 
> 4.11-RELEASE-p13:
> 
> /usr/local/jakarta-tomcat5.0/logs/stderr.log sais:
> daemon: illegal option -- p
> usage: daemon [-cf] command arguments ...

Yes, it's broken.
You can simply resolve this by updating your /usr/sbin/daemon with one 
compiled from the sources for 5.x

In your 4.x source tree:

   cd /usr/src/usr.sbin/daemon
   cvs -qR update -rRELENG_5 -dP
   make all
   make install

   /usr/sbin/daemon -?
     usage: daemon [-cf] [-p pidfile] command arguments ...

If you update via cvsup, the 'cvs ...' step is not appliable. You could 
just download the three files present in that directory from a 5.x tree.
Of course, after every 'make update' or equivalent, you have to verify 
that the daemon source files be restored to the 5.x version.

One question for the 4.x mainteiners: would it be possible to MF5.x the 
new daemon version?

Angelo Turetta
Modena - Italy



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?448FF023.9050204>