Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.

In /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 /usr/share/tomcat6/bin/

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)

share|improve this question

Tomcat does not output errors or information to the system syslog.

Try looking for the catalina.out file and checking that for messages.

share|improve this answer
As i said, unfortunatellty nothing is logged, but problem is solved now – Piotr Müller Aug 2 '12 at 6:39

So I figured it out. It seems that this issue is not about tomcat only, but anything related to java on VPS with one virtual core

Also, not only java execution but java compiler too. When compiling java, sometimes (randomly) i have a error reported from .cpp file (java source?) about lock/unlock function failed, related to multithreading.

After requesting VPS support to divide my one virtual 1Ghz CPU to two cores with 0.5Ghz each, tomcat runs without problems

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.