【发布时间】:2016-03-10 05:01:57
【问题描述】:
我正在使用 ejabberd 版本 15.11 和 erlang/OTP 17。 我在添加 mod_http_offline 模块时遇到问题。 我可以成功编译它,但是当我在 ejabberd.yml 中添加模块初始化时,它无法启动模块。 这是我关于该问题的错误日志,
2015-12-04 14:27:17.435 [critical] <0.4264.0>@gen_mod:start_module:106 Problem starting the module mod_http_offline
for host <<"host">>
options: []
error: undef
[{ejabberd_logger,info_msg,
[mod_http_offline,20,"mod_http_offline loading",[]],
[]},
{mod_http_offline,start,2,[{file,"src/mod_http_offline.erl"},
{line,20}]},
{gen_mod,start_module,3,[{file,"src/gen_mod.erl"},{line,98}]},
{lists,foreach,2,[{file,"lists.erl"},{line,1336}]},
{ejabberd_app,start,2,[{file,"src/ejabberd_app.erl"},{line,73}]},
{application_master,start_it_old,4,
[{file,"application_master.erl"},{line,272}]}]
我已经参考了以下问题: INFO_MSG method fails in ejabberd
任何小的指导都会有很大的帮助, 谢谢
【问题讨论】: