ejabberd - Comments for "ejabberd 2.1.1 crashes inside Freebsd-8 jail" https://www.ejabberd.im/node/3822 en I found the cause (by https://www.ejabberd.im/node/3822#comment-55149 <p>I found the cause (by accident)<br /> I did not set a hostname before, it seems that this made empd crash.</p> <p>Thanks for you help!</p> Tue, 12 Jan 2010 17:16:38 +0000 tty23 comment 55149 at https://www.ejabberd.im Try erlang-questions mailing list. https://www.ejabberd.im/node/3822#comment-55144 <div class="quote-msg"> <div class="quote-author">Quote:</div> <p>I use the new VImage feature, maybe this is connected to that...<br /> Thanks anyway, I guess I have to ask for help somewhere else.</p></div> <p>Yes, it seems some problem in Erlang/OTP. If your search in Internet doesn't help, you can search in the erlang-questions mailing list, or ask there.</p> <div class="quote-msg"> <div class="quote-author">Quote:</div> <p>here is what happens:<br /> erl -sname node1<br /> {error_logger,{{2010,1,11},{23,9,32}},"Protocol: ~p: register error: ~p~n",["inet_tcp",{{badmatch,{error,eaddrnotavail}} ...</p></div> <p>It means something like "error address not available" when starting the Erlang machine. Maybe related to one important part of Erlang:</p> <p>"When an Erlang node starts, the node has a name and it obtains an address from the host OS kernel. The name and the address are sent to the epmd daemon running on the local host."</p> <p><noindex><a href="http://www.erlang.org/doc/man/epmd.html" title="http://www.erlang.org/doc/man/epmd.html" rel="nofollow" >http://www.erlang.org/doc/man/epmd.html</a></noindex></p> Tue, 12 Jan 2010 11:12:00 +0000 mfoss comment 55144 at https://www.ejabberd.im Thanks for the hint, it seems to be the right direction https://www.ejabberd.im/node/3822#comment-55140 <p>here is what happens:<br /> erl -sname node1<br /> {error_logger,{{2010,1,11},{23,9,32}},"Protocol: ~p: register error: ~p~n",["inet_tcp",{{badmatch,{error,eaddrnotavail}},[{inet_tcp_dist,listen,1},{net_kernel,start_protos,4},{net_kernel,start_protos,3},{net_kernel,init_node,2},{net_kernel,init,1},{gen_server,init_it,6},{proc_lib,init_p_do_apply,3}]}]}<br /> {error_logger,{{2010,1,11},{23,9,32}},crash_report,[[{initial_call,{net_kernel,init,['Argument__1']}},{pid,&lt;0.20.0&gt;},{registered_name,[]},{error_info,{exit,{error,badarg},[{gen_server,init_it,6},{proc_lib,init_p_do_apply,3}]}},{ancestors,[net_sup,kernel_sup,&lt;0.9.0&gt;]},{messages,[]},{links,[#Port&lt;0.66&gt;,&lt;0.17.0&gt;]},{dictionary,[{longnames,false}]},{trap_exit,true},{status,running},{heap_size,377},{stack_size,24},{reductions,444}],[]]}<br /> {error_logger,{{2010,1,11},{23,9,32}},supervisor_report,[{supervisor,{local,net_sup}},{errorContext,start_error},{reason,{'EXIT',nodistribution}},{offender,[{pid,undefined},{name,net_kernel},{mfa,{net_kernel,start_link,[[node1,shortnames]]}},{restart_type,permanent},{shutdown,2000},{child_type,worker}]}]}<br /> {error_logger,{{2010,1,11},{23,9,32}},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}]}]}<br /> {error_logger,{{2010,1,11},{23,9,32}},std_info,[{application,kernel},{exited,{shutdown,{kernel,start,[normal,[]]}}},{type,permanent}]}<br /> {"Kernel pid terminated",application_controller,"{application_start_failure,kernel,{shutdown,{kernel,start,[normal,[]]}}}"}</p> <p>Crash dump was written to: erl_crash.dump<br /> Kernel pid terminated (application_controller) ({application_start_failure,kernel,{shutdown,{kernel,start,[normal,[]]}}})</p> <p>I use the new VImage feature, maybe this is connected to that...<br /> Thanks anyway, I guess I have to ask for help somewhere else.</p> Mon, 11 Jan 2010 23:11:09 +0000 tty23 comment 55140 at https://www.ejabberd.im Maybe Erlang can't even start? https://www.ejabberd.im/node/3822#comment-55137 <p>The Erlang module inet_tcp found an unexpected error eaccess (error in access). This may be a problem in general Erlang, not limited to ejabberd.</p> <p>For example, does this work correctly for you?</p> <pre> $ erl -sname node1 Erlang R13B03 (erts-5.7.4) [source] [smp:2:2] [rq:2] [async-threads:0] [hipe] [kernel-poll:false] Eshell V5.7.4 (abort with ^G) (node1@localhost)1&gt; 55*71. 3905 (node1@localhost)2&gt; q(). ok (node1@localhost)3&gt; $ </pre> Mon, 11 Jan 2010 19:00:51 +0000 mfoss comment 55137 at https://www.ejabberd.im