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?
Additional - note that catalina.err and catalina.out have not been created.
The reason you'd want to do this is because (a) this is a virtual machine running on a dev box and (b) it executes a process in a chroot jail which will only run if executed by a root (c) the process that runs in the chroot jail is a software package which has been obtained from an external