Tomcat fails to start, no logs or error provided
I once had a similar issue on Ubuntu, tomcat did not start because of problems with the java security manager. In the sysconfig settings file there is a TOMCAT_SECURITY
setting, if that is available, set it to 'no'. Usually the file lives in /etc/sysconfig
on CentOS, not sure if it is named tomcat5, though, could be j2ee or similar.
Related videos on Youtube
Alex Kuhl
Probably easiest to check out my website if you want to know anything about me.
Updated on September 18, 2022Comments
-
Alex Kuhl over 1 year
I have a Centos5 box running tomcat5 (a version before 5.5, there's no bin/version.sh script).
When attempting to start tomcat, whether through init.d or service, I get the FAILED message with no other information provided. The date on catalina.out changes but it has no contents and is 0 bytes. logging.conf has not been edited and everything is marked as FINE detail.
Has anyone experienced this and know of a solution? Or, failing that, how can I get some log/error info from tomcat to try to pinpoint the issue?
-
Zypher about 12 yearscan you start it using
$TOMCAT_HOME/bin/catalina.sh
or$TOMCAT_HOME/bin/start.sh
(it's been a while i forget which one starts tomcat in the 5.x line -
Nils about 12 yearsLook it up in the start-section of the init-script. There the startup-command-output is normally being piped to /dev/null. Was that tomcat installed from the CentOS-repository, or has it been installed "by hand"?
-
Alex Kuhl almost 12 yearsI completely forgot about this question. My particular problem ended up being the disk ran out of space; talk about something you just don't think of!
-