无法在 ejabberd 15.11 中启动模块 mod_http_offline

can not start module mod_http_offline in ejabberd 15.11

我使用的是 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

任何一点指导都会有很大的帮助, 谢谢

您需要从 ejabberd 源存储库编译它。它不是使用与 ejabberd 本身相同的日志选项编译的。