My account is not root. Now I am getting the syscall failed in set_caps.
$ ./bin/jsvc -cp ./bin/bootstrap.jar -outfile ./logs/catalina.out -errfile ./logs/catalina.err -pidfile /tmp/jsvc.pid org.apache.catalina.startup.Bootstrap [EMAIL PROTECTED] apache-tomcat-6.0.16]$ more ./logs/catalina.err 01/07/2008 09:09:12 27550 jsvc.exec error: syscall failed in set_caps 01/07/2008 09:09:12 27550 jsvc.exec error: set_caps(CAPS) failed 01/07/2008 09:09:12 27549 jsvc.exec error: Service exit with a return value of 4 Agile Aspect wrote: > > If you're working as root, then you don't permission to write > into /var/run. > > Add a flag for pid file to write somewhere where you have > permission to write, e.g., /tmp > > -pidfile /tmp/jsvc.pid > > > kjwchu wrote: >> Tomcat 6.0.16 on Linux installation and setup >> >> My Linux version is:(gcc version 3.4.6 20060404 (Red Hat 3.4.6-3)) #1 Fri >> Apr 20 16:25:34 EDT 2007 >> The tomcat that I downloaded is 6.0.16 >> >> I've installed Tomcat6 on a Linux system per the Tomcat6 documentation, >> as >> follows: >> cd $CATALINA_HOME/bin >> tar xvfz jsvc.tar.gz >> cd jsvc-src >> autoconf >> ./configure >> make >> cp jsvc .. >> cd .. >> >> I then started Tomcat, per the documentation, as follows: >> cd $CATALINA_HOME >> ./bin/jsvc -cp ./bin/bootstrap.jar \ >> -outfile ./logs/catalina.out -errfile ./logs/catalina.err \ >> org.apache.catalina.startup.Bootstrap >> >> The startup fails with the following errors in the catalina.err >> >> 30/06/2008 15:19:09 21791 jsvc.exec error: Cannot open PID file >> /var/run/jsvc.pid, PID is 21791 >> 30/06/2008 15:19:09 21790 jsvc.exec error: Service exit with a return >> value >> of 255 >> >> Can anyone tell me how to work around these errors? Thanks for any >> thoughts. >> >> > > > -- > Article. VI. Clause 3 of the constitution of the United States states: > > "The Senators and Representatives before mentioned, and the Members of > the several State Legislatures, and all executive and judicial Officers, > both of the United States and of the several States, shall be bound by > Oath or Affirmation, to support this Constitution; but no religious Test > shall ever be required as a Qualification to any Office or public Trust > under the United States." > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/Tomcat-6.0.16-on-Linux-installation-and-setup-tp18205900p18219708.html Sent from the Commons - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]