[rabbitmq-discuss] Unable to start RabbitMQ service on Windows 7

Jasdeep Lalli jazlalli at hotmail.com
Tue Jun 11 17:37:48 BST 2013


Hi

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.

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.

The event viewer shows the following message when I attempt to start the 
service


RabbitMQ: Erlang machine stopped instantly (distribution name conflict?). 
The service is not restarted as OnFail is set to ignore.
The RabbitMQ service terminated with the following error: The process 
terminated unexpectedly.


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.


=INFO REPORT==== 11-Jun-2013::17:27:18 ===
Starting RabbitMQ 3.1.1 on Erlang R16B
Copyright (C) 2007-2013 VMware, Inc.
Licensed under the MPL.  See http://www.rabbitmq.com/

=INFO REPORT==== 11-Jun-2013::17:27:18 ===
node           : rabbit at MILAP004
home dir       : C:\Windows
config file(s) : (none)
cookie hash    : okag2j8Q/WLLzXbN96HMJg==
log            : 
C:/Users/jasdeep/AppData/Roaming/RabbitMQ/log/rabbit at MILAP004.log
sasl log       : 
C:/Users/jasdeep/AppData/Roaming/RabbitMQ/log/rabbit at MILAP004-sasl.log
database dir   : 
c:/Users/jasdeep/AppData/Roaming/RabbitMQ/db/rabbit at MILAP004-mnesia

=INFO REPORT==== 11-Jun-2013::17:27:20 ===
Limiting to approx 8092 file handles (7280 sockets)

=WARNING REPORT==== 11-Jun-2013::17:27:20 ===
Only 2048MB of 8139MB memory usable due to limited address space.

=INFO REPORT==== 11-Jun-2013::17:27:20 ===
Memory limit set to 819MB of 8139MB total.

=INFO REPORT==== 11-Jun-2013::17:27:20 ===
Disk free limit set to 1000MB

=INFO REPORT==== 11-Jun-2013::17:27:20 ===
msg_store_transient: using rabbit_msg_store_ets_index to provide index

=INFO REPORT==== 11-Jun-2013::17:27:20 ===
msg_store_persistent: using rabbit_msg_store_ets_index to provide index

=INFO REPORT==== 11-Jun-2013::17:27:20 ===
started TCP Listener on [::]:5672

=ERROR REPORT==== 11-Jun-2013::17:27:20 ===
Error in process <0.212.0> on node 'rabbit at 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... 


=ERROR REPORT==== 11-Jun-2013::17:27:20 ===
** Generic server inet_gethost_native_sup terminating 
** Last message in was {'EXIT',<0.212.0>,
                           {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_native.erl"},
                                     {line,183}]}]}}
** When Server state == {state,inet_gethost_native,undefined,<0.212.0>,
                               {local,inet_gethost_native_sup}}
** Reason for termination == 
** {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_native.erl"},
                                  {line,183}]}]}

=INFO REPORT==== 11-Jun-2013::17:27:20 ===
Error description:
   {case_clause,
       {error,
           {{shutdown,
                {failed_to_start_child,tcp_listener,
                    {could_not_start_server,inet_gethost_native}}},
            {child,undefined,'rabbit_tcp_listener_sup_:::5672',
                {tcp_listener_sup,start_link,
                    [{0,0,0,0,0,0,0,0},
                     5672,
                     [inet6,binary,
                      {packet,raw},
                      {reuseaddr,true},
                      {backlog,128},
                      {nodelay,true},
                      {linger,{true,0}},
                      {exit_on_close,false}],
                     {rabbit_networking,tcp_listener_started,[amqp]},
                     {rabbit_networking,tcp_listener_stopped,[amqp]},
                     {rabbit_networking,start_client,[]},
                     "TCP Listener"]},
                transient,infinity,supervisor,
                [tcp_listener_sup]}}}}

Log files (may contain more information):
   C:/Users/jasdeep/AppData/Roaming/RabbitMQ/log/rabbit at MILAP004.log
   C:/Users/jasdeep/AppData/Roaming/RabbitMQ/log/rabbit at MILAP004-sasl.log

Stack trace:
   [{rabbit_networking,start_listener0,4,[]},
    {rabbit_networking,'-start_listener/4-lc$^0/1-0-',4,[]},
    {rabbit_networking,start_listener,4,[]},
    {rabbit_networking,'-boot_tcp/0-lc$^0/1-0-',1,[]},
    {rabbit_networking,boot_tcp,0,[]},
    {rabbit_networking,boot,0,[]},
    {rabbit,'-run_boot_step/1-lc$^1/1-1-',1,[]},
    {rabbit,run_boot_step,1,[]}]


=INFO REPORT==== 11-Jun-2013::17:27:21 ===
Error description:
   {could_not_start,rabbit,
    {bad_return,
     {{rabbit,start,[normal,[]]},
      {'EXIT',
       {rabbit,failure_during_boot,
        {case_clause,
         {error,
          {{shutdown,
            {failed_to_start_child,tcp_listener,
             {could_not_start_server,inet_gethost_native}}},
           {child,undefined,'rabbit_tcp_listener_sup_:::5672',
            {tcp_listener_sup,start_link,
             [{0,0,0,0,0,0,0,0},
              5672,
              [inet6,binary,
               {packet,raw},
               {reuseaddr,true},
               {backlog,128},
               {nodelay,true},
               {linger,{true,0}},
               {exit_on_close,false}],
              {rabbit_networking,tcp_listener_started,[amqp]},
              {rabbit_networking,tcp_listener_stopped,[amqp]},
              {rabbit_networking,start_client,[]},
              "TCP Listener"]},
            transient,infinity,supervisor,
            [tcp_listener_sup]}}}}}}}}}

Log files (may contain more information):
   C:/Users/jasdeep/AppData/Roaming/RabbitMQ/log/rabbit at MILAP004.log
   C:/Users/jasdeep/AppData/Roaming/RabbitMQ/log/rabbit at MILAP004-sasl.log


=ERROR REPORT==== 11-Jun-2013::17:27:21 ===
** gen_event handler rabbit_error_logger crashed.
** Was installed in error_logger
** Last event was: {info_msg,<0.30.0>,
                    {<0.2.0>,
                     "Error description:~n   ~p~n~nLog files (may contain 
more information):~n   ~s~n   ~s~n~n",
                     [{could_not_start,rabbit,
                       {bad_return,
                        {{rabbit,start,[normal,[]]},
                         {'EXIT',
                          {rabbit,failure_during_boot,
                           {case_clause,
                            {error,
                             {{shutdown,
                               {failed_to_start_child,tcp_listener,
                                
{could_not_start_server,inet_gethost_native}}},
                              {child,undefined,
                               'rabbit_tcp_listener_sup_:::5672',
                               {tcp_listener_sup,start_link,
                                [{0,0,0,0,0,0,0,0},
                                 5672,
                                 [inet6,binary,
                                  {packet,raw},
                                  {reuseaddr,true},
                                  {backlog,128},
                                  {nodelay,true},
                                  {linger,{true,0}},
                                  {exit_on_close,false}],
                                 {rabbit_networking,tcp_listener_started,
                                  [amqp]},
                                 {rabbit_networking,tcp_listener_stopped,
                                  [amqp]},
                                 {rabbit_networking,start_client,[]},
                                 "TCP Listener"]},
                               transient,infinity,supervisor,
                               [tcp_listener_sup]}}}}}}}}},
                      
"C:/Users/jasdeep/AppData/Roaming/RabbitMQ/log/rabbit at MILAP004.log",
                      
"C:/Users/jasdeep/AppData/Roaming/RabbitMQ/log/rabbit at MILAP004-sasl.log"]}}
** When handler state == {resource,<<"/">>,exchange,<<"amq.rabbitmq.log">>}
** Reason == {badarg,[{ets,lookup,
                           [rabbit_exchange,
                            {resource,<<"/">>,exchange,
                                      <<"amq.rabbitmq.log">>}],
                           []},
                      {rabbit_misc,dirty_read,1,[]},
                      {rabbit_basic,publish,1,[]},
                      {rabbit_error_logger,publish1,4,[]},
                      {rabbit_error_logger,handle_event,2,[]},
                      {gen_event,server_update,4,
                                 [{file,"gen_event.erl"},{line,504}]},
                      {gen_event,server_notify,4,
                                 [{file,"gen_event.erl"},{line,486}]},
                      {gen_event,handle_msg,5,
                                 [{file,"gen_event.erl"},{line,248}]}]}


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20130611/b4cbf596/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rabbit at milap004.log
Type: application/octet-stream
Size: 26447 bytes
Desc: not available
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20130611/b4cbf596/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rabbit at milap004-sasl.log
Type: application/octet-stream
Size: 29670 bytes
Desc: not available
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20130611/b4cbf596/attachment-0001.obj>


More information about the rabbitmq-discuss mailing list