Tomcat may fail to write to log file in Red Hat Enterprise Linux 5

Solution Verified - Updated -


  • log file (catalina.out) is not being created properly by init script (permission issue). Newly created catalina.out log files should be writable by tomcat process.
  • Tomcat fails to write to log file after /var/log/tomcat5/catalina.out is removed. The log file /var/log/tomcat5/catalina.out is automatically re-crated when tomcat5 service is restarted,  but the ownership of /var/log/tomcat5/catalina.out is changed to root.root, making it unwritable by the tomcat process.


  • 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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content