Your message dated Mon, 03 Aug 2009 13:17:52 +0200
with message-id <[email protected]>
and subject line closing bugs in tomcat5
has caused the Debian Bug report #427948,
regarding tomcat5: fails to start if temp directory has too many files
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
427948: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=427948
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: tomcat5
Version: 5.0.30-12
Desc: /etc/init.d/tomcat5 line 126..
=====================================================================
The problem:
/etc/init.d/tomcat5 does not start if too many files
reside in $CATALINA_BASE/tomcat/temp/ as the
"rm -rf command goes beyond ARG_MAX."
rm -rf "$CATALINA_BASE"/temp/* \
"$CATALINA_BASE/logs/catalina.out"
# /etc/init.d/tomcat5-server14.example.com start
Starting Tomcat 5 servlet engine using Java from /usr/lib/j2sdk1.4-sun:
/etc/init.d/tomcat5-server14.example.com: line 127: /bin/rm: Argument
list too long
#
=====================================================================
I suggest the usage of the find.
find $CATALINA_BASE/tomcat/temp/ -name '*.tmp' -print0 | xargs -0 rm
find $CATALINA_BASE/tomcat/temp/ -exec rm -rf {} \;
=====================================================================
sh --version
GNU bash, version 3.1.17(1)-release (i486-pc-linux-gnu)
Copyright (C) 2005 Free Software Foundation, Inc.
getconf ARG_MAX
131072
uname -a
Linux example11.example.example.net 2.6.21.3pe860 #1 SMP Fri May 25
12:25:35 CEST 2007 i686 GNU/Linux
=====================================================================
Kind regards,
Maarten
--- End Message ---
--- Begin Message ---
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
tomcat5 has been removed from Debian. This bug does not apply to
tomcat5.5 or tomcat6, or has already been reported or fixed there, so
I'm closing it.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkp2x2AACgkQXjXn6TzcAQkSNgCgkow5fbA2C+YIQ8Gqssma9web
2poAn25kEBL4V63t+rdrk6zAg62LvypC
=jSjY
-----END PGP SIGNATURE-----
--- End Message ---
_______________________________________________
pkg-java-maintainers mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/pkg-java-maintainers