<div dir="ltr"><div style>Hi Emile,</div><div style><br></div><div style>Thank your for replying to me!</div><div style><br></div><div style>Then I ran the command you suggested.</div><div><br></div><div>root@XXX:~#erl -sname foo</div>

<div>{error_logger,{{2013,5,19},{20,1,10}},&quot;Protocol: ~tp: register/listen error: ~tp~n&quot;,[&quot;inet_tcp&quot;,epmd_close]}</div><div>{error_logger,{{2013,5,19},{20,1,10}},crash_report,[[{initial_call,{net_kernel,init,[&#39;Argument__1&#39;]}},{pid,&lt;0.21.0&gt;},{registered_name,[]},{error_info,{exit,{error,badarg},[{gen_server,init_it,6,[{file,&quot;gen_server.erl&quot;},{line,320}]},{proc_lib,init_p_do_apply,3,[{file,&quot;proc_lib.erl&quot;},{line,239}]}]}},{ancestors,[net_sup,kernel_sup,&lt;0.10.0&gt;]},{messages,[]},{links,[#Port&lt;0.54&gt;,&lt;0.18.0&gt;]},{dictionary,[{longnames,false}]},{trap_exit,true},{status,running},{heap_size,233},{stack_size,27},{reductions,733}],[]]}</div>

<div>{error_logger,{{2013,5,19},{20,1,10}},supervisor_report,[{supervisor,{local,net_sup}},{errorContext,start_error},{reason,{&#39;EXIT&#39;,nodistribution}},{offender,[{pid,undefined},{name,net_kernel},{mfargs,{net_kernel,start_link,[[foo,shortnames]]}},{restart_type,permanent},{shutdown,2000},{child_type,worker}]}]}</div>

<div>{error_logger,{{2013,5,19},{20,1,10}},supervisor_report,[{supervisor,{local,kernel_sup}},{errorContext,start_error},{reason,{shutdown,{failed_to_start_child,net_kernel,{&#39;EXIT&#39;,nodistribution}}}},{offender,[{pid,undefined},{name,net_sup},{mfargs,{erl_distribution,start_link,[]}},{restart_type,permanent},{shutdown,infinity},{child_type,supervisor}]}]}</div>

<div>{error_logger,{{2013,5,19},{20,1,10}},crash_report,[[{initial_call,{application_master,init,[&#39;Argument__1&#39;,&#39;Argument__2&#39;,&#39;Argument__3&#39;,&#39;Argument__4&#39;]}},{pid,&lt;0.9.0&gt;},{registered_name,[]},{error_info,{exit,{{shutdown,{failed_to_start_child,net_sup,{shutdown,{failed_to_start_child,net_kernel,{&#39;EXIT&#39;,nodistribution}}}}},{kernel,start,[normal,[]]}},[{application_master,init,4,[{file,&quot;application_master.erl&quot;},{line,138}]},{proc_lib,init_p_do_apply,3,[{file,&quot;proc_lib.erl&quot;},{line,239}]}]}},{ancestors,[&lt;0.8.0&gt;]},{messages,[{&#39;EXIT&#39;,&lt;0.10.0&gt;,normal}]},{links,[&lt;0.8.0&gt;,&lt;0.7.0&gt;]},{dictionary,[]},{trap_exit,true},{status,running},{heap_size,376},{stack_size,27},{reductions,117}],[]]}</div>

<div>{error_logger,{{2013,5,19},{20,1,10}},std_info,[{application,kernel},{exited,{{shutdown,{failed_to_start_child,net_sup,{shutdown,{failed_to_start_child,net_kernel,{&#39;EXIT&#39;,nodistribution}}}}},{kernel,start,[normal,[]]}}},{type,permanent}]}</div>

<div>{&quot;Kernel pid terminated&quot;,application_controller,&quot;{application_start_failure,kernel,{{shutdown,{failed_to_start_child,net_sup,{shutdown,{failed_to_start_child,net_kernel,{&#39;EXIT&#39;,nodistribution}}}}},{kernel,start,[normal,[]]}}}&quot;}</div>

<div><br></div><div>Crash dump was written to: erl_crash.dump</div><div>Kernel pid terminated (application_controller) ({application_start_failure,kernel,{{shutdown,{failed_to_start_child,net_sup,{shutdown,{failed_to_start_child,net_kernel,{&#39;EXIT&#39;,nodistribution}}}}},{k</div>

<div><br></div><div><div>root@XXX:~#epmd -kill</div><div>epmd: local epmd responded with &lt;&gt;</div></div><div><br></div><div><div>root@XXX:~#epmd -debug</div><div>epmd: Sun May 19 20:12:06 2013: epmd running - daemon = 0</div>

<div>epmd: Sun May 19 20:12:06 2013: there is already a epmd running at port 4369</div></div><div><br></div><div style>Then I ran erl -sname foo again, and it happened just the same as above.</div><div style><br></div><div style>

As I&#39;m unfamiliar with Erlang, I found it hard to analyse the problem, then could you please help me in further steps? Thanks in advance...</div><div style><br></div><div class="gmail_extra"><div><div dir="ltr"><div style="text-align:right">

<br></div><div style="text-align:left">Yours,</div><div style="text-align:left">Xiang Yu,</div><div style="text-align:left"><br></div><div style="text-align:left">Cell: +86-152-1063-2036</div><div style="text-align:left">

As an undergraduate,</div><div style="text-align:left">in the major of Electrical Information Engineering,�</div><div style="text-align:left">School of Information and Communication Engineering,</div><div style="text-align:left">

Beijing University of Posts and Telecommunications.</div></div></div>
<br><br><div class="gmail_quote">2013/5/19 Emile Joubert <span dir="ltr">&lt;<a href="mailto:emile@rabbitmq.com" target="_blank">emile@rabbitmq.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

On 18/05/13 06:26, Parlin wrote:<br>
<br>
&gt; error: ~tp~n&quot;,[&quot;inet_tcp&quot;,epmd_close]}<br>
<br>
&gt; {&#39;EXIT&#39;,nodistribution}<br>
<br>
<br>
Can you start Erlang without the broker? You should get a prompt when<br>
you run<br>
<br>
�erl -sname foo<br>
<br>
If that fails with a similar error then something is wrong with your<br>
Erlang installation or permissions. Try restarting epmd in debug mode in<br>
a separate terminal to get more diagnostics:<br>
<br>
�epmd -kill<br>
�epmd -debug<br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
<br>
<br>
-Emile<br>
<br>
<br>
<br>
</font></span></blockquote></div><br></div></div>