2016-08-04 120 views
0

我使用ejabber-14.07和Erlang 17(V6.4),以及更新我的Ubuntu 16.04給我有ejabberd啓動的麻煩之後,它崩潰ejabberd開始崩潰

{error_logger,{{2016,8,4},{12,20,35}},"~s~n",["Error in process <0.30.0> on node '[email protected]' 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,[]]}}}"} 

我試着找到解決方案,但仍然不知道FOW解決它

回答

0

我已經創建了自己的名爲「group」的gen_mod,但名稱「group」已經爲本地erlang模塊進行了預留。它試圖使用我的模塊並墜毀。我需要的是模塊的另一個名稱。

1

的錯誤消息是

{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的模塊,它具有一個函數start,該函數接受一個pid和一個元組,並且它的編譯沒有錯誤。

+0

是的,我用我自己的模塊,但不應該 –