<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: On rabbitmqctl and badrpc,nodedown</title>
	<atom:link href="http://somic.org/2009/02/19/on-rabbitmqctl-and-badrpcnodedown/feed/" rel="self" type="application/rss+xml" />
	<link>http://somic.org/2009/02/19/on-rabbitmqctl-and-badrpcnodedown/</link>
	<description>Dmitriy Samovskiy's Blog</description>
	<lastBuildDate>Wed, 18 Aug 2010 22:05:16 -0500</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Vincent</title>
		<link>http://somic.org/2009/02/19/on-rabbitmqctl-and-badrpcnodedown/comment-page-1/#comment-626</link>
		<dc:creator>Vincent</dc:creator>
		<pubDate>Tue, 23 Jun 2009 00:57:41 +0000</pubDate>
		<guid isPermaLink="false">http://somic.org/?p=390#comment-626</guid>
		<description>I found a solution to a related issue which may be helpful to mention. 

I was trying to run rabbit after migrating an existing user account. Status kept listing my old username &quot;rabbit@V ...&quot; 

$ /opt/local/sbin/rabbitmqctl status
    Status of node rabbit@V ...
    {badrpc,nodedown}
    ...done.

My install of rabbitmq is though mac ports. Deleting the rabbit directory and contents within  /opt/local/var/lib/rabbitmq/mnesia/rabbit/ did the trick for me.</description>
		<content:encoded><![CDATA[<p>I found a solution to a related issue which may be helpful to mention. </p>
<p>I was trying to run rabbit after migrating an existing user account. Status kept listing my old username &#8220;rabbit@V &#8230;&#8221; </p>
<p>$ /opt/local/sbin/rabbitmqctl status<br />
    Status of node rabbit@V &#8230;<br />
    {badrpc,nodedown}<br />
    &#8230;done.</p>
<p>My install of rabbitmq is though mac ports. Deleting the rabbit directory and contents within  /opt/local/var/lib/rabbitmq/mnesia/rabbit/ did the trick for me.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alexandre</title>
		<link>http://somic.org/2009/02/19/on-rabbitmqctl-and-badrpcnodedown/comment-page-1/#comment-624</link>
		<dc:creator>Alexandre</dc:creator>
		<pubDate>Fri, 19 Jun 2009 13:33:39 +0000</pubDate>
		<guid isPermaLink="false">http://somic.org/?p=390#comment-624</guid>
		<description>&gt;Are you sure broker process is running as user rabbitmq?

the ps axu &#124; grep rabbit show that process user is rabbitmq</description>
		<content:encoded><![CDATA[<p>&gt;Are you sure broker process is running as user rabbitmq?</p>
<p>the ps axu | grep rabbit show that process user is rabbitmq</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dmitriy</title>
		<link>http://somic.org/2009/02/19/on-rabbitmqctl-and-badrpcnodedown/comment-page-1/#comment-619</link>
		<dc:creator>Dmitriy</dc:creator>
		<pubDate>Thu, 18 Jun 2009 15:16:45 +0000</pubDate>
		<guid isPermaLink="false">http://somic.org/?p=390#comment-619</guid>
		<description>~root/.erlang.cookie should not be relevant to this. When you start rabbitmqctl as root, it does &quot;su&quot; to user rabbitmq and hence uses ~rabbitmq/.erlang.cookie.

Because net_adm commands do not hang, your epmd setup is OK. Which leaves out possibilities of user mix up or cookie mix up.

Are you sure broker process is running as user rabbitmq?</description>
		<content:encoded><![CDATA[<p>~root/.erlang.cookie should not be relevant to this. When you start rabbitmqctl as root, it does &#8220;su&#8221; to user rabbitmq and hence uses ~rabbitmq/.erlang.cookie.</p>
<p>Because net_adm commands do not hang, your epmd setup is OK. Which leaves out possibilities of user mix up or cookie mix up.</p>
<p>Are you sure broker process is running as user rabbitmq?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alexandre</title>
		<link>http://somic.org/2009/02/19/on-rabbitmqctl-and-badrpcnodedown/comment-page-1/#comment-618</link>
		<dc:creator>Alexandre</dc:creator>
		<pubDate>Thu, 18 Jun 2009 15:10:47 +0000</pubDate>
		<guid isPermaLink="false">http://somic.org/?p=390#comment-618</guid>
		<description>Hi Dmitriy,

I install the RB-MQ on the MacOs and d&#039;nt have problem. But I install RB-MQ on the FreeBSD 7 (64-bit) , I can&#039;t start the rabbitmqctl.

the net_adm:localhost() write  DNS  server name
the net_adm:names() write {ok,[{&quot;rabbit&quot;,1088}]}

the  chmod   file ~root/.erlang.cookie is x400 (20 bytes)

how I can to start rabbitmqctl?</description>
		<content:encoded><![CDATA[<p>Hi Dmitriy,</p>
<p>I install the RB-MQ on the MacOs and d&#8217;nt have problem. But I install RB-MQ on the FreeBSD 7 (64-bit) , I can&#8217;t start the rabbitmqctl.</p>
<p>the net_adm:localhost() write  DNS  server name<br />
the net_adm:names() write {ok,[{"rabbit",1088}]}</p>
<p>the  chmod   file ~root/.erlang.cookie is x400 (20 bytes)</p>
<p>how I can to start rabbitmqctl?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dmitriy</title>
		<link>http://somic.org/2009/02/19/on-rabbitmqctl-and-badrpcnodedown/comment-page-1/#comment-579</link>
		<dc:creator>Dmitriy</dc:creator>
		<pubDate>Sun, 17 May 2009 04:26:16 +0000</pubDate>
		<guid isPermaLink="false">http://somic.org/?p=390#comment-579</guid>
		<description>Tim,

If net_adm:names() does not hang and rabbit appears in the list, it means the problem is not related to epmd and host addressing.

- Dmitriy</description>
		<content:encoded><![CDATA[<p>Tim,</p>
<p>If net_adm:names() does not hang and rabbit appears in the list, it means the problem is not related to epmd and host addressing.</p>
<p>- Dmitriy</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Timothy Perrett</title>
		<link>http://somic.org/2009/02/19/on-rabbitmqctl-and-badrpcnodedown/comment-page-1/#comment-576</link>
		<dc:creator>Timothy Perrett</dc:creator>
		<pubDate>Sat, 16 May 2009 22:01:49 +0000</pubDate>
		<guid isPermaLink="false">http://somic.org/?p=390#comment-576</guid>
		<description>Hi Dmitriy, great article. However, one thing that is not clear to me is the significance of net_adm:names(). ? I am running the broker as &quot;rabbitmq&quot; user and then try to run rabbitmqctl and I still get the {badrpc,nodedown} error. 

If both are running as the same user, how on earth am i still seeing this?

Cheers, Tim</description>
		<content:encoded><![CDATA[<p>Hi Dmitriy, great article. However, one thing that is not clear to me is the significance of net_adm:names(). ? I am running the broker as &#8220;rabbitmq&#8221; user and then try to run rabbitmqctl and I still get the {badrpc,nodedown} error. </p>
<p>If both are running as the same user, how on earth am i still seeing this?</p>
<p>Cheers, Tim</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dmitriy</title>
		<link>http://somic.org/2009/02/19/on-rabbitmqctl-and-badrpcnodedown/comment-page-1/#comment-433</link>
		<dc:creator>Dmitriy</dc:creator>
		<pubDate>Wed, 04 Mar 2009 17:05:38 +0000</pubDate>
		<guid isPermaLink="false">http://somic.org/?p=390#comment-433</guid>
		<description>The issue is that when you run &quot;rabbitmqctl status&quot; as root, it tries to su to user rabbitmq (take a look inside rabbitmqctl). And since your broker is running as root, user rabbitmq can&#039;t get its cookie (stored in ~root/.erlang.cookie) and so can&#039;t talk to the broker node.</description>
		<content:encoded><![CDATA[<p>The issue is that when you run &#8220;rabbitmqctl status&#8221; as root, it tries to su to user rabbitmq (take a look inside rabbitmqctl). And since your broker is running as root, user rabbitmq can&#8217;t get its cookie (stored in ~root/.erlang.cookie) and so can&#8217;t talk to the broker node.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: riteshrathi</title>
		<link>http://somic.org/2009/02/19/on-rabbitmqctl-and-badrpcnodedown/comment-page-1/#comment-432</link>
		<dc:creator>riteshrathi</dc:creator>
		<pubDate>Wed, 04 Mar 2009 16:53:56 +0000</pubDate>
		<guid isPermaLink="false">http://somic.org/?p=390#comment-432</guid>
		<description>&quot;Are you running broker as user rabbitmq and rabbitmqctl as root or rabbitmq? If not, please stop and fix this. This is not a requirement per se, but this represents canonical installation of rabbitmq broker. You can certainly hack your scripts to work around this requirement, but you are on your own if you do.&quot;

Donot understand this point of yours. I have installed the broker as root and also trying to get the status as root. I am getting this error. 

net_adm:names().  returns {ok,[{&quot;rabbit&quot;,35217},{&quot;foo&quot;,57135}]}

Not able to identify what is the problem. Can you please help ?</description>
		<content:encoded><![CDATA[<p>&#8220;Are you running broker as user rabbitmq and rabbitmqctl as root or rabbitmq? If not, please stop and fix this. This is not a requirement per se, but this represents canonical installation of rabbitmq broker. You can certainly hack your scripts to work around this requirement, but you are on your own if you do.&#8221;</p>
<p>Donot understand this point of yours. I have installed the broker as root and also trying to get the status as root. I am getting this error. </p>
<p>net_adm:names().  returns {ok,[{"rabbit",35217},{"foo",57135}]}</p>
<p>Not able to identify what is the problem. Can you please help ?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
