You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@commons.apache.org by Xin Hua Sun <xi...@yahoo.com> on 2006/02/22 23:26:19 UTC

Re: error after running SimpleDaemon

Hi Everyone,
 
 I download the source "daemon-1.0.1.tar.gz" from 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) run SimpleDaemon.sh
 
 The output is as follows;
 22/02/2006 14:32:34 9365 jsvc.exec debug: +-- DUMPING JAVA HOME STRUCTURE ------------------------
 22/02/2006 14:32:34 9365 jsvc.exec debug: | Java Home:       "/usr/local/j2sdk1.4.2_10"
 22/02/2006 14:32:34 9365 jsvc.exec debug: | Java VM Config.: "/usr/local/j2sdk1.4.2_10/jre/lib/i386/jvm.cfg"
 22/02/2006 14:32:34 9365 jsvc.exec debug: | Found JVMs:      2
 22/02/2006 14:32:34 9365 jsvc.exec debug: | JVM Name:        "client"
 22/02/2006 14:32:34 9365 jsvc.exec debug: |                  "/usr/local/j2sdk1.4.2_10/jre/lib/i386/client/libjvm.so"
 22/02/2006 14:32:34 9365 jsvc.exec debug: | JVM Name:        "server"
 22/02/2006 14:32:34 9365 jsvc.exec debug: |                  "/usr/local/j2sdk1.4.2_10/jre/lib/i386/server/libjvm.so"
 22/02/2006 14:32:34 9365 jsvc.exec debug: +-------------------------------------------------------
 22/02/2006 14:32:34 9365 jsvc.exec debug: Running w/ LD_LIBRARY_PATH=/usr/local/j2sdk1.4.2_10/jre/lib/i386/client:/usr/local/j2sdk1.4.2_10/jre/ lib/i386
 22/02/2006 14:32:34 9368 jsvc.exec debug: redirecting stdout to toto.txt and stderr to &1
 22/02/2006 14:32:34 9365 jsvc.exec debug: wait_child 9368
 result: 1
 
 The running will generate a toto.txt file.
 In this file, there are two 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
 jsvc.exec error: Cannot find daemon loader org/apache/commons/daemon/support/DaemonLoader
 
 Do you have some idea what's wrong with it?
 Thanks for your help.
 
 Regards,
 
 Xin
 
		
---------------------------------
Brings words and photos together (easily) with
 PhotoMail  - it's free and works with Yahoo! Mail.