Hello,<br><br>I am using a persistent queue to store different URL. After a crash of the Rabbitmq server, I tried to restart it but it get stuck on the step of recovering the different exchanges, queues and bindings. I have checked in /msg_store_persistent directory of the node and it seems the data are still here.<br>
<br>So here little information about my configuration:<br>I am using Ubuntu 10.04 64-bit and Rabbitmq 2.7.0<br><br>Here is a copy of the startup_log :<br><div style="margin-left: 40px;">-- rabbit boot start<br>starting file handle cache server������������������������������������ ...done<br>
starting worker pool������������������������������������������������� ...done<br>starting database���������������������������������������������������� ...done<br>starting codec correctness check������������������������������������� ...done<br>
-- external infrastructure ready<br>starting plugin registry��������������������������������������������� ...done<br>starting auth mechanism cr-demo�������������������������������������� ...done<br>starting auth mechanism amqplain������������������������������������� ...done<br>
starting auth mechanism plain���������������������������������������� ...done<br>starting statistics event manager������������������������������������ ...done<br>starting logging server���������������������������������������������� ...done<br>
starting exchange type direct���������������������������������������� ...done<br>starting exchange type fanout���������������������������������������� ...done<br>starting exchange type headers��������������������������������������� ...done<br>
starting exchange type topic����������������������������������������� ...done<br>-- kernel ready<br>starting alarm handler����������������������������������������������� ...done<br>starting node monitor������������������������������������������������ ...done<br>
starting cluster delegate�������������������������������������������� ...done<br>starting guid generator���������������������������������������������� ...done<br>starting memory monitor���������������������������������������������� ...done<br>
-- core initialized<br>starting empty DB check���������������������������������������������� ...done<br>starting management agent�������������������������������������������� ...done<br>starting exchange, queue and binding recovery������������������������ ...<br>
</div><br><br>And here is a copy of the crash report on start:<br><div style="margin-left: 40px;">=CRASH REPORT==== 28-Nov-2011::09:09:36 ===<br>� crasher:<br>��� initial call: gen:init_it/6<br>��� pid: &lt;0.155.0&gt;<br>
��� registered_name: []<br>��� exception exit: {{badmatch,eof},<br>�������������������� [{rabbit_queue_index,load_segment,2},<br>��������������������� {rabbit_queue_index,segment_entries_foldr,3},<br>��������������������� {rabbit_queue_index,<br>
������������������������� &#39;-queue_index_walker_reader/2-lc$^0/1-0-&#39;,4},<br>��������������������� {rabbit_queue_index,queue_index_walker_reader,2},<br>��������������������� {worker_pool_worker,handle_cast,2},<br>��������������������� {gen_server2,handle_msg,2},<br>
��������������������� {proc_lib,init_p_do_apply,3}]}<br>����� in function� gen_server2:terminate/3<br>��� ancestors: [worker_pool_sup,rabbit_sup,&lt;0.136.0&gt;]<br>��� messages: []<br>��� links: [#Port&lt;0.4788&gt;,&lt;0.151.0&gt;,#Port&lt;0.4724&gt;]<br>
��� dictionary: [{{&quot;/var/lib/rabbitmq/mnesia/rabbit@curtiz/queues/67BZ7QWHYIY1S405V2E0881G9/journal.jif&quot;,<br>������������������� fhc_file},<br>������������������ {file,1,true}},<br>����������������� {{xtype_to_module,topic},rabbit_exchange_type_topic},<br>
����������������� {{#Ref&lt;0.0.0.556&gt;,fhc_handle},<br>������������������ {handle,{file_descriptor,prim_file,{#Port&lt;0.4724&gt;,15}},<br>�������������������������� 0,false,0,infinity,[],true,<br>�������������������������� &quot;/var/lib/rabbitmq/mnesia/rabbit@curtiz/queues/67BZ7QWHYIY1S405V2E0881G9/journal.jif&quot;,<br>
�������������������������� [write,binary,raw,read],<br>�������������������������� [{write_buffer,infinity}],<br>�������������������������� true,true,<br>�������������������������� {1322,500175,181273}}},<br>����������������� {worker_pool_worker,true},<br>
����������������� {{#Ref&lt;0.0.0.79730&gt;,fhc_handle},<br>������������������ {handle,{file_descriptor,prim_file,{#Port&lt;0.4788&gt;,17}},<br>�������������������������� 0,false,0,0,[],true,<br>�������������������������� &quot;/var/lib/rabbitmq/mnesia/rabbit@curtiz/queues/67BZ7QWHYIY1S405V2E0881G9/37.idx&quot;,<br>
�������������������������� [{read_ahead,491520},binary,raw,read],<br>�������������������������� [],false,true,<br>�������������������������� {1322,500176,916570}}},<br>����������������� {fhc_age_tree,{2,<br>�������������������������������� {{1322,500175,181273},<br>
��������������������������������� #Ref&lt;0.0.0.556&gt;,nil,<br>��������������������������������� {{1322,500176,916570},<br>���������������������������������� #Ref&lt;0.0.0.79730&gt;,nil,nil}}}},<br>����������������� {{&quot;/var/lib/rabbitmq/mnesia/rabbit@curtiz/queues/67BZ7QWHYIY1S405V2E0881G9/37.idx&quot;,<br>
������������������� fhc_file},<br>������������������ {file,1,false}}]<br>��� trap_exit: false<br>��� status: running<br>��� heap_size: 514229<br><br><br></div>And finally the crash report itself:<br><div style="margin-left: 40px;">
=SUPERVISOR REPORT==== 23-Nov-2011::17:36:29 ===<br>���� Supervisor: {&lt;0.1220.149&gt;,<br>������������������������������������������ rabbit_channel_sup_sup}<br>���� Context:��� shutdown_error<br>���� Reason:���� shutdown<br>
���� Offender:�� [{pid,&lt;0.1222.149&gt;},<br>����������������� {name,channel_sup},<br>����������������� {mfa,{rabbit_channel_sup,start_link,[]}},<br>����������������� {restart_type,temporary},<br>����������������� {shutdown,infinity},<br>
����������������� {child_type,supervisor}]<br></div><br><div style="margin-left: 40px;"><br></div>Can anyone help me to recover the messages in the queue ?<br><br>Payet P<br><br>