You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@commons.apache.org by Aamir Shafi <aa...@port.ac.uk> on 2005/03/04 21:57:23 UTC

jsvc.exec error: syscall failed in set_caps

Hi,

Just downloaded daemons library, and trying to execute the samples on 
linux. While trying to run ServiceDaemon.sh, i get the following error,

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

I'd appreciate your help
--Aamir
~                                                       

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Re: jsvc.exec error: syscall failed in set_caps

Posted by Simon Kitching <sk...@apache.org>.
On Fri, 2005-03-04 at 20:57 +0000, Aamir Shafi wrote:
> Hi,
> 
> Just downloaded daemons library, and trying to execute the samples on 
> linux. While trying to run ServiceDaemon.sh, i get the following error,
> 
> jsvc.exec error: syscall failed in set_caps
> jsvc.exec error: Service exit with a return value of 4
> jsvc.exec error: syscall failed in set_caps
> jsvc.exec error: Service exit with a return value of 4
> jsvc.exec error: syscall failed in set_caps
> jsvc.exec error: Service exit with a return value of 4
> 
> I'd appreciate your help

Hmm.. looking at the code, it appears that a call is made into the
kernel to drop some linux "capabilities" and this is returning an error
code. This code appears unchanged since the original checkin in
september 2003.

What version of the linux kernel are you using ("uname -a")?

And did you compile the code yourself, or download some pre-built
binary? If you used a binary, I would suggest recompiling yourself.

Regards,

Simon




---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org