[plug] Tomcat 5.5 probs installing on Debian etch

Denis Brown dsbrown at cyllene.uwa.edu.au
Mon Jul 21 11:50:51 WST 2008


Hello PLUG list members,

Trying to install Tomcat 5.5 including the -admin and -webapps packages on 
Debian etch.   Several websites report that it should Just Happen (tm) 
including this one...
http://www.debianadmin.com/how-to-setup-apache-tomcat-55-on-debian-etch.html

So armed with that knowledge:
1. aptitude install sun-java5-jdk without incident.   java - version 
reported the expected details.
2. aptitude install tomcat5.5        No apparent errors during installation.
3. aptitude install tomcat5.5-admin    Reported a problem stopping tomcat5.5
4. Tried to manually stop tomcat5.5    (/etc/init.d/tomcat55 
stop)  Reported "not running".

The tried to manually start tomcat (/etc/init.d/tomcat55 start) which 
brings up the error
<quote>
Starting Tomcat servlet engine: tomcat5.5sh: /usr/sbin/rotatelogs: 
Permission denied
<unquote>

Bit of Googling lead to a page where an Ubuntu user got it going by 
adjusting permissions on the catalina.out file in 
/var/lib/tomcat5.5/logs   ATM it is owned by tomcat:root   The Ubuntu 
article suggested making it owned by tomcat:nogroup but it reverts to 
tomcat:root

Also, doing a java - version now (after attempted installation of 
tomcat5.5) I get 1.4.2 version, not the previously-seen 1.5 version.

Thoughts appreciated :-)
Denis







More information about the plug mailing list