<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}},"Protocol: ~tp: register/listen error: ~tp~n",["inet_tcp",epmd_close]}</div><div>{error_logger,{{2013,5,19},{20,1,10}},crash_report,[[{initial_call,{net_kernel,init,['Argument__1']}},{pid,<0.21.0>},{registered_name,[]},{error_info,{exit,{error,badarg},[{gen_server,init_it,6,[{file,"gen_server.erl"},{line,320}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,239}]}]}},{ancestors,[net_sup,kernel_sup,<0.10.0>]},{messages,[]},{links,[#Port<0.54>,<0.18.0>]},{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,{'EXIT',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,{'EXIT',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,['Argument__1','Argument__2','Argument__3','Argument__4']}},{pid,<0.9.0>},{registered_name,[]},{error_info,{exit,{{shutdown,{failed_to_start_child,net_sup,{shutdown,{failed_to_start_child,net_kernel,{'EXIT',nodistribution}}}}},{kernel,start,[normal,[]]}},[{application_master,init,4,[{file,"application_master.erl"},{line,138}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,239}]}]}},{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}],[]]}</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,{'EXIT',nodistribution}}}}},{kernel,start,[normal,[]]}}},{type,permanent}]}</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,{'EXIT',nodistribution}}}}},{kernel,start,[normal,[]]}}}"}</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,{'EXIT',nodistribution}}}}},{k</div>
<div><br></div><div><div>root@XXX:~#epmd -kill</div><div>epmd: local epmd responded with <></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'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"><<a href="mailto:emile@rabbitmq.com" target="_blank">emile@rabbitmq.com</a>></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>
> error: ~tp~n",["inet_tcp",epmd_close]}<br>
<br>
> {'EXIT',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>