I have installed tomcat6 on Debian and it was running properly after installation from apt-get, but not after restart.
I launch by
/etc/init.d/tomcat6 start (or restart), but netstat do not show opened port 8080 as configured.
/ect/init.d/tomcat6 status gives
Tomcat servlet engine is running with pid 1138.
/var/log/tomcat6/ three log files are created (localhost*.log, catalina*.log and catalina.out, all empty.
I see nothing about tomcat in syslog.
After restart it was binding to IPv6 so I added JAVA_OPTS to
Environment is VPS, 80MB free memory + 256MB swap, so added another opts from another question in SO:
-XX:MaxPermSize=64m -Xms16M -Xmx64m
But nothing helps, nothings is logged. How to find the problem ?
no other services are binded to that port, and firawall isn't the cause because it was running after fresh install (and reinstall also, but always broken after restart)