Ejabberd:mod_roster_odbc 未启动

Ejabberd: mod_roster_odbc not starting‏

启用 mod_roster_odbc 模块后,当我尝试重新启动服务器时,我在日志中看到以下内容。

2015-02-26 14:07:03.725 [critical] <0.836.0>@gen_mod:start_module:94 Problem     starting the module mod_roster_odbc for host <<"localhost">>
 options: []
 error: undef
[{mod_roster_odbc,start,[<<"localhost">>,[]],[]},
 {gen_mod,start_module,3,[{file,"src/gen_mod.erl"},{line,83}]},
 {lists,foreach,2,[{file,"lists.erl"},{line,1336}]},
 {ejabberd_app,start,2,[{file,"src/ejabberd_app.erl"},{line,69}]},
 {application_master,start_it_old,4,
                     [{file,"application_master.erl"},{line,272}]}]
2015-02-26 14:07:03.726 [critical] <0.836.0>@gen_mod:start_module:99     ejabberd initialization was aborted because a module start failed.
The trace is [{mod_roster_odbc,start,[<<"localhost">>,[]],[]},    {gen_mod,start_module,3,[{file,"src/gen_mod.erl"},{line,83}]},{lists,foreach,2,    [{file,"lists.erl"},{line,1336}]},{ejabberd_app,start,2,    [{file,"src/ejabberd_app.erl"},{line,69}]},{application_master,start_it_old,4,    [{file,"application_master.erl"},{line,272}]}].
(END)

如何解决这个问题?

您的安装有问题。 Error表示没有找到某些模块/函数。