问题
I have installed ejabberd on two ubuntu servers in the same network using the binary installers, I have copied the .erlang.cookie file from /etc/ejabberd/bin of ejabberd@node1 (The intended master) to /etc/ejabberd/bin of ejabberd@node2 (the intended slave). When I run the command:
ejabberdctl join_cluster 'ejabberd@node1'
on ejabberd@node2, I get the following error:
Error: {no_ping,ejabberd@node1}
When I try to ping ejabberd@node1 using erl console I get a pang
.
The servers on which both nodes are installed can ping each other.
What am I doing wrong here?
来源:https://stackoverflow.com/questions/38211509/ejabberd-clustering-not-working