You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by Xin Hua Sun <xi...@yahoo.com> on 2006/02/24 01:39:46 UTC
Re: error after running SimpleDaemon
Hi Everyone,
I download the source "daemon-1.0.1.tar.gz" from common daemon web side.
I did some as follows;
(1) run ./configure
(2) run make
(3) move to samples directory to compile SimpleDaemon.java.
(4) run Native.sh to generate Native.so file
(5) using ant to compile SimpleDaemon.java.
(6) run Native.sh
(7) run SimpleDaemon.sh
I have two questions as follows;
(1) After using ant to compile by build.xml, it didn't generate "commons-daemon.jar" file. How it generate it? This time, I got this file from
web by download binaries code.
(2) The running will generate a toto.txt file.
In this file, there is a error as follows;
22/02/2006 14:32:34 9369 jsvc.exec error: syscall failed in set_caps
22/02/2006 14:32:34 9369 jsvc.exec debug: set_caps(CAPS) failed
Do you know how to fix above issue?
Thanks for your help.
Regards,
Xin
---------------------------------
Yahoo! Autos. Looking for a sweet ride? Get pricing, reviews, & more on new and used cars.
Re: error after running SimpleDaemon
Posted by Jean-frederic Clere <jf...@gmail.com>.
Hi,
Try to see if the explainations in
http://jakarta.apache.org/commons/daemon/faq.html help.
Cheers
Jean-Frederic
Xin Hua Sun wrote:
> Hi Everyone,
>
>I download the source "daemon-1.0.1.tar.gz" from common daemon web side.
>I did some as follows;
>(1) run ./configure
>(2) run make
>(3) move to samples directory to compile SimpleDaemon.java.
>(4) run Native.sh to generate Native.so file
> (5) using ant to compile SimpleDaemon.java.
> (6) run Native.sh
>(7) run SimpleDaemon.sh
>
> I have two questions as follows;
> (1) After using ant to compile by build.xml, it didn't generate "commons-daemon.jar" file. How it generate it? This time, I got this file from
> web by download binaries code.
>
> (2) The running will generate a toto.txt file.
>In this file, there is a error as follows;
>22/02/2006 14:32:34 9369 jsvc.exec error: syscall failed in set_caps
>22/02/2006 14:32:34 9369 jsvc.exec debug: set_caps(CAPS) failed
>
> Do you know how to fix above issue?
> Thanks for your help.
>
> Regards,
>
> Xin
>
>---------------------------------
> Yahoo! Autos. Looking for a sweet ride? Get pricing, reviews, & more on new and used cars.
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org
Re: error after running SimpleDaemon
Posted by Bill Barker <wb...@wilshire.com>.
"Xin Hua Sun" <xi...@yahoo.com> wrote in message
news:20060224003946.66252.qmail@web33205.mail.mud.yahoo.com...
> Hi Everyone,
>
> I download the source "daemon-1.0.1.tar.gz" from common daemon web side.
> I did some as follows;
> (1) run ./configure
> (2) run make
> (3) move to samples directory to compile SimpleDaemon.java.
> (4) run Native.sh to generate Native.so file
> (5) using ant to compile SimpleDaemon.java.
> (6) run Native.sh
> (7) run SimpleDaemon.sh
>
> I have two questions as follows;
> (1) After using ant to compile by build.xml, it didn't generate
> "commons-daemon.jar" file. How it generate it? This time, I got this file
> from
> web by download binaries code.
>
You need to run 'ant dist' (yeah, yeah, I'm going to get kicked for this :).
> (2) The running will generate a toto.txt file.
> In this file, there is a error as follows;
> 22/02/2006 14:32:34 9369 jsvc.exec error: syscall failed in set_caps
> 22/02/2006 14:32:34 9369 jsvc.exec debug: set_caps(CAPS) failed
>
> Do you know how to fix above issue?
> Thanks for your help.
>
You need to run as root for the O/S to allow the use of set_caps.
> Regards,
>
> Xin
>
> ---------------------------------
> Yahoo! Autos. Looking for a sweet ride? Get pricing, reviews, & more on
> new and used cars.
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org