[ejabberd] ejabberd - crash at startup

Mickaël Rémond mickael.remond at process-one.net
Mon Jun 11 11:51:23 MSD 2007


Hello Patrick,

It means you already have an Erlang node running with the same name  
(registered_name).

Le 10 juin 07 à 16:18, Patrick Ringl a écrit :

> Hello,
>
> once I startup ejabberd I receive the following:
>
> {error_logger,{{2007,6,10},{14,14,33}},"** Generic server ~p  
> terminating
> \n** Last message in was ~p~n** When Server state == ~p~n** Reason for
> termination == ~n**
> ~p~n",[erl_epmd,{register,ejabberd,60186},{state,-1,-1,[]},badarg]}
> {error_logger,{{2007,6,10},{14,14,33}},crash_report, 
> [[{pid,<0.18.0>},{registered_name,erl_epmd},{error_info,badarg}, 
> {initial_call,{gen,init_it,[gen_server,<0.17.0>,<0.17.0>, 
> {local,erl_epmd},erl_epmd,[],[]]}},{ancestors, 
> [net_sup,kernel_sup,<0.8.0>]},{messages,[]},{links,[<0.17.0>]}, 
> {dictionary,[]},{trap_exit,false},{status,running},{heap_size,233}, 
> {stack_size,21},{reductions,220}],[]]}
> {error_logger,{{2007,6,10},{14,14,33}},"Protocol: ~p: register error:
> ~p~n",["inet_tcp",{badarg,{gen_server,call,[erl_epmd, 
> {register,ejabberd,60186},infinity]}}]}
> {error_logger,{{2007,6,10},{14,14,33}},crash_report, 
> [[{pid,<0.20.0>},{registered_name,net_kernel},{error_info, 
> {error,badarg}},{initial_call,{gen,init_it, 
> [gen_server,<0.17.0>,<0.17.0>,{local,net_kernel},net_kernel, 
> {ejabberd,shortnames,15000},[]]}},{ancestors, 
> [net_sup,kernel_sup,<0.8.0>]},{messages,[]},{links, 
> [#Port<0.7>,<0.17.0>]},{dictionary,[{longnames,false}]}, 
> {trap_exit,true},{status,running},{heap_size,233},{stack_size,21}, 
> {reductions,463}],[]]}
> {error_logger,{{2007,6,10},{14,14,33}},supervisor_report, 
> [{supervisor,{local,net_sup}},{errorContext,start_error},{reason, 
> {'EXIT',nodistribution}},{offender,[{pid,undefined}, 
> {name,net_kernel},{mfa,{net_kernel,start_link, 
> [[ejabberd,shortnames]]}},{restart_type,permanent},{shutdown,2000}, 
> {child_type,worker}]}]}
> {error_logger,{{2007,6,10},{14,14,33}},supervisor_report, 
> [{supervisor,{local,net_sup}},{errorContext,shutdown_error}, 
> {reason,badarg},{offender,[{pid,<0.18.0>},{name,erl_epmd},{mfa, 
> {erl_epmd,start_link,[]}},{restart_type,permanent},{shutdown,2000}, 
> {child_type,worker}]}]}
> {error_logger,{{2007,6,10},{14,14,33}},supervisor_report, 
> [{supervisor,{local,kernel_sup}},{errorContext,start_error}, 
> {reason,shutdown},{offender,[{pid,undefined},{name,net_sup},{mfa, 
> {erl_distribution,start_link,[]}},{restart_type,permanent}, 
> {shutdown,infinity},{child_type,supervisor}]}]}
> {error_logger,{{2007,6,10},{14,14,33}},crash_report,[[{pid,<0.7.0>}, 
> {registered_name,[]},{error_info,{shutdown,{kernel,start,[normal, 
> []]}}},{initial_call,{application_master,init,[<0.5.0>,<0.6.0>, 
> {appl_data,kernel, 
> [application_controller,erl_reply,auth,boot_server,code_server,disk_lo 
> g_server,disk_log_sup,erl_prim_loader,error_logger,file_server_2,fixta 
> ble_server,global_group,global_name_server,heart,init,kernel_config,ke 
> rnel_sup,net_kernel,net_sup,rex,user,os_server,ddll_server,erl_epmd,in 
> et_db,pg2],undefined,{kernel,[]}, 
> [application,application_controller,application_master,application_sta 
> rter,auth,code,code_aux,packages,code_server,dist_util,erl_boot_server 
> ,erl_distribution,erl_prim_loader,erl_reply,erlang,error_handler,error 
> _logger,file,file_server,file_io_server,prim_file,global,global_group, 
> global_search,group,heart,hipe_unified_loader,inet6_tcp,inet6_tcp_dist 
> ,inet6_udp,inet_config,inet_hosts,inet_gethost_native,inet_tcp_dist,in 
> it,kernel,kernel_config,net,net_adm,net_ker
>   
> nel,os,ram_file,rpc,user,user_drv,user_sup,disk_log,disk_log_1,disk_lo 
> g_server,disk_log_sup,dist_ac,erl_ddll,erl_epmd,erts_debug,gen_tcp,gen 
> _udp,gen_sctp,prim_inet,inet,inet_db,inet_dns,inet_parse,inet_res,inet 
> _tcp,inet_udp,inet_sctp,pg2,seq_trace,wrap_log_reader,zlib,otp_ring0], 
> [],infinity,infinity},normal]}},{ancestors,[<0.6.0>]},{messages, 
> [{'EXIT',<0.8.0>,normal}]},{links,[<0.6.0>,<0.5.0>]},{dictionary, 
> []},{trap_exit,true},{status,running},{heap_size,987},{stack_size, 
> 21},{reductions,2063}],[]]}
> {error_logger,{{2007,6,10},{14,14,33}},std_info, 
> [{application,kernel},{exited,{shutdown,{kernel,start,[normal, 
> []]}}},{type,permanent}]}
> {"Kernel pid
> terminated",application_controller,"{application_start_failure,kernel, 
> {shutdown,{kernel,start,[normal,[]]}}}"}
> Kernel pid terminated (application_controller)
> ({application_start_failure,kernel,{shutdown,{kernel,start,[normal, 
> []]}}})
>
> Yes, permissions are set correctly (i.e. /var/lib/ejabberd is owned by
> the user ejabberd .. and ejabberd is run under that user as well. It
> even generates an 'erl_crash.dump' - but that file does not contain
> anything useful.
>
> Any ideas?
>
>
> regards,
> Patrick
>
> _______________________________________________
> ejabberd mailing list
> ejabberd at jabber.ru
> http://lists.jabber.ru/mailman/listinfo/ejabberd

-- 
Mickaël Rémond
  http://www.process-one.net/


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jabber.ru/pipermail/ejabberd/attachments/20070611/61052eda/attachment-0001.htm 


More information about the ejabberd mailing list