[rabbitmq-discuss] Failed to start rabbitmq-server

Xiang Yu bupt.aswmtjdsj at gmail.com
Sun May 19 13:21:06 BST 2013


Hi Emile,

Thank your for replying to me!

Then I ran the command you suggested.

root at XXX:~#erl -sname foo
{error_logger,{{2013,5,19},{20,1,10}},"Protocol: ~tp: register/listen
error: ~tp~n",["inet_tcp",epmd_close]}
{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}],[]]}
{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}]}]}
{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}]}]}
{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}],[]]}
{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}]}
{"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,[]]}}}"}

Crash dump was written to: erl_crash.dump
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

root at XXX:~#epmd -kill
epmd: local epmd responded with <>

root at XXX:~#epmd -debug
epmd: Sun May 19 20:12:06 2013: epmd running - daemon = 0
epmd: Sun May 19 20:12:06 2013: there is already a epmd running at port 4369

Then I ran erl -sname foo again, and it happened just the same as above.

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...


Yours,
Xiang Yu,

Cell: +86-152-1063-2036
As an undergraduate,
in the major of Electrical Information Engineering,
School of Information and Communication Engineering,
Beijing University of Posts and Telecommunications.


2013/5/19 Emile Joubert <emile at rabbitmq.com>

> On 18/05/13 06:26, Parlin wrote:
>
> > error: ~tp~n",["inet_tcp",epmd_close]}
>
> > {'EXIT',nodistribution}
>
>
> Can you start Erlang without the broker? You should get a prompt when
> you run
>
>  erl -sname foo
>
> If that fails with a similar error then something is wrong with your
> Erlang installation or permissions. Try restarting epmd in debug mode in
> a separate terminal to get more diagnostics:
>
>  epmd -kill
>  epmd -debug
>
>
>
>
> -Emile
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20130519/507c9490/attachment.htm>


More information about the rabbitmq-discuss mailing list