我已经安装了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。
发布于 2016-05-24 14:19:41
您可能是一个没有mod_client_state的ejabberd版本。在新版本中添加了mod_client_state功能。
如果要使用mod_client_state,请升级到较新的版本。
您至少需要14.12版本:https://www.ejabberd.im/ejabberd-14.12
https://stackoverflow.com/questions/37411118
复制相似问题