【问题标题】:Cannot start ejabberd server 14.05无法启动 ejabberd 服务器 14.05
【发布时间】:2016-09-21 12:31:50
【问题描述】:

我已经安装了 ejabberd 14.05,在安装时我没有任何问题,但在启动服务器时我收到以下消息:

2016-05-24 15:50:37.636 [critical] <0.37.0>@gen_mod:start_module:77 Problem starting the module mod_client_state for host <<"localhost">>
options: []
error: undef
[{mod_client_state,start,[<<"localhost">>,[]],[]},
{gen_mod,start_module,3,[{file,"src/gen_mod.erl"},{line,69}]},
{lists,foreach,2,[{file,"lists.erl"},{line,1336}]},
{ejabberd_app,start,2,[{file,"src/ejabberd_app.erl"},{line,66}]},
{application_master,start_it_old,4,
[{file,"application_master.erl"},{line,272}]}]
2016-05-24 15:50:37.636 [critical] <0.37.0>@gen_mod:start_module:82 ejabberd     initialization was aborted because a module start failed.

我在 src 文件夹中找不到 mod_client_state.erl。 对不起,我是 ejabberd 和 erlang 的新手

【问题讨论】:

  • 你能分享你的配置文件吗?
  • 嗨 Kumar,我发现了这个问题。实际上,当我使用 ejabberd 14.05 时,我使用了 ejabberd 16 的 ejabberd.yml 文件,其中 mod_client_state 模块存在。它现在工作。感谢您的回复

标签: erlang xmpp ejabberd


【解决方案1】:

您可能是没有mod_client_state 的ejabberd 版本。较新版本中添加了 mod_client_state 功能。

如果您想使用mod_client_state,请升级到新版本。

您至少需要 14.12 版本:https://www.ejabberd.im/ejabberd-14.12

【讨论】:

  • 感谢 Mickael,我使用的是 ejabberd 14.05。从 ejabberd.yml 的模块部分删除 mod_client_state 定义有效。
猜你喜欢
  • 2020-09-05
  • 2015-02-13
  • 2016-10-25
  • 1970-01-01
  • 2019-03-28
  • 2019-07-20
  • 2017-12-25
  • 2011-08-05
  • 1970-01-01
相关资源
最近更新 更多