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]
