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... :)<div>
<br></div><div>Bryan<br><div><br><div class="gmail_quote">On Tue, Jul 28, 2009 at 8:18 PM, Matthias Radestock <span dir="ltr"><<a href="mailto:matthias@lshift.net">matthias@lshift.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Bryan,<br>
<br>
Bryan Murphy wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
This was in my rabbitmq startup error log: [...] starting persister<div class="im"><br>
...{"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}]}}<br>
</div></blockquote>
<br>
Interesting! A corrupted persister log file. I don't think we've seen that particular error before.<br>
<br>
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.<br>
<br>
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.<br>
<br>
Regards,<br><font color="#888888">
<br>
Matthias<br>
</font></blockquote></div><br></div></div>