Re: jsvc.exec error: syscall failed in set_caps
Bill Barker a écrit : Yeah, well, check out http://issues.apache.org/bugzilla/show_bug.cgi?id=33154. Well done Bill, I use last stable 2.6.11 from kernel.org compiled as the debian way (initrd and all as module) and nowI add the line modprobe capability before launching jsvc, in my tomcat init script and wait now for the patch to drop the line It's ok Thanks a lot Bill Georges - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
jsvc.exec error: syscall failed in set_caps
Hi, I can't start tomcat 5.5.9 as a daemon on linux on port 8080 (default configuration) nothing is running on this port and have only thi error in logs/catalina.err jsvc.exec error: syscall failed in set_caps jsvc.exec error: Service exit with a return value of 4 Georges - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: jsvc.exec error: syscall failed in set_caps
Georges Roux wrote: I can't start tomcat 5.5.9 as a daemon on linux on port 8080 (default configuration) nothing is running on this port and have only thi error in logs/catalina.err jsvc.exec error: syscall failed in set_caps jsvc.exec error: Service exit with a return value of 4 Try modprobe capability. I think there is also a bug filed concerning this problem. Kind regards, Wolfgang - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: jsvc.exec error: syscall failed in set_caps
On Sun, Apr 17, 2005 at 10:33:56AM +0200, Georges Roux wrote: : I can't start tomcat 5.5.9 as a daemon on linux on port 8080 (default : configuration) : nothing is running on this port : and have only thi error in logs/catalina.err : : jsvc.exec error: syscall failed in set_caps : jsvc.exec error: Service exit with a return value of 4 Do you call jsvc as root? A long time ago, there was a bug that would cause jsvc to fail unless called as root. IIRC set_caps() is the function that calls setuid()/setgid(). Those calls require root privs, so they would fail; and in turn, the whole program bailed out. (The other option would have been for jsvc to see whether the requested and calling user were the same.) -QM -- software -- http://www.brandxdev.net/ tech news -- http://www.RoarNetworX.com/ code scan -- http://www.JxRef.org/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: jsvc.exec error: syscall failed in set_caps
QM a écrit : Do you call jsvc as root? A long time ago, there was a bug that would cause jsvc to fail unless called as root. IIRC set_caps() is the function that calls setuid()/setgid(). Those calls require root privs, so they would fail; and in turn, the whole program bailed out. (The other option would have been for jsvc to see whether the requested and calling user were the same.) -QM Yes as root and jsvc crash Georges - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: jsvc.exec error: syscall failed in set_caps
And the problem was... first I try to start tomcat with -user www-data -Djava.io.tmpdir=/tmp and after as root with only -Djava.io.tmpdir=/tmp the problem was the write permissions on the sessions files in /tmp Georges - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: jsvc.exec error: syscall failed in set_caps
On Sun, Apr 17, 2005 at 07:34:49PM +0200, Georges Roux wrote: : and after as root with only : -Djava.io.tmpdir=/tmp : the problem was the write permissions on the sessions files in /tmp Thanks much for sharing your solution with the group -- this will help people when they search the archives. -QM -- software -- http://www.brandxdev.net/ tech news -- http://www.RoarNetworX.com/ code scan -- http://www.JxRef.org/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: jsvc.exec error: syscall failed in set_caps
Thanks much for sharing your solution with the group -- this will help people when they search the archives. -QM Well hm, bad news, the probleme is already here and I don't have the solution. Sorry Georges - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: jsvc.exec error: syscall failed in set_caps
Georges Roux [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Thanks much for sharing your solution with the group -- this will help people when they search the archives. -QM Well hm, bad news, the probleme is already here and I don't have the solution. Yeah, well, check out http://issues.apache.org/bugzilla/show_bug.cgi?id=33154. Sorry Georges - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
jsvc.exec error: syscall failed in set_caps
hi, I am new to tomcat and catalina, and am setting it up for the first time on my Red Hat 9 x86 box I compiled jsvc w/ configure --prefix=/home/hal/tomcat, but otherwise followed the directions posted at: http://jakarta.apache.org/tomcat/tomcat-5.0-doc/setup.html for UNIX daemon I used the Tomcat5.sh file, fitting my environment variables, and, upon issuing a Tomcat5.sh start, I get: jsvc.exec error: syscall failed in set_caps jsvc.exec error: Service exit with a return value of 4 in ${CATALINA_HOME}/logs/catalina.out I'm not sure what to do now to debug this problem. Any advice? thanks Hal __ Do you Yahoo!? Yahoo! Small Business $15K Web Design Giveaway http://promotions.yahoo.com/design_giveaway/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]