<div dir="ltr">Thanks Jason. �The cookies are the same. �Running anything from rabbitmqctl to the remote host fails, unfortunately. �The list_queues call fails to connect, the same as join_cluster.<div><br></div><div>As I indicated, the telnets all work just fine, so I&#39;m stuck for what to diagnose next. �Any ideas would be great.</div>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On 25 September 2013 09:57, Jason McIntosh <span dir="ltr">&lt;<a href="mailto:mcintoshj@gmail.com" target="_blank">mcintoshj@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Check your erlang cookie on both servers to make sure it matches I think it&#39;s in - /var/lib/rabbitmq/ - then you can use rabbitmqctl from one machine and see if you can connect to another to list queues. �I THINK that&#39;s rabbitmqctl -n &lt;servernode&gt; list_queues for example. �If both servers can talk to each other then it should be rabbitmqctl stop_app, join_cluster, start_app.<br>

<br>Jason</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Sep 25, 2013 at 8:50 AM, Derek Wyatt <span dir="ltr">&lt;<a href="mailto:derek@derekwyatt.org" target="_blank">derek@derekwyatt.org</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi,<div><br></div><div>I&#39;ve seen a number of people failing to get clustering running and, unfortunately, I can&#39;t get it going either. �Here&#39;s the summary of what I&#39;ve got:</div>

<div><div><ul>
<li>Two nodes - RMQ1 and RMQ2</li><li>I can ping RMQ1 from RMQ2, and vice versa</li><li>I can telnet from RMQ1 to RMQ2:epmd, and vice versa</li><li>I can telnet from RMQ1 to RMQ2:amqp, and vice versa</li><li>The cookie file is identical, as is clear from the startup INFO</li>


</ul><div>My goal is to have RMQ2 join RMQ1 in a cluster.</div></div><div><br></div><div>The servers are started using the init script in Ubuntu (i.e. service rabbitmq-server start). �This is different than the script at�<a href="http://www.rabbitmq.com/clustering.html" target="_blank">http://www.rabbitmq.com/clustering.html</a>, which says to start with &quot;rabbitmq-server -detached&quot;. �I&#39;ve tried that and it doesn&#39;t seem to make any difference so I always use the init script instead.</div>


<div><br></div><div>So, the script says to stop the RMQ2 server and then join the cluster. �The following transcript shows how well all this goes:</div><div><br></div><div><div><font face="courier new, monospace">02:~$ sudo rabbitmqctl stop_app</font></div>


<div><font face="courier new, monospace">Stopping node &#39;rabbit@RMQ2&#39; ...</font></div><div><font face="courier new, monospace">...done.</font></div><div><font face="courier new, monospace"><br></font></div><div><font face="courier new, monospace">02:~$ sudo rabbitmqctl join_cluster --ram rabbit@RMQ1</font></div>


<div><font face="courier new, monospace">Clustering node &#39;rabbit@RMQ2&#39; with &#39;rabbit@RMQ1&#39; ...</font></div><div><font face="courier new, monospace">Error: {cannot_discover_cluster,&quot;The nodes provided are either offline or not running&quot;}</font></div>


<div><font face="arial, helvetica, sans-serif"><br></font></div><div><font face="arial, helvetica, sans-serif">However, as I said above, telnetting to the ports works just fine:</font></div><div><font face="arial, helvetica, sans-serif"><br>


</font></div><div><font face="courier new, monospace">02:~$ telnet RMQ1 epmd</font></div><div><font face="courier new, monospace">Trying &lt;ip address&gt;...</font></div><div><font face="courier new, monospace">Connected to RMQ1</font></div>


<div><font face="courier new, monospace">Escape character is &#39;^]&#39;.</font></div><div><font face="courier new, monospace">booger!</font></div><div><font face="courier new, monospace">Connection closed by foreign host.</font></div>


<div><font face="courier new, monospace"><br></font></div><div><font face="courier new, monospace">02:~$ telnet RMQ1 amqp</font></div><div><font face="courier new, monospace">Trying &lt;ip address&gt;...</font></div><div>


<font face="courier new, monospace">Connected to RMQ1</font></div><div><font face="courier new, monospace">Escape character is &#39;^]&#39;.</font></div><div><font face="courier new, monospace">booger!</font></div><div><font face="courier new, monospace">AMQP<span style="white-space:pre-wrap">        </span>Connection closed by foreign host.</font></div>


</div><br></div><div>I&#39;m stuck for what else to test. �Does anyone know how to troubleshoot this thing further?</div><div><br></div><div>Thanks,</div><div>Derek</div><div><br></div></div>
<br>_______________________________________________<br>
rabbitmq-discuss mailing list<br>
<a href="mailto:rabbitmq-discuss@lists.rabbitmq.com" target="_blank">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>
<br></blockquote></div><span class="HOEnZb"><font color="#888888"><br><br clear="all"><div><br></div>-- <br>Jason McIntosh<br><a href="http://mcintosh.poetshome.com/blog/" target="_blank">http://mcintosh.poetshome.com/blog/</a><br>
<a href="tel:573-424-7612" value="+15734247612" target="_blank">573-424-7612</a>
</font></span></div>
<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>
<br></blockquote></div><br></div>