我正在尝试进行服务器设置,以便在iOS中构建jabber客户端。我正在关注这个链接:
http://code.tutsplus.com/tutorials/building-a-jabber-client-for-ios-server-setup--mobile-6958
但是,当我尝试在终端中运行postinstall.sh脚本时,如下所示:
Mac-mini:bin user$ ./start
Mac-mini:bin user$ ./postinstall.sh nitin localhost pass
-=- ejabberd post installation script -=-
(c) 2005-2016 ProcessOne
* Checking ejabberd installation
* Starting ejabberd instance
ERROR: The ejabberd node 'ejabberd@localhost' is already running.
* Creating administrator user
Can't register user nitin@localhost at node ejabberd@localhost: not_allowed
* Stopping ejabberd instance
==> Setup finished如上所示,我得到了这个错误:
Can't register user nitin@localhost at node ejabberd@localhost: not_allowed让我知道一些解决方案。谢谢。
发布于 2016-06-03 14:57:59
您可能使用了错误的操作系统用户,并且无法访问允许Erlang节点间通信的Erlang cookie文件。
这是执行所有ejabberdctl命令所必需的。
您可以在此处阅读有关Erlang cookies的信息:https://docs.ejabberd.im/admin/guide/security/#erlang-cookie
https://stackoverflow.com/questions/37592942
复制相似问题