Ejabberd Clustering not working

那年仲夏 提交于 2019-12-12 07:05:33

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!