I am clearing the /var/lib/rabbitmq/mnesia directory entirely before starting the clustering process -- doesn't that ensure that any persistent objects are cleared?<div><br></div><div>In any case, I will check the initial conditions of queues, exchanges etc. and get back soon.</div>
<div><br></div><div>Thanks<br><br><div class="gmail_quote">On Tue, Apr 19, 2011 at 4:27 PM, Matthew Sackman <span dir="ltr"><<a href="mailto:matthew@rabbitmq.com">matthew@rabbitmq.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div><div></div><div class="h5">On Wed, Apr 06, 2011 at 09:39:40PM +0530, Advait Alai wrote:<br>
> ><br>
> > Hmm. What version of Erlang are you running? I get a slightly different<br>
> > error from the area of code I think is exploding...<br>
> ><br>
><br>
> I'm not very familiar with Erlang... 'erl -v' gives<br>
><br>
> Erlang R13B01 (erts-5.7.2)<br>
<br>
</div></div>Hmm, that's a little old, but I'm not sure it should really be causing<br>
the issue you're seeing.<br>
<br>
You should essentially be doing:<br>
for node_to_add in $NODES; do \<br>
rabbitmqctl -n $node_to_add stop_app;<br>
rabbitmqctl -n $node_to_add reset;<br>
rabbitmqctl -n $node_to_add cluster $other_node $node_to_add;<br>
rabbitmqctl -n $node_to_add start_app;<br>
done<br>
<br>
If that's what you're doing and it's not working, after the reset, have<br>
a poke around in that node's mnesia dir, and see if there's anything in<br>
there - there really shouldn't be - it should be empty. For some reason,<br>
the error you're getting is suggesting that on start_app, it's trying to<br>
recover a queue on the node newly added to the cluster, which turns out<br>
not to exist - this is hardly surprising - the reset will ensure there<br>
are no queues on that node. But I don't understand why it would be<br>
trying to do this.<br>
<br>
Try to make sure that you're starting with absolutely no queues or<br>
exchanges or anything configured in any node at all.<br>
<br>
As I say, it does work for me, so I'm not quite sure why it's going<br>
wrong for you.<br>
<div><div></div><div class="h5"><br>
Matthew<br>
_______________________________________________<br>
rabbitmq-discuss mailing list<br>
<a href="mailto:rabbitmq-discuss@lists.rabbitmq.com">rabbitmq-discuss@lists.rabbitmq.com</a><br>
<a href="https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss" target="_blank">https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss</a><br>
</div></div></blockquote></div><br></div>