繁体   English   中英

ejabberd start在user_drv模块中崩溃

[英]ejabberd start crashes in user_drv module

我正在使用ejabber-14.07和erlang 17(v6.4),将我的ubuntu更新到16.04之后,我遇到了ejabberd start的麻烦,它崩溃了

{error_logger,{{2016,8,4},{12,20,35}},"~s~n",["Error in process <0.30.0> on node 'nodeej@marinakr' with exit value: {undef,[{group,start,[<0.30.0>,{}],[]},{user_drv,start_user,0,[{file,\"user_drv.erl\"},{line,154}]},{user_drv,server1,3,[{file,\"user_drv.erl\"},{line,114}]}]}\n"]}
{error_logger,{{2016,8,4},{12,20,45}},crash_report,[[{initial_call,{supervisor_bridge,user_sup,['Argument__1']}},{pid,<0.29.0>},{registered_name,[]},{error_info,{exit,nouser,[{gen_server,init_it,6,[{file,"gen_server.erl"},{line,322}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,237}]}]}},{ancestors,[kernel_sup,<0.10.0>]},{messages,[]},{links,[<0.11.0>]},{dictionary,[]},{trap_exit,true},{status,running},{heap_size,1598},{stack_size,27},{reductions,418}],[]]}
{error_logger,{{2016,8,4},{12,20,45}},supervisor_report,[{supervisor,{local,kernel_sup}},{errorContext,start_error},{reason,nouser},{offender,[{pid,undefined},{name,user},{mfargs,{user_sup,start,[]}},{restart_type,temporary},{shutdown,2000},{child_type,supervisor}]}]}
{error_logger,{{2016,8,4},{12,20,45}},crash_report,[[{initial_call,{application_master,init,['Argument__1','Argument__2','Argument__3','Argument__4']}},{pid,<0.9.0>},{registered_name,[]},{error_info,{exit,{{shutdown,{failed_to_start_child,user,nouser}},{kernel,start,[normal,[]]}},[{application_master,init,4,[{file,"application_master.erl"},{line,133}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,237}]}]}},{ancestors,[<0.8.0>]},{messages,[{'EXIT',<0.10.0>,normal}]},{links,[<0.8.0>,<0.7.0>]},{dictionary,[]},{trap_exit,true},{status,running},{heap_size,376},{stack_size,27},{reductions,117}],[]]}
{error_logger,{{2016,8,4},{12,20,45}},std_info,[{application,kernel},{exited,{{shutdown,{failed_to_start_child,user,nouser}},{kernel,start,[normal,[]]}}},{type,permanent}]}
{"Kernel pid terminated",application_controller,"{application_start_failure,kernel,{{shutdown,{failed_to_start_child,user,nouser}},{kernel,start,[normal,[]]}}}"}

我试图找到解决方案,但仍然不知道该如何解决

错误消息是

{undef, [
         {group,start,[<0.30.0>,{}],[]},
         {user_drv,start_user,0,[{file,\"user_drv.erl\"},{line,154}]},
         {user_drv,server1,3,[{file,\"user_drv.erl\"},{line,114}]}
        ]}

因此,它试图调用group:start(<0.30.0>,{})但未定义函数。 您应该首先检查是否有一个名为group的模块,它具有一个带有pid和元组的功能start ,并且正在正确地编译它。

我已经创建了自己的名称为“ group”的gen_mod,但是名称“ group”已经为本地erlang模块保留了。 它试图使用我的模块并崩溃了。 我需要的只是模块的另一个名称。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM