2013-01-09 63 views
-1

当我开始Ejabberd通过sudo ejabberdctl live ubuntu上,它提供了一些错误:Ejabberd错误:{民主基金,[{ejabberd_auth_storage,启动[ “本地主机”]},

=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 

谁能告诉我的原因,谢谢!

+0

“undef”错误意味着一个未定义的函数,或者该模块不存在/不能被加载,或者该函数未被导出。在这种情况下,函数'ejabberd_auth_storage:start/1'。 – rvirding

+0

使用哪个详细版本的ejabberd?我从[github master ](https://github.com/processone/ejabberd/tree/master)下载了当前版本,未找到此文件。 –

+0

V2.1.11,我也找不到ejabberd_auth_storage。 – why

回答

0

看起来像你的ejabberd编译时没有--enable-odbc键。

0

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

+0

嗨,我有结帐标记2.1.11,我认为问题是32位/ 64位问题,但我知道如何在64位系统上编译32位 – why

+0

为什么你想在64位系统上编译32位? –

+0

似乎ejabberd有一个32位端口 – why