[rabbitmq-discuss] Failing on restart and recovering queues

Pierre Payet amnema at gmail.com
Mon Nov 28 19:20:29 GMT 2011


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

So here little information about my configuration:
I am using Ubuntu 10.04 64-bit and Rabbitmq 2.7.0

Here is a copy of the startup_log :
-- rabbit boot start
starting file handle cache server
starting worker pool
starting database
starting codec correctness check
-- external infrastructure ready
starting plugin registry
starting auth mechanism cr-demo
starting auth mechanism amqplain
starting auth mechanism plain
starting statistics event manager
starting logging server
starting exchange type direct
starting exchange type fanout
starting exchange type headers
starting exchange type topic
-- kernel ready
starting alarm handler
starting node monitor
starting cluster delegate
starting guid generator
starting memory monitor
-- core initialized
starting empty DB check
starting management agent
starting exchange, queue and binding recovery                         ...

And here is a copy of the crash report on start:
=CRASH REPORT==== 28-Nov-2011::09:09:36 ===
    initial call: gen:init_it/6
    pid: <0.155.0>
    registered_name: []
    exception exit: {{badmatch,eof},
      in function  gen_server2:terminate/3
    ancestors: [worker_pool_sup,rabbit_sup,<0.136.0>]
    messages: []
    links: [#Port<0.4788>,<0.151.0>,#Port<0.4724>]
    dictionary: [{{"/var/lib/rabbitmq/mnesia/rabbit at curtiz
                           "/var/lib/rabbitmq/mnesia/rabbit at curtiz
                           "/var/lib/rabbitmq/mnesia/rabbit at curtiz
                  {{"/var/lib/rabbitmq/mnesia/rabbit at curtiz
    trap_exit: false
    status: running
    heap_size: 514229

And finally the crash report itself:
=SUPERVISOR REPORT==== 23-Nov-2011::17:36:29 ===
     Supervisor: {<0.1220.149>,
     Context:    shutdown_error
     Reason:     shutdown
     Offender:   [{pid,<0.1222.149>},

Can anyone help me to recover the messages in the queue ?

Payet P
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20111128/b72efd90/attachment.htm>

More information about the rabbitmq-discuss mailing list