[rabbitmq-discuss] connecting to Rabbit's node
Cermak, Marek
Marek.Cermak at Honeywell.com
Mon Nov 7 09:12:17 GMT 2011
Hello,
I want to connect to Rabbit's Erlang node to make analysis (appmon and
so). I have debian squeeze in vbox, rabbit 2.6.1, same cookie file as in
~rabbitmq/ and as a root I try to run
$ erl -sname rabbit -remsh rabbit at debian
the output is
-----
{error_logger,{{2011,11,7},{10,5,40}},"Protocol: ~p: register error:
~p~n",["inet_tcp",{{badmatch,{error,duplicate_name}},[{inet_tcp_dist,lis
ten,1},{net_kernel,start_protos,4},{net_kernel,start_protos,3},{net_kern
el,init_node,2},{net_kernel,init,1},{gen_server,init_it,6},{proc_lib,ini
t_p_do_apply,3}]}]}
{error_logger,{{2011,11,7},{10,5,40}},crash_report,[[{initial_call,{net_
kernel,init,['Argument__1']}},{pid,<0.20.0>},{registered_name,[]},{error
_info,{exit,{error,badarg},[{gen_server,init_it,6},{proc_lib,init_p_do_a
pply,3}]}},{ancestors,[net_sup,kernel_sup,<0.9.0>]},{messages,[]},{links
,[#Port<0.57>,<0.17.0>]},{dictionary,[{longnames,false}]},{trap_exit,tru
e},{status,running},{heap_size,377},{stack_size,24},{reductions,448}],[]
]}
{error_logger,{{2011,11,7},{10,5,40}},supervisor_report,[{supervisor,{lo
cal,net_sup}},{errorContext,start_error},{reason,{'EXIT',nodistribution}
},{offender,[{pid,undefined},{name,net_kernel},{mfargs,{net_kernel,start
_link,[[rabbit,shortnames]]}},{restart_type,permanent},{shutdown,2000},{
child_type,worker}]}]}
{error_logger,{{2011,11,7},{10,5,40}},supervisor_report,[{supervisor,{lo
cal,kernel_sup}},{errorContext,start_error},{reason,shutdown},{offender,
[{pid,undefined},{name,net_sup},{mfargs,{erl_distribution,start_link,[]}
},{restart_type,permanent},{shutdown,infinity},{child_type,supervisor}]}
]}
{error_logger,{{2011,11,7},{10,5,40}},std_info,[{application,kernel},{ex
ited,{shutdown,{kernel,start,[normal,[]]}}},{type,permanent}]}
{"Kernel pid
terminated",application_controller,"{application_start_failure,kernel,{s
hutdown,{kernel,start,[normal,[]]}}}"}
Crash dump was written to: erl_crash.dump
Kernel pid terminated (application_controller)
({application_start_failure,kernel,{shutdown,{kernel,start,[normal,[]]}}
})
-----
head of erl_crash.dump (is it enough?) would be:
$ head erl_crash.dump
=erl_crash_dump:0.1
Mon Nov 7 10:05:41 2011
Slogan: Kernel pid terminated (application_controller)
({application_start_failure,kernel,{shutdown,{kernel,start,[normal,[]]}}
})
System version: Erlang R14A (erts-5.8) [source] [rq:1] [async-threads:0]
[kernel-poll:false]
Compiled: Sun Dec 5 19:07:34 2010
Taints:
Atoms: 3985
=memory
total: 2207920
processes: 223900
What am I doing wrong?
Thanks for help
Marek
More information about the rabbitmq-discuss
mailing list