Tomcat may fail to write to log file in Red Hat Enterprise Linux 5
Issue
- log file (
catalina.out) is not being created properly by init script (permission issue). Newly createdcatalina.outlog files should be writable by tomcat process. - Tomcat fails to write to log file after
/var/log/tomcat5/catalina.outis removed. The log file/var/log/tomcat5/catalina.outis automatically re-crated when tomcat5 service is restarted, but the ownership of/var/log/tomcat5/catalina.outis changed toroot.root, making it unwritable by the tomcat process.
Environment
- Red Hat Enterprise Linux 5.4
-
tomcat5-5.5.23-0jpp.7.el5_3.2
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
