[rabbitmq-discuss] RabbitMQ 2.5.0 cluster cannot start

Josh Geisser josh at gebaschtel.ch
Sat Jun 18 16:05:50 BST 2011


What do the other two nodes say on 'rabbitmqclt cluster_status'? 
Also keep tailing the other's logfiles, they might tell you more...

Also, from which previous version were you upgrading?
I just had an unfortunate behaviour from 2.1.1 -> 2.5.0, mnesia got screwed up and I had to reinstall the whole cluster

To your question about Erlang, I have a cluster with R12B and R13B04.
(please not that all nodes must/should be the same rabbit version)

cheers

-----Ursprüngliche Nachricht-----
Von: tsuraan [mailto:tsuraan at gmail.com] 
Gesendet: Samstag, 18. Juni 2011 16:54
An: Josh Geisser
Cc: rabbitmq
Betreff: Re: [rabbitmq-discuss] RabbitMQ 2.5.0 cluster cannot start

> 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

Here's the transcript of trying to do that by hand (rabbitmq is
running on beta without any config-file cluster config, and rabbit is
running clustered on the other two machines):

kvm-beta ~ # rabbitmqctl cluster_status
Cluster status of node 'rabbit at kvm-beta' ...
[{nodes,[{disc,['rabbit at kvm-beta']}]},{running_nodes,['rabbit at kvm-beta']}]
...done.
kvm-beta ~ # rabbitmqctl stop_app
Stopping node 'rabbit at kvm-beta' ...
...done.
kvm-beta ~ # rabbitmqctl reset
Resetting node 'rabbit at kvm-beta' ...
...done.
kvm-beta ~ # rabbitmqctl cluster rabbit at kvm-alpha
Clustering node 'rabbit at kvm-beta' with ['rabbit at kvm-alpha'] ...
Error: {unable_to_join_cluster,
           ['rabbit at kvm-alpha'],
           {aborted,
               {function_clause,
                   [{mnesia_schema,cs2list,
                        [{cstruct,schema,set,[],
                             ['rabbit at kvm-gamma','rabbit at kvm-alpha'],
                             [],0,read_write,[],[],false,schema,
                             [table,cstruct],
                             [],[],
                             {{1308,347724,86957},'rabbit at kvm-alpha'},
                             {{4,0},
                              {'rabbit at kvm-gamma',{1308,347733,438674}}}}]},
                    {mnesia_schema,do_merge_schema,1},
                    {mnesia_tm,apply_fun,3},
                    {mnesia_tm,execute_transaction,5},
                    {mnesia_schema,schema_coordinator,3}]}}}

If I try to join with kvm-gamma instead, it gives me the same errors.  Very odd.


More information about the rabbitmq-discuss mailing list