tomcat6 on ubuntu fails when user set to root
- by J G
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?