Bugzilla – Bug 121940
tomcat start failes - no write access to /var/run/tomcat5.pid
Last modified: 2006-08-07 12:49:47 UTC
Hello, old problem again :) Please create a var/run/tomcat/ directory which is owned by tomcat and create the pidfile tomcat5.pid in this directory, because /var/run/tomcat5.pid -> permission denied.
Also JAVA_HOME is not set, so even if the change to the tomcat5.pid directory is made, the start still fails. The tomcat user has no JAVA_HOME environment set, and the default /usr/lib/java doesn't point to a jdk. I created a $CATALINA_HOME/conf/tomcat5.conf containing JAVA_HOME=/usr/lib/jvm/java export JAVA_HOME And modified the @@@TCCONF@@@ line in catalina.sh to point to this file.
similar to bug #134572.
Fixed the tomcat5.pid issue. For the JAVA_HOME part, please follow Bug #134572 Cheers, Daniel
As of August 6th, 2006, I'm not seeing a fix for this. Was this relased as a patch to SUSE 10.0, or scheduled for a future release? linux:/var/log/tomcat5/base # cat start.log Using CATALINA_BASE: /usr/share/tomcat5 Using CATALINA_HOME: /usr/share/tomcat5 Using CATALINA_TMPDIR: /usr/share/tomcat5/temp Using JAVA_HOME: /usr/lib/jvm/java /usr/share/tomcat5/bin/catalina.sh: line 284: /var/run/tomcat5.pid: Permission denied
Not fixed here.
Hi Bryce. For SL, there are only security patches -- for the rest you can use the 10.1 package. We do not provide patches for SL packages if it is not a security update ... sorry. Regards, Daniel