Rabbit couldn&#39;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">&lt;<a href="mailto:jazlalli@hotmail.com" target="_blank">jazlalli@hotmail.com</a>&gt;</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&#39;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&#39;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&#39;s more you&#39;d like me to do, I&#39;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 &lt;0.212.0&gt; on node &#39;rabbit@MILAP004&#39; with exit value: {eacces,[{erlang,open_port,[{spawn,&quot;inet_gethost 4 &quot;},[{packet,4},eof,binary]],[]},{inet_gethost_native,do_open_port,2,[{file,&quot;inet_gethost_native.erl&quot;},{line,400}]},{inet_gethost_native,server_init,2,[{file,&quot;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 {&#39;EXIT&#39;,&lt;0.212.0&gt;,</div>
</div><div><div>                           {eacces,</div></div><div><div>                               [{erlang,open_port,</div></div><div><div>                                    [{spawn,&quot;inet_gethost 4 &quot;},</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,&quot;inet_gethost_native.erl&quot;},</div></div><div><div>                                     {line,400}]},</div></div><div><div>                                {inet_gethost_native,server_init,2,</div>
</div><div><div>                                    [{file,&quot;inet_gethost_native.erl&quot;},</div></div><div><div>                                     {line,183}]}]}}</div></div><div><div>** When Server state == {state,inet_gethost_native,undefined,&lt;0.212.0&gt;,</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,&quot;inet_gethost 4 &quot;},[{packet,4},eof,binary]],</div>
</div><div><div>                    []},</div></div><div><div>            {inet_gethost_native,do_open_port,2,</div></div><div><div>                                 [{file,&quot;inet_gethost_native.erl&quot;},</div></div>
<div><div>                                  {line,400}]},</div></div><div><div>            {inet_gethost_native,server_init,2,</div></div><div><div>                                 [{file,&quot;inet_gethost_native.erl&quot;},</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,&#39;rabbit_tcp_listener_sup_:::5672&#39;,</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>                     &quot;TCP Listener&quot;]},</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,&#39;-start_listener/4-lc$^0/1-0-&#39;,4,[]},</div></div>
<div><div>    {rabbit_networking,start_listener,4,[]},</div></div><div><div>    {rabbit_networking,&#39;-boot_tcp/0-lc$^0/1-0-&#39;,1,[]},</div></div><div><div>    {rabbit_networking,boot_tcp,0,[]},</div></div><div><div>    {rabbit_networking,boot,0,[]},</div>
</div><div><div>    {rabbit,&#39;-run_boot_step/1-lc$^1/1-1-&#39;,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>      {&#39;EXIT&#39;,</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,&#39;rabbit_tcp_listener_sup_:::5672&#39;,</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>              &quot;TCP Listener&quot;]},</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,&lt;0.30.0&gt;,</div></div><div><div>                    {&lt;0.2.0&gt;,</div></div><div><div>                     &quot;Error description:~n   ~p~n~nLog files (may contain more information):~n   ~s~n   ~s~n~n&quot;,</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>                         {&#39;EXIT&#39;,</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>                               &#39;rabbit_tcp_listener_sup_:::5672&#39;,</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>                                 &quot;TCP Listener&quot;]},</div></div><div><div>                               transient,infinity,supervisor,</div></div><div><div>                               [tcp_listener_sup]}}}}}}}}},</div>
</div><div><div>                      &quot;C:/Users/jasdeep/AppData/Roaming/RabbitMQ/log/rabbit@MILAP004.log&quot;,</div></div><div><div>                      &quot;C:/Users/jasdeep/AppData/Roaming/RabbitMQ/log/rabbit@MILAP004-sasl.log&quot;]}}</div>
</div><div><div>** When handler state == {resource,&lt;&lt;&quot;/&quot;&gt;&gt;,exchange,&lt;&lt;&quot;amq.rabbitmq.log&quot;&gt;&gt;}</div></div><div><div>** Reason == {badarg,[{ets,lookup,</div></div><div><div>                           [rabbit_exchange,</div>
</div><div><div>                            {resource,&lt;&lt;&quot;/&quot;&gt;&gt;,exchange,</div></div><div><div>                                      &lt;&lt;&quot;amq.rabbitmq.log&quot;&gt;&gt;}],</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,&quot;gen_event.erl&quot;},{line,504}]},</div>
</div><div><div>                      {gen_event,server_notify,4,</div></div><div><div>                                 [{file,&quot;gen_event.erl&quot;},{line,486}]},</div></div><div><div>                      {gen_event,handle_msg,5,</div>
</div><div><div>                                 [{file,&quot;gen_event.erl&quot;},{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>