Erlang/OTP Forums

Author Message

<  RabbitMQ mailing list  ~  Problem trying out rabbitmq-1.3.0

Guest
Posted: Wed Apr 09, 2008 12:14 pm Reply with quote
Guest
Hi

I downloaded http://www.rabbitmq.com/releases/windows/complete-rabbitmq-bundle-1.3.0.zip

I installed the OTP package, and started rabbitmq-server.bat

I get this error, which makes me think I have some network config
issue, but its not clear to me what!

{error_logger,{{2008,4,9},{13,12,0}},"Protocol: ~p: register error: ~p~n",["inet
_tcp",{{badmatch,{error,econnrefused}},[{inet_tcp_dist,listen,1},{net_kernel,sta
rt_protos,4},{net_kernel,start_protos,3},{net_kernel,init_node,2},{net_kernel,in
it,1},{gen_server,init_it,6},{proc_lib,init_p,5}]}]}
{error_logger,{{2008,4,9},{13,12,0}},crash_report,[[{pid,<0.21.0>},{registered_n
ame,net_kernel},{error_info,{error,badarg}},{initial_call,{gen,init_it,[gen_serv
er,<0.18.0>,<0.18.0>,{local,net_kernel},net_kernel,{rabbit,shortnames,15000},[]]
}},{ancestors,[net_sup,kernel_sup,<0.9.0>]},{messages,[]},{links,[#Port<0.8>,<0.
18.0>]},{dictionary,[{longnames,false}]},{trap_exit,true},{status,running},{heap
_size,610},{stack_size,21},{reductions,476}],[]]}
{error_logger,{{2008,4,9},{13,12,0}},supervisor_report,[{supervisor,{local,net_s
up}},{errorContext,start_error},{reason,{'EXIT',nodistribution}},{offender,[{pid
,undefined},{name,net_kernel},{mfa,{net_kernel,start_link,[[rabbit,shortnames]]}
},{restart_type,permanent},{shutdown,2000},{child_type,worker}]}]}
{error_logger,{{2008,4,9},{13,12,0}},supervisor_report,[{supervisor,{local,kerne
l_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}]}]}
{error_logger,{{2008,4,9},{13,12,0}},crash_report,[[{pid,<0.8.0>},{registered_na
me,[]},{error_info,{shutdown,{kernel,start,[normal,[]]}}},{initial_call,{applica
tion_master,init,[<0.6.0>,<0.7.0>,{appl_data,kernel,[application_controller,erl_
reply,auth,boot_server,code_server,disk_log_server,disk_log_sup,erl_prim_loader,
error_logger,file_server_2,fixtable_server,global_group,global_name_server,heart
,init,kernel_config,kernel_sup,net_kernel,net_sup,rex,user,os_server,ddll_server
,erl_epmd,inet_db,pg2],undefined,{kernel,[]},[application,application_controller
,application_master,application_starter,auth,code,code_aux,packages,code_server,
dist_util,erl_boot_server,erl_distribution,erl_prim_loader,erl_reply,erlang,erro
r_handler,error_logger,file,file_server,file_io_server,prim_file,global,global_g
roup,global_search,group,heart,hipe_unified_loader,inet6_tcp,inet6_tcp_dist,inet
6_udp,inet_config,inet_hosts,inet_gethost_native,inet_tcp_dist,init,kernel,kerne
l_config,net,net_adm,net_kernel,os,ram_file,rpc,user,user_drv,user_sup,disk_log,
disk_log_1,disk_log_server,disk_log_sup,dist_ac,erl_ddll,erl_epmd,erts_debug,gen
_tcp,gen_udp,gen_sctp,prim_inet,inet,inet_db,inet_dns,inet_parse,inet_res,inet_t
cp,inet_udp,inet_sctp,pg2,seq_trace,wrap_log_reader,zlib,otp_ring0],[],infinity,
infinity},normal]}},{ancestors,[<0.7.0>]},{messages,[{'EXIT',<0.9.0>,normal}]},{
links,[<0.7.0>,<0.6.0>]},{dictionary,[]},{trap_exit,true},{status,running},{heap
_size,987},{stack_size,21},{reductions,2063}],[]]}
{error_logger,{{2008,4,9},{13,12,0}},std_info,[{application,kernel},{exited,{shu
tdown,{kernel,start,[normal,[]]}}},{type,permanent}]}
{"Kernel pid terminated",application_controller,"{application_start_failure,kern
el,{shutdown,{kernel,start,[normal,[]]}}}"}

Crash dump was written to: erl_crash.dump
Kernel pid terminated (application_controller) ({application_start_failure,kerne
l,{shutdown,{kernel,start,[normal,[]]}}})

Can someone help me get this running?

Thanks!

Paul

--
Paul Fremantle
Co-Founder and CTO, WSO2
Apache Synapse PMC Chair
OASIS WS-RX TC Co-chair

blog: http://pzf.fremantle.org
paul@wso2.com

"Oxygenating the Web Service Platform", www.wso2.com


Post recived from mailinglist
Guest
Posted: Wed Apr 09, 2008 1:03 pm Reply with quote
Guest
Paul Fremantle wrote:
> Hi

Hi Paul.


Where you already running a previous version of RabbitMQ?
If so, deleting the previous mnesia directory may solve your problem.


If not, could you please send me the log files rabbit.log and
rabbit-sasl.log, and a copy of the full launch process. It should be
something like:

(the logs folder is shown when you launch rabbit, as below)

==============
NODE_IP_ADDRESS= NODE_PORT= NODE_ONLY=true LOG_BASE=/tmp RABBIT_ARGS="
-s rabbit" MNESIA_DIR=/tmp/rabbitmq-rabbit-mnesia ./scripts/rabbitmq-server
Erlang (BEAM) emulator version 5.5.5 [source] [async-threads:30]
[kernel-poll:true]

Eshell V5.5.5 (abort with ^G)
(rabbit@mrsideburns)1> RabbitMQ %%VERSION%% (AMQP 8-0)
Copyright (C) 2007-2008 LShift Ltd., Cohesive Financial Technologies
LLC., and Rabbit Technologies Ltd.
Licensed under the MPL. See http://www.rabbitmq.com/

Logging to "/tmp/rabbit.log"
SASL logging to "/tmp/rabbit-sasl.log"

starting database ...done
starting core processes ...done
starting recovery ...done
starting persister ...done
starting builtin applications ...done
starting TCP listeners ...done
==============

And your crash happening sometime there I think.
You can copy/paste in windows console with a right click and selecting
"mark" or something like that.

> I get this error, which makes me think I have some network config
> issue, but its not clear to me what!

Indeed, it seems to be that...

Anyway, looking forward to hearing from you,

Adrien.

> {error_logger,{{2008,4,9},{13,12,0}},"Protocol: ~p: register error: ~p~n",["inet
> _tcp",{{badmatch,{error,econnrefused}},[{inet_tcp_dist,listen,1},{net_kernel,sta
> rt_protos,4},{net_kernel,start_protos,3},{net_kernel,init_node,2},{net_kernel,in
> it,1},{gen_server,init_it,6},{proc_lib,init_p,5}]}]}
> {error_logger,{{2008,4,9},{13,12,0}},crash_report,[[{pid,<0.21.0>},{registered_n
> ame,net_kernel},{error_info,{error,badarg}},{initial_call,{gen,init_it,[gen_serv
> er,<0.18.0>,<0.18.0>,{local,net_kernel},net_kernel,{rabbit,shortnames,15000},[]]
> }},{ancestors,[net_sup,kernel_sup,<0.9.0>]},{messages,[]},{links,[#Port<0.8>,<0.
> 18.0>]},{dictionary,[{longnames,false}]},{trap_exit,true},{status,running},{heap
> _size,610},{stack_size,21},{reductions,476}],[]]}
> {error_logger,{{2008,4,9},{13,12,0}},supervisor_report,[{supervisor,{local,net_s
> up}},{errorContext,start_error},{reason,{'EXIT',nodistribution}},{offender,[{pid
> ,undefined},{name,net_kernel},{mfa,{net_kernel,start_link,[[rabbit,shortnames]]}
> },{restart_type,permanent},{shutdown,2000},{child_type,worker}]}]}
> {error_logger,{{2008,4,9},{13,12,0}},supervisor_report,[{supervisor,{local,kerne
> l_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}]}]}
> {error_logger,{{2008,4,9},{13,12,0}},crash_report,[[{pid,<0.8.0>},{registered_na
> me,[]},{error_info,{shutdown,{kernel,start,[normal,[]]}}},{initial_call,{applica
> tion_master,init,[<0.6.0>,<0.7.0>,{appl_data,kernel,[application_controller,erl_
> reply,auth,boot_server,code_server,disk_log_server,disk_log_sup,erl_prim_loader,
> error_logger,file_server_2,fixtable_server,global_group,global_name_server,heart
> ,init,kernel_config,kernel_sup,net_kernel,net_sup,rex,user,os_server,ddll_server
> ,erl_epmd,inet_db,pg2],undefined,{kernel,[]},[application,application_controller
> ,application_master,application_starter,auth,code,code_aux,packages,code_server,
> dist_util,erl_boot_server,erl_distribution,erl_prim_loader,erl_reply,erlang,erro
> r_handler,error_logger,file,file_server,file_io_server,prim_file,global,global_g
> roup,global_search,group,heart,hipe_unified_loader,inet6_tcp,inet6_tcp_dist,inet
> 6_udp,inet_config,inet_hosts,inet_gethost_native,inet_tcp_dist,init,kernel,kerne
> l_config,net,net_adm,net_kernel,os,ram_file,rpc,user,user_drv,user_sup,disk_log,
> disk_log_1,disk_log_server,disk_log_sup,dist_ac,erl_ddll,erl_epmd,erts_debug,gen
> _tcp,gen_udp,gen_sctp,prim_inet,inet,inet_db,inet_dns,inet_parse,inet_res,inet_t
> cp,inet_udp,inet_sctp,pg2,seq_trace,wrap_log_reader,zlib,otp_ring0],[],infinity,
> infinity},normal]}},{ancestors,[<0.7.0>]},{messages,[{'EXIT',<0.9.0>,normal}]},{
> links,[<0.7.0>,<0.6.0>]},{dictionary,[]},{trap_exit,true},{status,running},{heap
> _size,987},{stack_size,21},{reductions,2063}],[]]}
> {error_logger,{{2008,4,9},{13,12,0}},std_info,[{application,kernel},{exited,{shu
> tdown,{kernel,start,[normal,[]]}}},{type,permanent}]}
> {"Kernel pid terminated",application_controller,"{application_start_failure,kern
> el,{shutdown,{kernel,start,[normal,[]]}}}"}
>
> Crash dump was written to: erl_crash.dump
> Kernel pid terminated (application_controller) ({application_start_failure,kerne
> l,{shutdown,{kernel,start,[normal,[]]}}})
>
> Can someone help me get this running?
>
> Thanks!
>
> Paul
>


--
[][][] Adrien Pi
Guest
Posted: Wed Apr 09, 2008 1:16 pm Reply with quote
Guest
Paul Fremantle wrote:
> Hi
>
> I downloaded http://www.rabbitmq.com/releases/windows/complete-rabbitmq-bundle-1.3.0.zip
>
> I installed the OTP package, and started rabbitmq-server.bat
>
> I get this error, which makes me think I have some network config
> issue, but its not clear to me what!
>
> {error_logger,{{2008,4,9},{13,12,0}},"Protocol: ~p: register error: ~p~n",["inet
> _tcp",{{badmatch,{error,econnrefused}},[{inet_tcp_dist,listen,1},{net_kernel,sta
> rt_protos,4},{net_kernel,start_protos,3},{net_kernel,init_node,2},{net_kernel,in
> it,1},{gen_server,init_it,6},{proc_lib,init_p,5}]}]}

erlang uses an automatically-forked utility daemon called epmd (see
http://linux.die.net/man/1/epmd for what it does); on Windows it might
happen that the built-in firewall prevents this from starting. Try without
firewall and - if it works - allow connections to epmd from localhost.
I got the firewall warning/asking pop-up too when I started it for the
first time.

Holger

_______________________________________________
rabbitmq-discuss mailing list
rabbitmq-discuss@lists.rabbitmq.com
http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
Post recived from mailinglist
Guest
Posted: Wed Apr 09, 2008 1:22 pm Reply with quote
Guest
Paul,

Holger Hoffst
Guest
Posted: Wed Apr 09, 2008 1:51 pm Reply with quote
Guest
Paul,

Paul Fremantle wrote:
> 1. I'm not running Vista - I'm on XP SP2

ok. It's still worth performing some of the checks suggested in the
thread at
http://www.nabble.com/-erl--name--crashes-on-vista-td15257047.html, namely

1) does 'erl -sname foo' work?
if not
2) can you start the erlang port mapper daemon (empd) manually?
if not
3) do you have anything listening on port 4369?
if not
4) can you start the erlang port mapper daemon on a different port (epmd
-port 4368, say)?


Matthias.

_______________________________________________
rabbitmq-discuss mailing list
rabbitmq-discuss@lists.rabbitmq.com
http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
Post recived from mailinglist
Guest
Posted: Mon Apr 14, 2008 9:22 am Reply with quote
Guest
I got it running in the end by installing OTP 5.6.2. I think maybe
this was a firewall problem with one of the Erlang processes. I plan
to reinstall 5.5.5 and see if I can get it working on that.

Paul

On Wed, Apr 9, 2008 at 2:50 PM, Matthias Radestock <matthias@lshift.net> wrote:
> Paul,
>
>
> Paul Fremantle wrote:
>
> > 1. I'm not running Vista - I'm on XP SP2
> >
>
> ok. It's still worth performing some of the checks suggested in the thread
> at http://www.nabble.com/-erl--name--crashes-on-vista-td15257047.html,
> namely
>
> 1) does 'erl -sname foo' work?
> if not
> 2) can you start the erlang port mapper daemon (empd) manually?
> if not
> 3) do you have anything listening on port 4369?
> if not
> 4) can you start the erlang port mapper daemon on a different port (epmd
> -port 4368, say)?
>
>
> Matthias.
>



--
Paul Fremantle
Co-Founder and CTO, WSO2
Apache Synapse PMC Chair
OASIS WS-RX TC Co-chair

blog: http://pzf.fremantle.org
paul@wso2.com

"Oxygenating the Web Service Platform", www.wso2.com

_______________________________________________
rabbitmq-discuss mailing list
rabbitmq-discuss@lists.rabbitmq.com
http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
Post recived from mailinglist

Display posts from previous:  

All times are GMT
Page 1 of 1
This forum is locked: you cannot post, reply to, or edit topics.

Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum