Bug#259155: tomcat4: catalina.out has turned into a named pipe!
Stefan Gybas
Stefan Gybas <sgybas@debian.org>, 259155@bugs.debian.org
Mon Jul 26 15:39:01 2004
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig951A0D6884B22E52503987A0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
tags 259155 unreproducible
thanks
Roland Turner wrote:
> /var/log/tomcat4/catalina.out on my system is a named pipe. I am
> certain that I did not cause this to happen. This
> of course breaks things very badly, "invoke-rc.d tomcat4 start"
> blocks forever and therefore "apt-get upgrade" is unable to
> complete.
The named pipe is created by /etc/init.d/tomcat4 in never versions so
that the log files can be rotated. A process that reads this named pipe
is started by the same init script before tomcat4 itself is started so
there should always ba a reader and tomcat4 should not block.
> (It is because this bug breaks "unrelated packages" (apt no
> less!) that I've marked this as grave. If this is inappropriate,
> then by all means mark it down.)
It's definietly grave if this happens but I could not reproduce this. I
have just tried an upgarde from tomcat4 in testing to tomcat4 in
unstable and it worked as expected.
Is either /usr/sbin/rotatelogs or /usr/sbin/rotatelogs2 executable on
your system? Does a manual ("/etc/init.d/tomcat4 start") startup work?
Stefan
--------------enig951A0D6884B22E52503987A0
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFBBXWvCdoSgNrrJGsRAt+qAKCgpuNUZUuao0dEodKP6uzSsR/z+ACeOO3g
qfEOadx0y0tr45n4Mx7kxww=
=rC4a
-----END PGP SIGNATURE-----
--------------enig951A0D6884B22E52503987A0--