[rabbitmq-discuss] Restore parts of rabbitmq mnesia database after crash

Christopher Grebs cgrebs at googlemail.com
Mon Nov 28 17:34:47 GMT 2011


Hey there everyone,

we had a problem with our rabbitmq server that crashed and did not
start properly but aborted with this message:

Mnesia(rabbit at mq01): ** ERROR ** (core dumped to file: "/var/lib/
rabbitmq/MnesiaCore.rabbit at mq01_1322_497494_760300")
 ** FATAL ** Failed to merge schema: Bad cookie in table definition
rabbit_queue: rabbit at mq01 = {cstruct,rabbit_queue,set,
[rabbit at mq02,rabbit at mq01],[],[],0,read_write,[],[],false,amqqueue,
[name,durable,auto_delete,exclusive_owner,arguments,pid],[],[],
{{1298,52135,154226},rabbit at mq02},{{5,0},{rabbit at mq02,
{1312,883667,389675}}}}, rabbit at mq02 = {cstruct,rabbit_queue,set,
[rabbit at mq02],[],[],0,read_write,[],[],false,amqqueue,
[name,durable,auto_delete,exclusive_owner,arguments,pid],[],[],
{{1318,853352,227541},rabbit at mq02},{{2,0},[]}}


Indeed the message is kinda not the problem because we were working
with some partly-configured rabbitmq-cluster that was on the one hand
active and on the other hand not active so maybe this was expected.
Once I backed up the old mnesia database and created a new one
everything started to work properly.

But in fact it may happened that there was some required data in the
mnesia database and so the question is if there is any way to get out
messages/userdata/configuration of the "old" mnesia database?

Thanks!

Best,
Christopher.


More information about the rabbitmq-discuss mailing list