directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alex Karasulu" <akaras...@apache.org>
Subject Re: Strange problem starting apacheds in normal mode
Date Sat, 31 Mar 2007 04:56:16 GMT
Hi,

On 3/29/07, Emmanuel Lecharny <elecharny@gmail.com> wrote:
>
> tux-07 a écrit :
>
> > Emmanuel:
> >
> > I checked the logs they have the following content:
> > [root@localhost log]# ls -l
> > total 2
> > -rw-r--r-- 1 root root 1574 Mar 29 12:51 apacheds-stderr.log
> > -rw-r--r-- 1 root root    0 Mar 28 13:57 apacheds-stdout.log
> > [root@localhost log]# cat apacheds-stderr.log
>
> <snip/>
>
> > 29/03/2007 12:03:03 28196 jsvc.exec error: Service exit with a return
> > value of 1
> > 29/03/2007 12:51:05 28798 jsvc.exec error: Cannot find daemon loader
> > org/apache/commons/daemon/support/DaemonLoader
> > 29/03/2007 12:51:05 28797 jsvc.exec error: Service exit with a return
> > value of 1
> >
> > I assume it is because I do not have jsvc I am using Mandriva 2007.
>
> Very strange... Alex, any idea ?


I think this might be due to not having the daemon.jar which is just
commons-daemon in the classpath.  This might make jsvc barf as it is doing.

> Is
> > there another way of starting the server without jsvc I am doing
> > development and testing and on this machine I do not need it to be a
> > service?


Sure just use the debug option still but comment out the debug parameters or
remove them.  For the next release we can add a start-non-daemon case in
addition to start|stop|debug.

Alex

Mime
View raw message