[rabbitmq-discuss] RabbitMQ 2.5.0 cluster cannot start

Josh Geisser josh at gebaschtel.ch
Sat Jun 18 11:28:06 BST 2011

I understand that alpha and gamma are working together, only beta won't join any other node? 

On beta, try to remove the cluster directive from the configfile and join it manually:

Rabbitmqctl stop_app
Rabbitmqctl cluster rabbit at kvm-alpha rabbit at kvm-gamma
Rabbitmqctl start_app

The command 'rabbitmqctl cluster_status' will show you the current and running nodes.

Cheers & good luck

-----Ursprüngliche Nachricht-----
Von: rabbitmq-discuss-bounces at lists.rabbitmq.com [mailto:rabbitmq-discuss-bounces at lists.rabbitmq.com] Im Auftrag von tsuraan
Gesendet: Samstag, 18. Juni 2011 00:08
An: rabbitmq
Betreff: [rabbitmq-discuss] RabbitMQ 2.5.0 cluster cannot start

I have a three-node rabbit cluster (running on hosts kvm-alpha,
kvm-beta, and kvm-gamma) that I just upgraded to 2.5.0, and it's
misbehaving a bit.  After upgrading, I wiped out the mnesia dirs
(/var/lib/rabbitmq/mnesia) on each of the three machines, and then
attempted to start the cluster up again.  I first started rabbit on
kvm-beta, and when I did that the rabbits on alpha and gamma could not
start.  I stopped the rabbit on beta, and started it on alpha and
gamma, and those are happy talking to each other.  In both cases, the
error that I'm getting looks like this:

starting database
Reason: {error,
                ['rabbit at kvm-alpha','rabbit at kvm-beta','rabbit at kvm-gamma'],
                                  ['rabbit at kvm-gamma','rabbit at kvm-alpha'],
                                  {{1308,347724,86957},'rabbit at kvm-alpha'},
                                   {'rabbit at kvm-gamma',
Stacktrace: [{rabbit_mnesia,init_db,3},
Erlang has closed

that one's on kvm-beta with rabbits running happily on kvm-alpha and
gamma, but it looks the same if I start on beta first than then let
alpha or gamma fail.  The cookie hash is the same for each rabbit, but
the erlang version on alpha and gamma is 5.8.3, while beta has 5.8.4.
Is that likely to be the problem?  I thought minor releases of erl
were compatible, but maybe they aren't from rabbit's POV?  If that
isn't likely to be the case, then I'd be happy to take suggestions
about what the problem probably is.

My config file is the same on all three nodes, and looks like this:

kvm-beta watched # cat /etc/rabbitmq/rabbitmq.config
 {rabbit, [
  {cluster_nodes, ['rabbit at kvm-alpha', 'rabbit at kvm-beta', 'rabbit at kvm-gamma']}

I'd be happy to provide any other info that could be useful.
rabbitmq-discuss mailing list
rabbitmq-discuss at lists.rabbitmq.com

More information about the rabbitmq-discuss mailing list