Could it be that you are running the start-up script (the one using jsvc) as a normal user and thus does not have the permission to write to /var/run? In my system, CentOS 5, /var/run can only be written by root. I run my jsvc script as root and use the "-user" option to switch to a normal user after binding to port 80.
-Qiao -----Original Message----- From: Dave Pawson [mailto:dave.paw...@gmail.com] Sent: Sunday, February 01, 2009 5:12 AM To: Tomcat Users List Subject: Re: jsvc problem with PID 2009/2/1 Gregor <rc4...@googlemail.com>: > are you rumning the startup-script as root? > > can u post your startup-script? > > rgds > > gregor No. I installed it as a 'normal' user. Workaround: case "$1" in start) # # Start Tomcat # sh $CATALINA_HOME/bin/startup.sh ;; stop) # # Stop Tomcat # sh $CATALINA_HOME/bin/shutdown.sh tail $CATALINA_HOME/logs/catalina.out ;; restart) # # Restart # sh $CATALINA_HOME/bin/shutdown.sh sh $CATALINA_HOME/bin/startup.sh ;; *) echo "Usage tomcat.sh start/stop" exit 1;; esac which is nice to know :-) regards -- Dave Pawson XSLT XSL-FO FAQ. Docbook FAQ. http://www.dpawson.co.uk --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org