<div dir="ltr">On 09/12/2013 15:50, Tiziana Stoesselli wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
                  [{rabbit_queue_index,parse_pub<wbr>_record_body,<br>
                       [<<0,0,0,0,0,0,0,0>>]},<br>
                   {rabbit_queue_index,load_jour<wbr>nal_entries,1},<br>
</blockquote>
<br>
The queue index has ended up with a whole load of zeroes appended to it.<br>
<br>
We've seen this happen a few times, usually associated with OS crashes or power loss or similar.<br>
<br>
We changed the queue index file format to be more resilient to this sort
 of corruption in 3.2.0. I'm not sure if there's anything you can do 
though if you've already got a corrupt file with an older version of 
RabbitMQ apart from reset the node and start again.<br>
<br>
Cheers, Simon<br><br>Il giorno lunedì 9 dicembre 2013 16:50:04 UTC+1, Tiziana Stoesselli ha scritto:<blockquote class="gmail_quote" style="margin: 0;margin-left: 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;"><div dir="ltr">Anyone can help me?<br><br>Activating RabbitMQ plugins ...<br>0 plugins activated:<br><br><br>+---+   +---+<br>|   |   |   |<br>|   |   |   |<br>|   |   |   |<br>|   +---+   +-------+<br>|                   |<br>| RabbitMQ  +---+   |<br>|           |   |   |<br>|   v2.8.4  +---+   |<br>|                   |<br>+-------------------+<br>AMQP 0-9-1 / 0-9 / 0-8<br>Copyright (C) 2007-2012 VMware, Inc.<br>Licensed under the MPL.  See <a href="http://www.rabbitmq.com/" target="_blank" onmousedown="this.href='http://www.google.com/url?q\75http%3A%2F%2Fwww.rabbitmq.com%2F\46sa\75D\46sntz\0751\46usg\75AFQjCNHcqL0nBWlBoc0flT6fhKWU84u4bQ';return true;" onclick="this.href='http://www.google.com/url?q\75http%3A%2F%2Fwww.rabbitmq.com%2F\46sa\75D\46sntz\0751\46usg\75AFQjCNHcqL0nBWlBoc0flT6fhKWU84u4bQ';return true;">http://www.rabbitmq.com/</a><br><br>node           : Name@zenossoc<br>app descriptor : /usr/lib/rabbitmq/lib/<wbr>rabbitmq_server-2.8.4/sbin/../<wbr>ebin/rabbit.app<br>home dir       : /var/lib/rabbitmq<br>config file(s) : (none)<br>cookie hash    : otG5wqMg04+qfhmRCVkglQ==<br>log            : /var/log/rabbitmq/Name.log<br>sasl log       : /var/log/rabbitmq/Name-sasl.<wbr>log<br>database dir   : /var/lib/rabbitmq/mnesia/Name<br>erlang version : 5.8.5<br><br>-- rabbit boot start<br>starting file handle cache server                        <wbr>             ...done<br>starting worker pool                          <wbr>                        ...done<br>starting database                      <wbr>                               ...done<br>starting database sync                          <wbr>                      ...done<br>starting codec correctness check                         <wbr>             ...done<br>-- external infrastructure ready<br>starting plugin registry                      <wbr>                        ...done<br>starting auth mechanism cr-demo                       <wbr>                ...done<br>starting auth mechanism amqplain                      <wbr>                ...done<br>starting auth mechanism plain                         <wbr>                ...done<br>starting statistics event manager                       <wbr>              ...done<br>starting logging server                        <wbr>                       ...done<br>starting exchange type direct                        <wbr>                 ...done<br>starting exchange type fanout                        <wbr>                 ...done<br>starting exchange type headers                       <wbr>                 ...done<br>starting exchange type topic                         <wbr>                 ...done<br>-- kernel ready<br>starting alarm handler                       <wbr>                         ...done<br>starting node monitor                       <wbr>                          ...done<br>starting cluster delegate                      <wbr>                       ...done<br>starting guid generator                     <wbr>                          ...done<br>starting memory monitor                       <wbr>                        ...done<br>-- core initialized<br>starting empty DB check                         <wbr>                      ...done<br>starting exchange, queue and binding recovery                      <wbr>   ...<br><br>BOOT FAILED<br>===========<br><br>Error description:<br>   {badmatch,<br>       {error,<br>           {{{function_clause,<br>                 [{rabbit_queue_index,parse_<wbr>pub_record_body,<br>                      [<<0,0,0,0,0,0,0,0>>]},<br>                  {rabbit_queue_index,load_<wbr>journal_entries,1},<br>                  {rabbit_queue_index,recover_<wbr>journal,1},<br>                  {rabbit_queue_index,scan_<wbr>segments,3},<br>                  {rabbit_queue_index,queue_<wbr>index_walker_reader,2},<br>                  {rabbit_queue_index,'-queue_<wbr>index_walker/1-fun-0-',2},<br>                  {worker_pool_worker,handle_<wbr>cast,2},<br>                  {gen_server2,handle_msg,2}]},<br>             {gen_server2,call,[<0.184.0>,<wbr>out,infinity]}},<br>            {child,undefined,msg_store_<wbr>persistent,<br>                {rabbit_msg_store,start_link,<br>                    [msg_store_persistent,"/var/<wbr>lib/rabbitmq/mnesia/Name",[],<br>                     {#Fun<rabbit_queue_index.2.<wbr>89252852>,<br>                      {start,<br>                          [{resource,<<"/zenoss">>,<wbr>queue,<br>                               <<"zenoss.queues.zep.<wbr>heartbeats">>},<br>                           {resource,<<"/zenoss">>,queue,<br>                               <<"zenoss.queues.zep.migrated.<wbr>archive">>},<br>                           {resource,<<"/zenoss">>,queue,<br>                               <<"zenoss.queues.zep.<wbr>zenevents">>},<br>                           {resource,<<"/zenoss">>,queue,<wbr><<"celery">>},<br>                           {resource,<<"/zenoss">>,queue,<br>                               <<"zenoss.queues.zep.<wbr>modelchange">>},<br>                           {resource,<<"/zenoss">>,queue,<br>                               <<"zenoss.queues.zep.<wbr>rawevents">>},<br>                           {resource,<<"/zenoss">>,queue,<br>                               <<"zenoss.queues.zep.migrated.<wbr>summary">>},<br>                           {resource,<<"/zenoss">>,queue,<br>                               <<"zenoss.queues.zep.signal">><wbr>}]}}]},<br>                transient,4294967295,worker,<br>                [rabbit_msg_store]}}}}<br><br>Log files (may contain more information):<br>   /var/log/rabbitmq/Name.log<br>   /var/log/rabbitmq/Name-sasl.<wbr>log<br><br>Stack trace:<br>   [{rabbit_variable_queue,start_<wbr>msg_store,2},<br>    {rabbit_amqqueue,start,0},<br>    {rabbit,recover,0},<br>    {rabbit,'-run_boot_step/1-lc$^<wbr>1/1-1-',1},<br>    {rabbit,run_boot_step,1},<br>    {rabbit,'-start/2-lc$^0/1-0-',<wbr>1},<br>    {rabbit,start,2},<br>    {application_master,start_it_<wbr>old,4}]<br><br>{"Kernel pid terminated",application_<wbr>controller,"{application_<wbr>start_failure,rabbit,{bad_<wbr>return,{{rabbit,start,[normal,<wbr>[]]},{'EXIT',{rabbit,failure_<wbr>during_boot}}}}}"}<br><br></div></blockquote></div>