<div dir="ltr"><p>I&#39;m getting error messages like this from the server. Nothing works till I restart the broker:</p><p><br></p><p>Got response code 500 with body </p><h1>Internal Server Error</h1>The server encountered an error while processing this request:<br>
<pre>{error,badarg,
       [{ets,lookup,[rabbit_user,&lt;&lt;&quot;guest&quot;&gt;&gt;],[]},
        {rabbit_misc,dirty_read,1,[]},
        {rabbit_auth_backend_internal,internal_check_user_login,2,[]},
        {rabbit_access_control,&#39;-check_user_login/2-fun-0-&#39;,4,[]},
        {lists,foldl,3,[{file,&quot;lists.erl&quot;},{line,1197}]},
        {rabbit_mgmt_util,is_authorized,4,[]},
        {webmachine_resource,resource_call,3,[]},
        {webmachine_resource,do,3,[]}]}<br><br><br><br></pre><pre><span style="font-family:arial,helvetica,sans-serif">The rabbit@&lt;host&gt;.log file from around the time shows:</span><br><br>=ERROR REPORT==== 12-Feb-2013::10:30:08 ===<br>
Mnesia(rabbit@mq1): ** ERROR ** (core dumped to file: &quot;/home/mpietrek/MnesiaCore.rabbit@mq1_1360_693808_817246&quot;)<br> ** FATAL ** {error,{&quot;Cannot rename disk_log file&quot;,latest_log,<br>                     &quot;/home/mpietrek/work/var/lib/rabbit@mq1/PREVIOUS.LOG&quot;,<br>
                     {log_header,trans_log,&quot;4.3&quot;,&quot;4.7&quot;,rabbit@mq1,<br>                                 {1360,693808,799354}},<br>                     {file_error,&quot;/home/mpietrek/work/var/lib/rabbit@mq1/PREVIOUS.LOG&quot;,<br>
                                 enoent}}}<br><br>=ERROR REPORT==== 12-Feb-2013::10:30:18 ===<br>** Generic server mnesia_subscr terminating <br>** Last message in was {&#39;EXIT&#39;,&lt;0.129.0&gt;,killed}<br>** When Server state == {state,&lt;0.129.0&gt;,131092}<br>
** Reason for termination == <br>** killed<br><br>=ERROR REPORT==== 12-Feb-2013::10:30:18 ===<br>** gen_event handler mnesia_event crashed.<br>** Was installed in mnesia_event<br>** Last event was: {mnesia_system_event,<br>
                       {mnesia_info,&quot;~p terminated: ~p~n&quot;,<br>                           [mnesia_recover,killed]}}<br>** When handler state == {state,[],false,[]}<br>** Reason == {terminated,<br>                 [{io,format,<br>
                      [&lt;0.125.0&gt;,&quot;Mnesia(~p): ~p terminated: ~p~n&quot;,<br>                       [rabbit@mq1,mnesia_recover,killed]],<br>                      []},<br>                  {mnesia_event,handle_system_event,2,<br>
                      [{file,&quot;mnesia_event.erl&quot;},{line,160}]},<br>                  {mnesia_event,handle_call,2,<br>                      [{file,&quot;mnesia_event.erl&quot;},{line,77}]},<br>                  {gen_event,server_call_update,3,<br>
                      [{file,&quot;gen_event.erl&quot;},{line,617}]},<br>                  {gen_event,server_call,4,<br>                      [{file,&quot;gen_event.erl&quot;},{line,566}]},<br>                  {gen_event,handle_msg,5,[{file,&quot;gen_event.erl&quot;},{line,258}]},<br>
                  {proc_lib,init_p_do_apply,3,<br>                      [{file,&quot;proc_lib.erl&quot;},{line,227}]}]}<br><br>=ERROR REPORT==== 12-Feb-2013::10:30:18 ===<br>** gen_event handler rabbit_error_logger crashed.<br>
** Was installed in error_logger<br>** Last event was: {error,&lt;0.125.0&gt;,<br>                       {&lt;0.12681.17&gt;,<br>                        &quot;** gen_event handler ~p crashed.~n** Was installed in ~p~n** Last event was: ~p~n** When handler state == ~p~n** Reason == ~p~n&quot;,<br>
                        [mnesia_event,mnesia_event,<br>                         {mnesia_system_event,<br>                             {mnesia_info,&quot;~p terminated: ~p~n&quot;,<br>                                 [mnesia_recover,killed]}},<br>
                         {state,[],false,[]},<br>                         {terminated,<br>                             [{io,format,<br>                                  [&lt;0.125.0&gt;,<br>                                   &quot;Mnesia(~p): ~p terminated: ~p~n&quot;,<br>
                                   [rabbit@mq1,mnesia_recover,killed]],<br>                                  []},<br>                              {mnesia_event,handle_system_event,2,<br>                                  [{file,&quot;mnesia_event.erl&quot;},{line,160}]},<br>
                              {mnesia_event,handle_call,2,<br>                                  [{file,&quot;mnesia_event.erl&quot;},{line,77}]},<br>                              {gen_event,server_call_update,3,<br>                                  [{file,&quot;gen_event.erl&quot;},{line,617}]},<br>
                              {gen_event,server_call,4,<br>                                  [{file,&quot;gen_event.erl&quot;},{line,566}]},<br>                              {gen_event,handle_msg,5,<br>                                  [{file,&quot;gen_event.erl&quot;},{line,258}]},<br>
                              {proc_lib,init_p_do_apply,3,<br>                                  [{file,&quot;proc_lib.erl&quot;},{line,227}]}]}]}}<br>** When handler state == {resource,&lt;&lt;&quot;/&quot;&gt;&gt;,exchange,&lt;&lt;&quot;amq.rabbitmq.log&quot;&gt;&gt;}<br>
** Reason == {badarg,[{ets,lookup,<br>                           [rabbit_exchange,<br>                            {resource,&lt;&lt;&quot;/&quot;&gt;&gt;,exchange,<br>                                      &lt;&lt;&quot;amq.rabbitmq.log&quot;&gt;&gt;}],<br>
                           []},<br>                      {rabbit_misc,dirty_read,1,[]},<br>                      {rabbit_basic,publish,1,[]},<br>                      {rabbit_error_logger,publish1,4,[]},<br>                      {rabbit_error_logger,handle_event,2,[]},<br>
                      {gen_event,server_update,4,<br>                                 [{file,&quot;gen_event.erl&quot;},{line,504}]},<br>                      {gen_event,server_notify,4,<br>                                 [{file,&quot;gen_event.erl&quot;},{line,486}]},<br>
                      {gen_event,handle_msg,5,<br>                                 [{file,&quot;gen_event.erl&quot;},{line,248}]}]}<br><br>=INFO REPORT==== 12-Feb-2013::10:30:18 ===<br>    application: mnesia<br>    exited: shutdown<br>
    type: temporary<br><br><br>=ERROR REPORT==== 12-Feb-2013::10:30:18 ===<br>** Generic server &lt;0.12822.13&gt; terminating<br>** Last message in was {&#39;$gen_cast&#39;,<br>                           {method,<br>                               {&#39;basic.get&#39;,0,&lt;&lt;&quot;charon&quot;&gt;&gt;,false},<br>
                               none,noflow}}<br>** When Server state == {ch,running,rabbit_framing_amqp_0_9_1,1,&lt;0.12816.13&gt;,<br>                            &lt;0.12820.13&gt;,&lt;0.12816.13&gt;,<br>                            &lt;&lt;&quot;<a href="http://192.168.78.21:38843">192.168.78.21:38843</a> -&gt; <a href="http://192.168.78.16:5672">192.168.78.16:5672</a>&quot;&gt;&gt;,<br>
                            {token,&lt;0.12821.13&gt;,false},<br>                            in_progress,1,<br>                            {[],[]},<br>                            {[],[]},<br>                            [],[],<br>
                            {user,&lt;&lt;&quot;guest&quot;&gt;&gt;,<br>                                [administrator],<br>                                rabbit_auth_backend_internal,<br>                                {internal_user,&lt;&lt;&quot;guest&quot;&gt;&gt;,<br>
                                    &lt;&lt;93,38,120,113,16,14,172,225,248,216,74,<br>                                      218,230,161,150,138,14,49,216,172&gt;&gt;,<br>                                    [administrator]}},<br>
                            &lt;&lt;&quot;/&quot;&gt;&gt;,&lt;&lt;&gt;&gt;,<br>                            {dict,0,16,16,8,80,48,<br>                                {[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],<br>                                 []},<br>
                                {{[],[],[],[],[],[],[],[],[],[],[],[],[],[],<br>                                  [],[]}}},<br>                            {dict,0,16,16,8,80,48,<br>                                {[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],<br>
                                 []},<br>                                {{[],[],[],[],[],[],[],[],[],[],[],[],[],[],<br>                                  [],[]}}},<br>                            {set,0,16,16,8,80,48,<br>
                                {[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],<br>                                 []},<br>                                {{[],[],[],[],[],[],[],[],[],[],[],[],[],[],<br>                                  [],[]}}},<br>
                            {dict,0,16,16,8,80,48,<br>                                {[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],<br>                                 []},<br>                                {{[],[],[],[],[],[],[],[],[],[],[],[],[],[],<br>
                                  [],[]}}},<br>                            {set,0,16,16,8,80,48,<br>                                {[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],<br>                                 []},<br>
                                {{[],[],[],[],[],[],[],[],[],[],[],[],[],[],<br>                                  [],[]}}},<br>                            &lt;0.12814.13&gt;,<br>                            {state,fine,5000,#Ref&lt;0.0.46.55948&gt;},<br>
                            false,1,<br>                            {{0,nil},{0,nil}},<br>                            [],<br>                            [{&lt;&lt;&quot;consumer_cancel_notify&quot;&gt;&gt;,bool,true},<br>
                             {&lt;&lt;&quot;publisher_confirms&quot;&gt;&gt;,bool,true},<br>                             {&lt;&lt;&quot;basic.nack&quot;&gt;&gt;,bool,true}],<br>                            none}<br>** Reason for termination == <br>
** {badarg,[{ets,lookup,<br>                 [rabbit_queue,{resource,&lt;&lt;&quot;/&quot;&gt;&gt;,queue,&lt;&lt;&quot;charon&quot;&gt;&gt;}],<br>                 []},<br>            {rabbit_misc,dirty_read,1,[]},<br>            {rabbit_amqqueue,with,3,[]},<br>
            {rabbit_channel,handle_method,3,[]},<br>            {rabbit_channel,handle_cast,2,[]},<br>            {gen_server2,handle_msg,2,[]},<br>            {proc_lib,init_p_do_apply,3,[{file,&quot;proc_lib.erl&quot;},{line,227}]}]}<br>
<br><br></pre><pre><br></pre></div>