Elizabeth Liao | 29 Jun 2012 20:30

Failure starting up after power pulled from machine

Hi,

We're trying to debug a rabbitmq crash to prevent it in the future.  Under normal operations, we get no errors
but in one instance after a machine's power was pulled, we got a rabbitmq crash upon start up.  The only way to
recover from this was to delete the msg_store_persistent and queues directory.  Any suggestions on where
to start would be helpful.  The log snippets that seem relevant are below.

Thanks!

Liz

--------------------------------------------------------
From startup_log:

BOOT FAILED
===========

Error description:
   {badmatch,
       {error,
           {{{function_clause,
                 [{rabbit_queue_index,journal_minus_segment1,
                      [{{<<0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0>>,
                         {message_properties,undefined,false},
                         true},
                        no_del,no_ack},
                       {{<<196,10,127,9,24,54,237,24,238,111,41,82,34,232,114,
                           155>>,
                         {message_properties,undefined,false},
                         true},
(Continue reading)

Matthias Radestock | 2 Jul 2012 14:24
Favicon

Re: Failure starting up after power pulled from machine

Liz,

On 29/06/12 19:30, Elizabeth Liao wrote:
> We're trying to debug a rabbitmq crash to prevent it in the future.
> [...]

What version of RabbitMQ are you running? We fixed some bugs in the area 
referenced by your error report a few releases ago, so if you are not 
running the latest version then it's worth upgrading.

Matthias.
Elizabeth Liao | 2 Jul 2012 16:24

Re: Failure starting up after power pulled from machine

We are currently running RabbitMQ 2.8.2
________________________________________
From: Matthias Radestock [matthias@...]
Sent: Monday, July 02, 2012 8:24 AM
To: Elizabeth Liao
Cc: rabbitmq-discuss@...
Subject: Re: [rabbitmq-discuss] Failure starting up after power pulled from machine

Liz,

On 29/06/12 19:30, Elizabeth Liao wrote:
> We're trying to debug a rabbitmq crash to prevent it in the future.
> [...]

What version of RabbitMQ are you running? We fixed some bugs in the area
referenced by your error report a few releases ago, so if you are not
running the latest version then it's worth upgrading.

Matthias.
Matthias Radestock | 2 Jul 2012 16:34
Favicon

Re: Failure starting up after power pulled from machine

Liz,

On 02/07/12 15:24, Elizabeth Liao wrote:
> We are currently running RabbitMQ 2.8.2

Hmm. That should be recent enough.

Do you still have a copy of the $RABBITMQ_MNESIA_BASE dir tree from the 
time of the fault?

Matthias.
Elizabeth Liao | 2 Jul 2012 17:31

Re: Failure starting up after power pulled from machine

Unfortunately, I do not.  I'll try to reproduce it and grab the appropriate files/logs.
________________________________________
From: Matthias Radestock [matthias@...]
Sent: Monday, July 02, 2012 10:34 AM
To: Elizabeth Liao
Cc: rabbitmq-discuss@...
Subject: Re: [rabbitmq-discuss] Failure starting up after power pulled from machine

Liz,

On 02/07/12 15:24, Elizabeth Liao wrote:
> We are currently running RabbitMQ 2.8.2

Hmm. That should be recent enough.

Do you still have a copy of the $RABBITMQ_MNESIA_BASE dir tree from the
time of the fault?

Matthias.

Gmane