[rabbitmq-discuss] Diagnosing a problem

Bryan Murphy bmurphy1976 at gmail.com
Wed Jul 29 03:52:41 BST 2009

I've still got the folder but it does not have a .previous file in it.  I
played around with it a bit, but couldn't get it to come up.  Unfortunately,
the instance we ran it on is a bit outdated and I don't have any
corresponding server I can run it on that is an exact 1 to 1 duplicate of
the machine where this occurred.  I don't know if that matters.  I could try
again on the other original machine, but it's a production box so I'm
inclined not to... :)

On Tue, Jul 28, 2009 at 8:18 PM, Matthias Radestock <matthias at lshift.net>wrote:

> Bryan,
> Bryan Murphy wrote:
>> This was in my rabbitmq startup error log: [...] starting persister
>> ...{"init terminating in
>> do_boot",{{nocatch,{error,{cannot_start_application,rabbit,{bad_return,{{rabbit,start,[normal,[]]},{'EXIT',{{badmatch,{error,{{function_clause,[{rabbit_persister,replay,[{corrupt_log_file,"/var/lib/rabbitmq/mnesia/rabbit/rabbit_persister.LOG"},rabbit_persister,error,{psnapshot,1,{dict,0,16,16,8,80,48,{[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[]},{{[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[]}}},192,193}]},{rabbit_persister,internal_load_snapshot,2},{rabbit_persister,init,1},{gen_server,init_it,6},{proc_lib,init_p,5}]},{child,undefined,rabbit_persister,{rabbit_persister,start_link,[]},transient,100,worker,[rabbit_persister]}}}},[{rabbit,start_child,1},{rabbit,'-start/2-fun-4-',0},{rabbit,'-start/2-fun-0-',1},{lists,foreach,2},{rabbit,start,2},{application_master,start_it_old,4}]}}}}}}},[{init,start_it,1},{init,start_em,1}]}}
> Interesting! A corrupted persister log file. I don't think we've seen that
> particular error before.
> Do you still have that file? Also, is there a .previous file in the same
> dir? If so, replacing the corrupted file with the .previous file would
> probably allow you to recover the messages.
> The replacing really should happen automatically. This has been discussed
> as a possible enhancement on the mailing list before, but the new persister
> is going to be ready soon, so we are not planning any enhancements to the
> old one.
> Regards,
> Matthias
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20090728/1ebb7274/attachment.htm 

More information about the rabbitmq-discuss mailing list