can't set up cluster (ubuntu + ejabberd 2.1.6)

after changing the following, ejabberd can't start

in sbin/ejabberdctl, changed HOST=localhost to HOST=ejabberd1
in etc/ejabberd/ejabberdctl.cfg, added ERLAND_NODE=ejabberd@ejabberd1

i even tried removing everything from the directory var/lib/ejabberd

i've read a lot of similar tutorials about setting up cluster but none of them help
help me please

bernard.chau wrote: after

bernard.chau wrote:

after changing the following, ejabberd can't start

in sbin/ejabberdctl, changed HOST=localhost to HOST=ejabberd1
in etc/ejabberd/ejabberdctl.cfg, added ERLAND_NODE=ejabberd@ejabberd1

The name of your machine is ejabberd1? I guess it isn't

$ uname -n
machine3

and then
ERLAND_NODE=ejabberd@machine3

thanks for your reply

thanks for your reply badlop
but ejabberd1 is just an example
i've set ERLAND_NODE=ejabberd@(my-machine-name)
then ejabberd cannot start
what should i do?

bernard.chau wrote: what

bernard.chau wrote:

what should i do?

What can I do, if you don't provide any other clue that allows me to continue suggesting ideas?

I can only remember you the golden rule: stop, uninstall, remove. Then install from zero.

http://dev.esl.eu/blog/2008/0

http://dev.esl.eu/blog/2008/09/30/set-up-clustering-in-ejabberd/

That might help you out with clustering... but for me, I didn't have to modify any start/configuration files at all... leave them alone.

You could always install from binary - 2.1.8 was simple and installs to /opt/, quite frankly it was painless and I got clustering up in about 2 minutes.

Syndicate content