<div dir="ltr">I forgot to mention that, sorry. �Everything is wide open.<div><br></div><div><div><font face="courier new, monospace"><b>01</b>:~$ sudo iptables --list</font></div><div><font face="courier new, monospace">Chain INPUT (policy ACCEPT)</font></div>
<div><font face="courier new, monospace">target � � prot opt source � � � � � � � destination � � � ��</font></div><div><font face="courier new, monospace"><br></font></div><div><font face="courier new, monospace">Chain FORWARD (policy ACCEPT)</font></div>
<div><font face="courier new, monospace">target � � prot opt source � � � � � � � destination � � � ��</font></div><div><font face="courier new, monospace"><br></font></div><div><font face="courier new, monospace">Chain OUTPUT (policy ACCEPT)</font></div>
<div><font face="courier new, monospace">target � � prot opt source � � � � � � � destination � � ��</font></div></div><div><br></div><div><br></div><div><div><font face="courier new, monospace"><b>02</b>:~$ sudo iptables --list</font></div>
<div><font face="courier new, monospace">Chain INPUT (policy ACCEPT)</font></div><div><font face="courier new, monospace">target � � prot opt source � � � � � � � destination � � � ��</font></div><div><font face="courier new, monospace"><br>
</font></div><div><font face="courier new, monospace">Chain FORWARD (policy ACCEPT)</font></div><div><font face="courier new, monospace">target � � prot opt source � � � � � � � destination � � � ��</font></div><div><font face="courier new, monospace"><br>
</font></div><div><font face="courier new, monospace">Chain OUTPUT (policy ACCEPT)</font></div><div><font face="courier new, monospace">target � � prot opt source � � � � � � � destination � � ��</font></div></div><div><br>
</div><div><br></div><div><br></div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 25 September 2013 10:41, Simon MacMullen <span dir="ltr">&lt;<a href="mailto:simon@rabbitmq.com" target="_blank">simon@rabbitmq.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Are other ports firewalled? If so please read <a href="http://www.rabbitmq.com/clustering.html#firewall" target="_blank">http://www.rabbitmq.com/<u></u>clustering.html#firewall</a><br>

<br>
Cheers, Simon<br>
<br>
On 25/09/13 15:36, Derek Wyatt wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Thanks Jason. �The cookies are the same. �Running anything from<br>
rabbitmqctl to the remote host fails, unfortunately. �The list_queues<br>
call fails to connect, the same as join_cluster.<br>
<br>
As I indicated, the telnets all work just fine, so I&#39;m stuck for what to<br>
diagnose next. �Any ideas would be great.<br>
<br>
<br>
On 25 September 2013 09:57, Jason McIntosh &lt;<a href="mailto:mcintoshj@gmail.com" target="_blank">mcintoshj@gmail.com</a><br>
&lt;mailto:<a href="mailto:mcintoshj@gmail.com" target="_blank">mcintoshj@gmail.com</a>&gt;&gt; wrote:<br>
<br>
� � Check your erlang cookie on both servers to make sure it matches I<br>
� � think it&#39;s in - /var/lib/rabbitmq/ - then you can use rabbitmqctl<br>
� � from one machine and see if you can connect to another to list<br>
� � queues. �I THINK that&#39;s rabbitmqctl -n &lt;servernode&gt; list_queues for<br>
� � example. �If both servers can talk to each other then it should be<br>
� � rabbitmqctl stop_app, join_cluster, start_app.<br>
<br>
� � Jason<br>
<br>
<br>
� � On Wed, Sep 25, 2013 at 8:50 AM, Derek Wyatt &lt;<a href="mailto:derek@derekwyatt.org" target="_blank">derek@derekwyatt.org</a><br>
� � &lt;mailto:<a href="mailto:derek@derekwyatt.org" target="_blank">derek@derekwyatt.org</a>&gt;&gt; wrote:<br>
<br>
� � � � Hi,<br>
<br>
� � � � I&#39;ve seen a number of people failing to get clustering running<br>
� � � � and, unfortunately, I can&#39;t get it going either. �Here&#39;s the<br>
� � � � summary of what I&#39;ve got:<br>
<br>
� � � � � * Two nodes - RMQ1 and RMQ2<br>
� � � � � * I can ping RMQ1 from RMQ2, and vice versa<br>
� � � � � * I can telnet from RMQ1 to RMQ2:epmd, and vice versa<br>
� � � � � * I can telnet from RMQ1 to RMQ2:amqp, and vice versa<br>
� � � � � * The cookie file is identical, as is clear from the startup INFO<br>
<br>
� � � � My goal is to have RMQ2 join RMQ1 in a cluster.<br>
<br>
� � � � The servers are started using the init script in Ubuntu (i.e.<br>
� � � � service rabbitmq-server start). �This is different than the<br>
� � � � script at <a href="http://www.rabbitmq.com/clustering.html" target="_blank">http://www.rabbitmq.com/<u></u>clustering.html</a>, which says to<br>
� � � � start with &quot;rabbitmq-server -detached&quot;. �I&#39;ve tried that and it<br>
� � � � doesn&#39;t seem to make any difference so I always use the init<br>
� � � � script instead.<br>
<br>
� � � � So, the script says to stop the RMQ2 server and then join the<br>
� � � � cluster. �The following transcript shows how well all this goes:<br>
<br>
� � � � 02:~$ sudo rabbitmqctl stop_app<br>
� � � � Stopping node &#39;rabbit@RMQ2&#39; ...<br>
� � � � ...done.<br>
<br>
� � � � 02:~$ sudo rabbitmqctl join_cluster --ram rabbit@RMQ1<br>
� � � � Clustering node &#39;rabbit@RMQ2&#39; with &#39;rabbit@RMQ1&#39; ...<br>
� � � � Error: {cannot_discover_cluster,&quot;The nodes provided are either<br>
� � � � offline or not running&quot;}<br>
<br>
� � � � However, as I said above, telnetting to the ports works just fine:<br>
<br>
� � � � 02:~$ telnet RMQ1 epmd<br>
� � � � Trying &lt;ip address&gt;...<br>
� � � � Connected to RMQ1<br>
� � � � Escape character is &#39;^]&#39;.<br>
� � � � booger!<br>
� � � � Connection closed by foreign host.<br>
<br>
� � � � 02:~$ telnet RMQ1 amqp<br>
� � � � Trying &lt;ip address&gt;...<br>
� � � � Connected to RMQ1<br>
� � � � Escape character is &#39;^]&#39;.<br>
� � � � booger!<br>
� � � � AMQPConnection closed by foreign host.<br>
<br>
� � � � I&#39;m stuck for what else to test. �Does anyone know how to<br>
� � � � troubleshoot this thing further?<br>
<br>
� � � � Thanks,<br>
� � � � Derek<br>
<br>
<br>
� � � � ______________________________<u></u>_________________<br>
� � � � rabbitmq-discuss mailing list<br>
� � � � <a href="mailto:rabbitmq-discuss@lists.rabbitmq.com" target="_blank">rabbitmq-discuss@lists.<u></u>rabbitmq.com</a><br>
� � � � &lt;mailto:<a href="mailto:rabbitmq-discuss@lists.rabbitmq.com" target="_blank">rabbitmq-discuss@<u></u>lists.rabbitmq.com</a>&gt;<br>
� � � � <a href="https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss" target="_blank">https://lists.rabbitmq.com/<u></u>cgi-bin/mailman/listinfo/<u></u>rabbitmq-discuss</a><br>
<br>
<br>
<br>
<br>
� � --<br>
� � Jason McIntosh<br>
� � <a href="http://mcintosh.poetshome.com/blog/" target="_blank">http://mcintosh.poetshome.com/<u></u>blog/</a><br>
� � <a href="tel:573-424-7612" value="+15734247612" target="_blank">573-424-7612</a> &lt;tel:<a href="tel:573-424-7612" value="+15734247612" target="_blank">573-424-7612</a>&gt;<br>
<br>
� � ______________________________<u></u>_________________<br>
� � rabbitmq-discuss mailing list<br>
� � <a href="mailto:rabbitmq-discuss@lists.rabbitmq.com" target="_blank">rabbitmq-discuss@lists.<u></u>rabbitmq.com</a><br>
� � &lt;mailto:<a href="mailto:rabbitmq-discuss@lists.rabbitmq.com" target="_blank">rabbitmq-discuss@<u></u>lists.rabbitmq.com</a>&gt;<br>
� � <a href="https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss" target="_blank">https://lists.rabbitmq.com/<u></u>cgi-bin/mailman/listinfo/<u></u>rabbitmq-discuss</a><br>
<br>
<br>
<br>
<br>
______________________________<u></u>_________________<br>
rabbitmq-discuss mailing list<br>
<a href="mailto:rabbitmq-discuss@lists.rabbitmq.com" target="_blank">rabbitmq-discuss@lists.<u></u>rabbitmq.com</a><br>
<a href="https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss" target="_blank">https://lists.rabbitmq.com/<u></u>cgi-bin/mailman/listinfo/<u></u>rabbitmq-discuss</a><br>
<br><span class="HOEnZb"><font color="#888888">
</font></span></blockquote><span class="HOEnZb"><font color="#888888">
<br>
<br>
-- <br>
Simon MacMullen<br>
RabbitMQ, Pivotal<br>
</font></span></blockquote></div><br></div>