tomcat6 on ubuntu fails when user set to root
Posted
by J G
on Server Fault
See other posts from Server Fault
or by J G
Published on 2010-05-01T06:56:00Z
Indexed on
2010/05/01
6:59 UTC
Read the original article
Hit count: 461
I'm well aware that running tomcat6 is really bad from a security point of view - and opens the box it is running on to all kinds of security risks and attack vectors. That said:
When I change the entry in the /etc/init.d/tomcat6 to
TOMCAT6_USER=root
and then run
sudo /etc/init.d/tomcat6 start
I get
[fail]
and nothing is written to the logs under /var/log/tomcat6 and no entry for tomcat6 is created under /var/run
How do I diagnose what is going wrong?
© Server Fault or respective owner