Tomcat may fail to write to log file in Red Hat Enterprise Linux 5
- log file (
catalina.out) is not being created properly by init script (permission issue). Newly created
catalina.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 to
root.root, making it unwritable by the tomcat process.
- Red Hat Enterprise Linux 5.4
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.