elshaa
25th January 2007, 10:54 PM
Hi all,
I'm having some problems with an ejabberd initscript. Here is the starting section :
daemon --user ejabberd \
"erl" "-pa /usr/lib64/ejabberd-1.1.2/ebin \
-sname ejabberd \
-s ejabberd \
-ejabberd config \\\"/etc/ejabberd/ejabberd.cfg\\\" \
log_path \\\"/var/log/ejabberd/ejabberd.log\\\" \ -sasl sasl_error_logger \\{file,\\\"/var/log/ejabberd/sasl.log\\\"\\} \
-mnesia dir \\\"/var/lib/ejabberd/spool\\\" \
-kernel inetrc \\\"/etc/ejabberd/inetrc\\\" \
-detached"
This doesn't start the server at all. I can see some erlang debug output, but nothing interesting.
What's weird is that : running exactly this command (without some "\") after a sudo ejabberd, works perfectly.
Running things initscript without the daemon --user option works perfectly as well.
Thanks !
I'm having some problems with an ejabberd initscript. Here is the starting section :
daemon --user ejabberd \
"erl" "-pa /usr/lib64/ejabberd-1.1.2/ebin \
-sname ejabberd \
-s ejabberd \
-ejabberd config \\\"/etc/ejabberd/ejabberd.cfg\\\" \
log_path \\\"/var/log/ejabberd/ejabberd.log\\\" \ -sasl sasl_error_logger \\{file,\\\"/var/log/ejabberd/sasl.log\\\"\\} \
-mnesia dir \\\"/var/lib/ejabberd/spool\\\" \
-kernel inetrc \\\"/etc/ejabberd/inetrc\\\" \
-detached"
This doesn't start the server at all. I can see some erlang debug output, but nothing interesting.
What's weird is that : running exactly this command (without some "\") after a sudo ejabberd, works perfectly.
Running things initscript without the daemon --user option works perfectly as well.
Thanks !