Rabbit couldn't start listening on the AMQP port, 5672. Have you got firewall or similar issues preventing it from doing so?<br><br><div class="gmail_quote">On Tue, Jun 11, 2013 at 9:37 AM, Jasdeep Lalli <span dir="ltr"><<a href="mailto:jazlalli@hotmail.com" target="_blank">jazlalli@hotmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi<div><br></div><div>My local Rabbit installation stopped working, so I attempted a complete reinstall from scratch. However, I've been unable to run the service since then.</div>
<div><br></div><div>When I attempt to restart the service via the services console, it changes status to Started, but about 10-15 seconds later, it's dead. I deleted the DB before a restart but no luck.</div><div><br>
</div><div>The event viewer shows the following message when I attempt to start the service</div><div><br></div><div><br></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div>RabbitMQ: Erlang machine stopped instantly (distribution name conflict?). The service is not restarted as OnFail is set to ignore.</div>
<div><div>The RabbitMQ service terminated with the following error: The process terminated unexpectedly.</div></div></blockquote><div><br></div><div>The rabbit log has the following (also attached). Can anyone tell what the problem is based on this information? If there's more you'd like me to do, I'm more than happy to do so.</div>
<div><br></div><div><br></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><div>=INFO REPORT==== 11-Jun-2013::17:27:18 ===</div></div><div><div>Starting RabbitMQ 3.1.1 on Erlang R16B</div></div><div>
<div>Copyright (C) 2007-2013 VMware, Inc.</div></div><div><div>Licensed under the MPL. See <a href="http://www.rabbitmq.com/" target="_blank">http://www.rabbitmq.com/</a></div></div><div><div><br></div></div><div><div>=INFO REPORT==== 11-Jun-2013::17:27:18 ===</div>
</div><div><div>node : rabbit@MILAP004</div></div><div><div>home dir : C:\Windows</div></div><div><div>config file(s) : (none)</div></div><div><div>cookie hash : okag2j8Q/WLLzXbN96HMJg==</div></div><div>
<div>log : C:/Users/jasdeep/AppData/Roaming/RabbitMQ/log/rabbit@MILAP004.log</div></div><div><div>sasl log : C:/Users/jasdeep/AppData/Roaming/RabbitMQ/log/rabbit@MILAP004-sasl.log</div></div><div><div>database dir : c:/Users/jasdeep/AppData/Roaming/RabbitMQ/db/rabbit@MILAP004-mnesia</div>
</div><div><div><br></div></div><div><div>=INFO REPORT==== 11-Jun-2013::17:27:20 ===</div></div><div><div>Limiting to approx 8092 file handles (7280 sockets)</div></div><div><div><br></div></div><div><div>=WARNING REPORT==== 11-Jun-2013::17:27:20 ===</div>
</div><div><div>Only 2048MB of 8139MB memory usable due to limited address space.</div></div><div><div><br></div></div><div><div>=INFO REPORT==== 11-Jun-2013::17:27:20 ===</div></div><div><div>Memory limit set to 819MB of 8139MB total.</div>
</div><div><div><br></div></div><div><div>=INFO REPORT==== 11-Jun-2013::17:27:20 ===</div></div><div><div>Disk free limit set to 1000MB</div></div><div><div><br></div></div><div><div>=INFO REPORT==== 11-Jun-2013::17:27:20 ===</div>
</div><div><div>msg_store_transient: using rabbit_msg_store_ets_index to provide index</div></div><div><div><br></div></div><div><div>=INFO REPORT==== 11-Jun-2013::17:27:20 ===</div></div><div><div>msg_store_persistent: using rabbit_msg_store_ets_index to provide index</div>
</div><div><div><br></div></div><div><div>=INFO REPORT==== 11-Jun-2013::17:27:20 ===</div></div><div><div>started TCP Listener on [::]:5672</div></div><div><div><br></div></div><div><div>=ERROR REPORT==== 11-Jun-2013::17:27:20 ===</div>
</div><div><div>Error in process <0.212.0> on node 'rabbit@MILAP004' with exit value: {eacces,[{erlang,open_port,[{spawn,"inet_gethost 4 "},[{packet,4},eof,binary]],[]},{inet_gethost_native,do_open_port,2,[{file,"inet_gethost_native.erl"},{line,400}]},{inet_gethost_native,server_init,2,[{file,"inet_gethost... </div>
</div><div><div><br></div></div><div><div><br></div></div><div><div>=ERROR REPORT==== 11-Jun-2013::17:27:20 ===</div></div><div><div>** Generic server inet_gethost_native_sup terminating </div></div><div><div>** Last message in was {'EXIT',<0.212.0>,</div>
</div><div><div> {eacces,</div></div><div><div> [{erlang,open_port,</div></div><div><div> [{spawn,"inet_gethost 4 "},</div>
</div><div><div> [{packet,4},eof,binary]],</div></div><div><div> []},</div></div><div><div> {inet_gethost_native,do_open_port,2,</div>
</div><div><div> [{file,"inet_gethost_native.erl"},</div></div><div><div> {line,400}]},</div></div><div><div> {inet_gethost_native,server_init,2,</div>
</div><div><div> [{file,"inet_gethost_native.erl"},</div></div><div><div> {line,183}]}]}}</div></div><div><div>** When Server state == {state,inet_gethost_native,undefined,<0.212.0>,</div>
</div><div><div> {local,inet_gethost_native_sup}}</div></div><div><div>** Reason for termination == </div></div><div><div>** {eacces,[{erlang,open_port,</div></div><div><div> [{spawn,"inet_gethost 4 "},[{packet,4},eof,binary]],</div>
</div><div><div> []},</div></div><div><div> {inet_gethost_native,do_open_port,2,</div></div><div><div> [{file,"inet_gethost_native.erl"},</div></div>
<div><div> {line,400}]},</div></div><div><div> {inet_gethost_native,server_init,2,</div></div><div><div> [{file,"inet_gethost_native.erl"},</div>
</div><div><div> {line,183}]}]}</div></div><div><div><br></div></div><div><div>=INFO REPORT==== 11-Jun-2013::17:27:20 ===</div></div><div><div>Error description:</div></div><div><div> {case_clause,</div>
</div><div><div> {error,</div></div><div><div> {{shutdown,</div></div><div><div> {failed_to_start_child,tcp_listener,</div></div><div><div> {could_not_start_server,inet_gethost_native}}},</div>
</div><div><div> {child,undefined,'rabbit_tcp_listener_sup_:::5672',</div></div><div><div> {tcp_listener_sup,start_link,</div></div><div><div> [{0,0,0,0,0,0,0,0},</div>
</div><div><div> 5672,</div></div><div><div> [inet6,binary,</div></div><div><div> {packet,raw},</div></div><div><div> {reuseaddr,true},</div>
</div><div><div> {backlog,128},</div></div><div><div> {nodelay,true},</div></div><div><div> {linger,{true,0}},</div></div><div><div> {exit_on_close,false}],</div>
</div><div><div> {rabbit_networking,tcp_listener_started,[amqp]},</div></div><div><div> {rabbit_networking,tcp_listener_stopped,[amqp]},</div></div><div><div> {rabbit_networking,start_client,[]},</div>
</div><div><div> "TCP Listener"]},</div></div><div><div> transient,infinity,supervisor,</div></div><div><div> [tcp_listener_sup]}}}}</div></div><div><div><br></div>
</div><div><div>Log files (may contain more information):</div></div><div><div> C:/Users/jasdeep/AppData/Roaming/RabbitMQ/log/rabbit@MILAP004.log</div></div><div><div> C:/Users/jasdeep/AppData/Roaming/RabbitMQ/log/rabbit@MILAP004-sasl.log</div>
</div><div><div><br></div></div><div><div>Stack trace:</div></div><div><div> [{rabbit_networking,start_listener0,4,[]},</div></div><div><div> {rabbit_networking,'-start_listener/4-lc$^0/1-0-',4,[]},</div></div>
<div><div> {rabbit_networking,start_listener,4,[]},</div></div><div><div> {rabbit_networking,'-boot_tcp/0-lc$^0/1-0-',1,[]},</div></div><div><div> {rabbit_networking,boot_tcp,0,[]},</div></div><div><div> {rabbit_networking,boot,0,[]},</div>
</div><div><div> {rabbit,'-run_boot_step/1-lc$^1/1-1-',1,[]},</div></div><div><div> {rabbit,run_boot_step,1,[]}]</div></div><div><div><br></div></div><div><div><br></div></div><div><div>=INFO REPORT==== 11-Jun-2013::17:27:21 ===</div>
</div><div><div>Error description:</div></div><div><div> {could_not_start,rabbit,</div></div><div><div> {bad_return,</div></div><div><div> {{rabbit,start,[normal,[]]},</div></div><div><div> {'EXIT',</div>
</div><div><div> {rabbit,failure_during_boot,</div></div><div><div> {case_clause,</div></div><div><div> {error,</div></div><div><div> {{shutdown,</div></div><div><div> {failed_to_start_child,tcp_listener,</div>
</div><div><div> {could_not_start_server,inet_gethost_native}}},</div></div><div><div> {child,undefined,'rabbit_tcp_listener_sup_:::5672',</div></div><div><div> {tcp_listener_sup,start_link,</div>
</div><div><div> [{0,0,0,0,0,0,0,0},</div></div><div><div> 5672,</div></div><div><div> [inet6,binary,</div></div><div><div> {packet,raw},</div></div><div><div> {reuseaddr,true},</div>
</div><div><div> {backlog,128},</div></div><div><div> {nodelay,true},</div></div><div><div> {linger,{true,0}},</div></div><div><div> {exit_on_close,false}],</div></div>
<div><div> {rabbit_networking,tcp_listener_started,[amqp]},</div></div><div><div> {rabbit_networking,tcp_listener_stopped,[amqp]},</div></div><div><div> {rabbit_networking,start_client,[]},</div>
</div><div><div> "TCP Listener"]},</div></div><div><div> transient,infinity,supervisor,</div></div><div><div> [tcp_listener_sup]}}}}}}}}}</div></div><div><div><br></div></div><div>
<div>Log files (may contain more information):</div></div><div><div> C:/Users/jasdeep/AppData/Roaming/RabbitMQ/log/rabbit@MILAP004.log</div></div><div><div> C:/Users/jasdeep/AppData/Roaming/RabbitMQ/log/rabbit@MILAP004-sasl.log</div>
</div><div><div><br></div></div><div><div><br></div></div><div><div>=ERROR REPORT==== 11-Jun-2013::17:27:21 ===</div></div><div><div>** gen_event handler rabbit_error_logger crashed.</div></div><div><div>** Was installed in error_logger</div>
</div><div><div>** Last event was: {info_msg,<0.30.0>,</div></div><div><div> {<0.2.0>,</div></div><div><div> "Error description:~n ~p~n~nLog files (may contain more information):~n ~s~n ~s~n~n",</div>
</div><div><div> [{could_not_start,rabbit,</div></div><div><div> {bad_return,</div></div><div><div> {{rabbit,start,[normal,[]]},</div></div><div><div> {'EXIT',</div>
</div><div><div> {rabbit,failure_during_boot,</div></div><div><div> {case_clause,</div></div><div><div> {error,</div></div><div><div> {{shutdown,</div>
</div><div><div> {failed_to_start_child,tcp_listener,</div></div><div><div> {could_not_start_server,inet_gethost_native}}},</div></div><div><div> {child,undefined,</div>
</div><div><div> 'rabbit_tcp_listener_sup_:::5672',</div></div><div><div> {tcp_listener_sup,start_link,</div></div><div><div> [{0,0,0,0,0,0,0,0},</div>
</div><div><div> 5672,</div></div><div><div> [inet6,binary,</div></div><div><div> {packet,raw},</div></div><div><div> {reuseaddr,true},</div>
</div><div><div> {backlog,128},</div></div><div><div> {nodelay,true},</div></div><div><div> {linger,{true,0}},</div></div>
<div><div> {exit_on_close,false}],</div></div><div><div> {rabbit_networking,tcp_listener_started,</div></div><div><div> [amqp]},</div>
</div><div><div> {rabbit_networking,tcp_listener_stopped,</div></div><div><div> [amqp]},</div></div><div><div> {rabbit_networking,start_client,[]},</div>
</div><div><div> "TCP Listener"]},</div></div><div><div> transient,infinity,supervisor,</div></div><div><div> [tcp_listener_sup]}}}}}}}}},</div>
</div><div><div> "C:/Users/jasdeep/AppData/Roaming/RabbitMQ/log/rabbit@MILAP004.log",</div></div><div><div> "C:/Users/jasdeep/AppData/Roaming/RabbitMQ/log/rabbit@MILAP004-sasl.log"]}}</div>
</div><div><div>** When handler state == {resource,<<"/">>,exchange,<<"amq.rabbitmq.log">>}</div></div><div><div>** Reason == {badarg,[{ets,lookup,</div></div><div><div> [rabbit_exchange,</div>
</div><div><div> {resource,<<"/">>,exchange,</div></div><div><div> <<"amq.rabbitmq.log">>}],</div></div><div><div>
[]},</div></div><div><div> {rabbit_misc,dirty_read,1,[]},</div></div><div><div> {rabbit_basic,publish,1,[]},</div></div><div><div> {rabbit_error_logger,publish1,4,[]},</div>
</div><div><div> {rabbit_error_logger,handle_event,2,[]},</div></div><div><div> {gen_event,server_update,4,</div></div><div><div> [{file,"gen_event.erl"},{line,504}]},</div>
</div><div><div> {gen_event,server_notify,4,</div></div><div><div> [{file,"gen_event.erl"},{line,486}]},</div></div><div><div> {gen_event,handle_msg,5,</div>
</div><div><div> [{file,"gen_event.erl"},{line,248}]}]}</div></div></blockquote><div><br></div><br>_______________________________________________<br>
rabbitmq-discuss mailing list<br>
<a href="mailto:rabbitmq-discuss@lists.rabbitmq.com">rabbitmq-discuss@lists.rabbitmq.com</a><br>
<a href="https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss" target="_blank">https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss</a><br>
<br></blockquote></div><br>