[rabbitmq-discuss] Can't get rabbitMQ to restart after switching machines -- some kind of DB error...?

Abe agong at umich.edu
Tue Dec 6 15:34:32 GMT 2011

I'm running a django/celery app on EC2, with rabbitmq as the broker. The machine
I was using failed, so I fired up another instance. But since switching to the
new machine, I haven't been able to get rabbitmq-server to start up.

Here's the output:

$ sudo rabbitmq-server start
[Rabbit logo and info...]

AMQP 8-0
Copyright (C) 2007-2010 LShift Ltd., Cohesive Financial Technologies LLC., and
Rabbit Technologies Ltd.
Licensed under the MPL.  See http://www.rabbitmq.com/

node          : rabbit at ip-10-212-66-181
app descriptor:
home dir      : /var/lib/rabbitmq
cookie hash   : 5+uQ077En5bpvle3HJCQMg==
log           : /var/log/rabbitmq/rabbit.log
sasl log      : /var/log/rabbitmq/rabbit-sasl.log
database dir  : /var/lib/rabbitmq/mnesia/rabbit

starting internal event notification system                           ...done
starting logging server                                               ...done
starting database                                                     ...Erlang
has closed
{"init terminating in do_boot", {{nocatch, {error,{cannot_start_application,
rabbit, {bad_return, {{rabbit,start,[normal,[]]},{'EXIT',
{{case_clause,{error,{timeout_waiting_for_tables, [rabbit_user,
rabbit_user_permission, rabbit_vhost, rabbit_config, rabbit_listener,
rabbit_durable_route, rabbit_route, rabbit_reverse_route,
rabbit_durable_exchange, rabbit_exchange, rabbit_durable_queue,
rabbit_queue]}}}, [{rabbit,'-run_boot_step/1-lc$^1/1-1-',1},
{rabbit,run_boot_step,1}, {rabbit,'-start/2-lc$^0/1-0-',1}, {rabbit,start,2},
{application_master, start_it_old,4}]}}}}}}}, [{init,start_it,1},

Crash dump was written to: erl_crash.dump
init terminating in do_boot ()

There's also an erlang daemon process running in the background.  I'm not sure
if this is important or not.

$ ps aux | grep rabbit
rabbitmq   714  0.0  0.0   1980   412 ?        S    Dec04   0:01
/usr/lib/erlang/erts-5.7.4/bin/epmd -daemon

Any ideas on how to further diagnose/solve this problem?

Thanks in advance!
- Abe

PS: I posted this question to serverfault before realizing that this might be a
better place to ask it:http://serverfault.com/questions/337982/

More information about the rabbitmq-discuss mailing list