When I try to start the tomcat server on boot over the init script, it starts, but after a few seconds the server pause and then destroy. After removing the script from runlevel default, I can manually start, stop and restart the server without any problems. Steps to reproduce # rc-update add tomcat-6 default # reboot After reboot # cat /var/log/tomcat-6/catalina.out 06.07.2009 14:21:39 org.apache.catalina.core.AprLifecycleListener init INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /opt/sun-jdk-1.6.0.14/jre/lib/i386/server:/opt/sun-jdk-1.6.0.14/jre/lib/i386:/opt/sun-jdk-1.6.0.14/jre/../lib/i386:/usr/java/packages/lib/i386:/lib:/usr/lib 06.07.2009 14:21:39 org.apache.coyote.http11.Http11Protocol init INFO: Initializing Coyote HTTP/1.1 on http-8080 06.07.2009 14:21:39 org.apache.catalina.startup.Catalina load INFO: Initialization processed in 1304 ms 06.07.2009 14:21:40 org.apache.catalina.core.StandardService start INFO: Starting service Catalina 06.07.2009 14:21:40 org.apache.catalina.core.StandardEngine start INFO: Starting Servlet Engine: Apache Tomcat/6.0.20 06.07.2009 14:21:40 org.apache.coyote.http11.Http11Protocol start INFO: Starting Coyote HTTP/1.1 on http-8080 06.07.2009 14:21:40 org.apache.jk.common.ChannelSocket init INFO: JK: ajp13 listening on /0.0.0.0:8009 06.07.2009 14:21:41 org.apache.jk.server.JkMain start INFO: Jk running ID=0 time=0/33 config=null 06.07.2009 14:21:41 org.apache.catalina.startup.Catalina start INFO: Server startup in 1025 ms 06.07.2009 14:21:51 org.apache.coyote.http11.Http11Protocol pause INFO: Pausing Coyote HTTP/1.1 on http-8080 06.07.2009 14:21:52 org.apache.catalina.core.StandardService stop INFO: Stopping service Catalina 06.07.2009 14:21:52 org.apache.coyote.http11.Http11Protocol destroy INFO: Stopping Coyote HTTP/1.1 on http-8080 # /etc/init.d/tomcat-6 restart * Stopping Tomcat ... [ !! ] # ps aux | grep tomcat root 6170 0.0 0.0 4956 752 pts/0 R+ 17:43 0:00 grep --colour=auto tomcat
This is not a Bug. It was a kernel problem that cause this error.