Date: Fri, 14 Apr 2006 20:50:14 GMT From: Shaun Amott <shaun@inerd.com> To: freebsd-ports-bugs@FreeBSD.org Subject: Re: ports/91555: ejabberd-1.0.0 hangs at boot Message-ID: <200604142050.k3EKoESY082744@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/91555; it has been noted by GNATS. From: Shaun Amott <shaun@inerd.com> To: Lars Eggert <lars.eggert@gmx.net> Cc: freebsd-gnats-submit@FreeBSD.org Subject: Re: ports/91555: ejabberd-1.0.0 hangs at boot Date: Fri, 14 Apr 2006 21:41:54 +0100 Are you still having a problem with ejabberd? If so, could you try the following patch against the rc script: --- ejabberd.diff begins here --- --- files/ejabberd.sh.in.orig Sat Jan 7 06:29:54 2006 +++ files/ejabberd.sh.in Tue Mar 7 10:25:02 2006 @@ -43,12 +43,7 @@ ejabberd_start() { echo -n "Starting $name: " - if ejabberd_status; then - echo " already running." - exit 1 - else - su $EJABBERDUSER -c "$EJABBERD -noshell -detached" - fi + su $EJABBERDUSER -c "$EJABBERD -s -noshell -detached" echo "$name." } @@ -59,8 +54,8 @@ cnt=0 while ejabberd_status; do cnt=`expr $cnt + 1` - if [ $cnt -gt 60 ]; then - echo -n " failed " + if [ $cnt -gt 6 ]; then + killall -u ejabberd -kill break fi sleep 1 --- ejabberd.diff ends here --- -- Shaun Amott [ PGP: 0x6B387A9A ] Scientia Est Potentia.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200604142050.k3EKoESY082744>