When installing Tomcat 5.0.28 i get this problem when starting Tomcat: * Starting Tomcat ... Using CATALINA_BASE: /var/lib/tomcat-5/default Using CATALINA_HOME: /usr/share/tomcat-5 Using CATALINA_TMPDIR: /var/tmp/tomcat-5/default Using JAVA_HOME: /opt/sun-jdk-1.4.2.07 touch: cannot touch `/var/lib/tomcat-5/default/logs/catalina.out': Permission denied /usr/share/tomcat-5/bin/catalina.sh: line 228: /var/lib/tomcat-5/default/logs/catalina.out: Permission denied The trivial fix to this problem is the following: chown tomcat:tomcat -R /var/lib/tomcat-5/ chown tomcat:tomcat -R /etc/tomcat-5/ chown tomcat:tomcat -R /var/log/tomcat-5/ i think that the ebuild miss setting the right permissions, need to be checked
take a look into the ebuild, this already happens atleast in pkg_postinst(): # These directories contain the runtime files and # are therefor owned by tomcat chown -R tomcat:tomcat /etc/${TOMCAT_NAME} chown -R tomcat:tomcat /var/log/${TOMCAT_NAME} chown -R tomcat:tomcat /var/tmp/${TOMCAT_NAME} chown -R tomcat:tomcat /var/run/${TOMCAT_NAME} chown -R tomcat:tomcat /var/lib/${TOMCAT_NAME} please re-emerge tomcat and try it again. i've tried it on different system and it just works for me.
you are right, i have tried another install after have removed all the tomcat5 files and the problem there isn't anymore. the init.d script start correctly. unfortunately i can't check the onscreen log of the original install, so i xan't investigate on what broke the install, but i have to install tomcat5 on another 8 production server, if the problem come back i submit bug report with more information. Thank for help me and spen time over me.