Haluk Durmus wrote:

I wan't to use Tomcat 5.5.6 as our default Webserver on port 80.
That's why I start it with "jsvc", that should give the chance
to run on prots <1024  for nonroot-user.
but get Error-Message in log file:

[...]

jsvc.exec error: syscall failed in set_caps
jsvc.exec error: Service exit with a return value of 4


Hi Haluk,
I had the same problem on my Debian after a distribution upgrade from Woody with kernel 2.4.18 to Sarge and kernel 2.6.8. I traced the jsvc call with strace -f. So I got the following messages:


[pid 11313] capset(0x19980330, 0, {CAP_SETGID|CAP_SETUID|CAP_NET_BIND_SERVICE, 
CAP_SETGID|CAP_SETUID|CAP_NET_BIND_SERVICE, 
CAP_SETGID|CAP_SETUID|CAP_NET_BIND_SERVICE}) = -1 EPERM (Operation not 
permitted)
[pid 11313] write(2, "jsvc.exec error: ", 17) = 17
[pid 11313] write(2, "syscall failed in set_caps", 26) = 26

It seems that some things regarding security and/or cryptography have changed in the kernels. What helped me out of my situation was:
modprobe capability


Unfortunately, you did not post furter details describing your system. I Hope this helps anyway.

Wolfgang

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to