[plug] Tomcat 5.5 probs installing on Debian etch

Tomasz Grzegurzko tomasz89 at gmail.com
Mon Jul 21 11:57:15 WST 2008


On Mon, Jul 21, 2008 at 11:50 AM, Denis Brown
<dsbrown at cyllene.uwa.edu.au> wrote:
> 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
>
>
For the Java problem suggest you use update-alternatives --config java
to set it to the right VM.

Tomasz



More information about the plug mailing list