$ equery list -i resin [ Searching for package 'resin' in all categories among: ] * installed packages [I--] [ ] www-servers/resin-3.0.8-r1 (0) $ sudo /etc/init.d/resin start * Starting Resin ... Can't create /var/log/resin/resin_out.log. [ !! ] Reproducible: Always Steps to Reproduce:
Also stock /etc/conf.d/resin: # $Header: /var/cvsroot/gentoo-x86/www-servers/resin/files/3.0.8/resin.conf,v 1.1 2004/08/08 18:21:19 stuart Exp $ # JVM Runtime # Using the default setting, it will determine your JVM from the system-vm # set using java-config. # See java-config(1) manual page for assistance in determining this value. # # You can override this value with whatever path you wish. # Example: JAVA_HOME=/opt/sun-jdk-1.4.1.01 #JAVA_HOME=`java-config -O` # (Optional) Java runtime options used when the "start", "stop", or "run" # commands are executed. # JAVA_OPTS="" # Where your Resin is installed RESIN_HOME=/opt/resin SERVER_ROOT=${RESIN_HOME} # Resin's User RESIN_USER=resin # Resin Log Locations RESIN_OUT=/var/log/resin/resin_out.log RESIN_ERR=/var/log/resin/resin_err.log # Location of the Resin JARs and classes RESIN_LIBDIR=/usr/share/resin/lib # The CLASSPATH for Resin to use, plus any others you need. CLASSPATH=$(java-config -p resin 2>/dev/null):${RESIN_LIBDIR}/lib # START/STOP settings RESIN_START="-java_home ${JAVA_HOME} -resin_home ${RESIN_HOME} -stdout ${RESIN_OUT} -stderr ${RESIN_ERR} start" RESIN_STOP="stop"
And one final issue... rc script is installed with wrong permissions (750, should be 755): $ ls -ld /etc/init.d/resin -rwxr-x--- 1 root root 545 Jul 4 13:26 /etc/init.d/resin
Please use ebuild from java-experimental untill it goes to main tree. *** This bug has been marked as a duplicate of 63246 ***