Ejabberd错误:{undef,[{ejabberd_auth_storage,start,[“localhost”]},

时间:2013-01-09 07:46:03

标签: erlang ejabberd

当我在ubuntu上以sudo ejabberdctl live启动Ejabberd时,它会出现一些错误:

=PROGRESS REPORT==== 9-Jan-2013::15:32:16 ===
          supervisor: {local,ejabberd_sup}
             started: [{pid,<0.205.0>},
                       {name,ejabberd_listener},
                       {mfargs,{ejabberd_listener,start_link,[]}},
                       {restart_type,permanent},
                       {shutdown,infinity},
                       {child_type,supervisor}]

=INFO REPORT==== 9-Jan-2013::15:32:16 ===
I(<0.40.0>:ejabberd_rdbms:37) : ejabberd has not been compiled with relational database support. Skipping database startup.
*************************** "localhost"
=CRASH REPORT==== 9-Jan-2013::15:32:16 ===
  crasher:
    initial call: application_master:init/4
    pid: <0.39.0>
    registered_name: []
    exception exit: {bad_return,
                        {{ejabberd_app,start,[normal,[]]},
                         {'EXIT',
                             {undef,
                                 [{ejabberd_auth_storage,start,["localhost"]},
                                  {lists,foreach,2},
                                  {ejabberd_app,start,2},
                                  {application_master,start_it_old,4}]}}}}
      in function  application_master:init/4
    ancestors: [<0.38.0>]
    messages: []
    links: [<0.38.0>,<0.40.0>,<0.6.0>]
    dictionary: []
    trap_exit: true
    status: running
    heap_size: 987
    stack_size: 24
    reductions: 141
  neighbours:

=INFO REPORT==== 9-Jan-2013::15:32:16 ===
    application: ejabberd
    exited: {bad_return,
                {{ejabberd_app,start,[normal,[]]},
                 {'EXIT',
                     {undef,
                         [{ejabberd_auth_storage,start,["localhost"]},
                          {lists,foreach,2},
                          {ejabberd_app,start,2},
                          {application_master,start_it_old,4}]}}}}
    type: temporary

谁能告诉我原因,谢谢!

2 个答案:

答案 0 :(得分:0)

看起来您的ejabberd是在没有--enable-odbc密钥的情况下编译的。

答案 1 :(得分:0)

您正在使用的分支主文件尚未完成。使用默认分支2.1.x。