[rabbitmq-discuss] Why is it so difficult to setup clustering ?

Ceri Storey ceri at lshift.net
Fri May 30 17:09:48 BST 2014


(30/05/14 16:59), John Smith wrote:
> Just to follow up, definitley reckon something is messed up with your
> apt repository.   Uninstalled the repo version, installed the deb file
> from the MQ site and it works fine !

When I've done things like this myself, I've usually forgotten to
install the sources.list entry, or forgotten to run `apt-get update`;
and subsequently been very confused for a short period of time. Next
time, it might be worth double-checking with `dpkg -l` on both boxes as
a sanity check.

>
>
> On Friday, 30 May 2014, 14:35, Simon MacMullen <simon at rabbitmq.com> wrote:
>
>
> On 30/05/2014 2:08PM, John Smith wrote:
> > If I try clustering from U12 to U14, I get :
> >
> > Error: {'EXIT',
> >            {function_clause,
> >                [{rabbit_control,action,
> >                      [join_cluster,'rabbit at U12 <mailto:rabbit at U12>',
> >                      ["rabbit at U14 <mailto:rabbit at U14>"],
> >                      [{"-p","/"},{"-n","rabbit at U14
> <mailto:rabbit at U14>"},{"-q",false}],
> >                      #Fun<rabbit_control.1.115240681>],
> >                      []},
> >                  {rabbit_control,start,0,[]},
> >                  {init,start_it,1,[]},
> >                  {init,start_em,1,[]}]}}
>
> That is a very odd looking error. The rabbit_control module was renamed
> to rabbit_control_main in 3.0.0, the same release in which cluster was
> changed to join_cluster.
>
> So that looks like somehow you have a modern rabbitmqctl mixed in with
> an old (2.x) RabbitMQ server.
>
>
> > If I try from U14 to U12, I get :
> >
> > Clustering node 'rabbit at U14 <mailto:rabbit at U14>' with 'rabbit at U12
> <mailto:rabbit at U12>' ...
> > Error: unable to connect to nodes ['rabbit at U12 <mailto:rabbit at U12>]:
> >
> {'EXIT',{undef,[{rabbit_mnesia,cluster_status_from_mnesia,[],[]},{rpc,'-handle_call_call/6-fun-0-',5,[{file,[114,112,99,46,101,114,108]},{line,205}]}]}}
>
>
> That's also consistent with U12 running an old rabbit.
>
> So I don't know how your installation on U12 has progressed but it has
> definitely become mixed up somehow. That should be impossible if just
> using .debs, so have you installed via some other mechanism as well?
>
> Cheers, Simon
>
> -- 
> Simon MacMullen
> RabbitMQ, Pivotal
>
>
>
>
>
> _______________________________________________
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
> https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20140530/5342f0e0/attachment.html>


More information about the rabbitmq-discuss mailing list