And with the whole cluster working correctly:<div><br></div><div><div>rabbitmqctl -n rabbit1 wait /var/run/rabbitmq/rabbit1.pid</div><div>rabbitmqctl -n rabbit2 wait /var/run/rabbitmq/rabbit2.pid</div><div>rabbitmqctl -n rabbit3 wait /var/run/rabbitmq/rabbit3.pid</div>
<div><br></div><div>rabbitmqctl -n rabbit1 stop_app</div><div>rabbitmqctl -n rabbit1 reset</div><div>rabbitmqctl -n rabbit1 start_app</div><div><br></div><div>rabbitmqctl -n rabbit2 stop_app</div><div>rabbitmqctl -n rabbit2 reset</div>
<div>rabbitmqctl -n rabbit2 cluster rabbit1@dfooks-ubuntu64</div><div>rabbitmqctl -n rabbit2 start_app</div><div><br></div><div>rabbitmqctl -n rabbit1 wait /var/run/rabbitmq/rabbit1.pid</div><div>rabbitmqctl -n rabbit2 wait /var/run/rabbitmq/rabbit2.pid</div>
<div><br></div><div>rabbitmqctl -n rabbit1 status</div><div>rabbitmqctl -n rabbit2 status</div><div><br></div><div>rabbitmqctl -n rabbit3 stop_app</div><div>rabbitmqctl -n rabbit3 reset</div><div>rabbitmqctl -n rabbit3 cluster rabbit1@dfooks-ubuntu64</div>
<div>rabbitmqctl -n rabbit3 cluster rabbit2@dfooks-ubuntu64</div><div>rabbitmqctl -n rabbit3 start_app</div><div><br></div><div>rabbitmqctl -n rabbit3 wait /var/run/rabbitmq/rabbit3.pid</div><div><br></div><div>rabbitmqctl -n rabbit3 status</div>
<br><div class="gmail_quote">On 8 May 2012 11:46, David Fooks <span dir="ltr"><<a href="mailto:davidfooks@turbulenz.biz" target="_blank">davidfooks@turbulenz.biz</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
No I didn't spot that, I was looking in the google group (which doesn't get your replies) thanks for the hint!<div><br></div><div>Thanks guys its working now. For reference the new working script is:</div><div><br>
</div><div><div class="im"><div>rabbitmqctl -n rabbit1 wait /var/run/rabbitmq/rabbit1.pid</div><div>rabbitmqctl -n rabbit2 wait /var/run/rabbitmq/rabbit2.pid</div><div>rabbitmqctl -n rabbit3 wait /var/run/rabbitmq/rabbit3.pid</div>
<div><br>
</div><div>rabbitmqctl -n rabbit1 stop_app</div><div>rabbitmqctl -n rabbit1 reset</div><div>rabbitmqctl -n rabbit1 start_app</div><div><br></div><div>rabbitmqctl -n rabbit2 stop_app</div><div>rabbitmqctl -n rabbit2 reset</div>
<div>rabbitmqctl -n rabbit2 start_app</div><div><br></div><div>rabbitmqctl -n rabbit1 wait /var/run/rabbitmq/rabbit1.pid</div><div>rabbitmqctl -n rabbit2 wait /var/run/rabbitmq/rabbit2.pid</div><div><br></div></div><div class="im">
<div>rabbitmqctl -n rabbit1 status</div>
<div>rabbitmqctl -n rabbit2 status</div><div><br></div></div><div class="im"><div>rabbitmqctl -n rabbit3 stop_app</div><div>rabbitmqctl -n rabbit3 reset</div><div>rabbitmqctl -n rabbit3 cluster rabbit1@dfooks-ubuntu64</div>
</div><div>rabbitmqctl -n rabbit3 cluster rabbit2@dfooks-ubuntu64</div>
<div>rabbitmqctl -n rabbit3 start_app</div><div><br></div><div class="im"><div>rabbitmqctl -n rabbit3 wait /var/run/rabbitmq/rabbit3.pid</div><div><br></div></div><div>rabbitmqctl -n rabbit3 status</div><div><div class="h5">
<div><br></div><br><div class="gmail_quote">
On 8 May 2012 10:53, Simon MacMullen <span dir="ltr"><<a href="mailto:simon@rabbitmq.com" target="_blank">simon@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>On 07/05/12 12:05, David Fooks wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
However, after that fix I'm still seeing the same error.<br>
</blockquote>
<br></div>
David, did you see this?<br>
<br>
<a href="http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/2012-May/019883.html" target="_blank">http://lists.rabbitmq.com/<u></u>pipermail/rabbitmq-discuss/<u></u>2012-May/019883.html</a><div><div>
<br>
<br>
Cheers, Simon<br>
<br>
-- <br>
Simon MacMullen<br>
RabbitMQ, VMware<br>
</div></div></blockquote></div><br></div></div></div>
</blockquote></div><br></div>