Just so we can understand your setup, how are you trying to setup the users for rabbit? Did you do the build as a rabbitmq user, or ...?<br><br>One of the most likely causes of the nodedown tends to be cookie mismatches, which can be hard to definitively check. In both the rabbitmq-server and rabbitmqctl scripts, can you please add the follow line somewhere within the command line flags (perhaps after the -sname):<br>
-eval 'io:format("~p~n", [init:get_argument(home)])'<br><br>This will print (badly formatted I'm afraid) the home directory that erlang is seeing, and subsequently allows you to determine that the home directories are the same. If they are, it could also be worth adding:<br>
-eval 'io:format("~p~n", [erlang:get_cookie()])'<br><br>This will dump the value of the erlang cookie. Generally, the Erlang cookie should be considered somewhat private, so I'll leave it up to you whether you want to post it to the mailing list. Simply providing detail on whether they are the same is enough.<br>
<br><div class="gmail_quote">On Tue, Sep 22, 2009 at 9:58 AM, J Aaron Farr <span dir="ltr"><<a href="mailto:farra@apache.org">farra@apache.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im"><br>
On Tue 22 Sep 2009 16:43, Paul Jones <<a href="mailto:pauljones23@gmail.com">pauljones23@gmail.com</a>> wrote:<br>
<br>
> Is rabbit running as root or rabbitmq? If you're running rabbit as rabbitmq,<br>
> then you may need to add "-U rabbitmq" to the sudo command to ensure that<br>
> rabbitmqctl is running as the same user.<br>
<br>
</div>I've tried both combinations, as root and as rabbitmq. I've checked to<br>
ensure both processes are run as the exact same user. Still no dice.<br>
<br>
I've also made sure every rabbitmq directory is owned by rabbitmq.<br>
<br>
`net_adm:localhost().` returns 'gandalf.local' which is the name of the<br>
local computer. I've even added a line in /etc/hosts for gandalf.local<br>
for 127.0.0.1.<br>
<br>
I'm really stumped here.<br>
<font color="#888888"><br>
--<br>
</font><div><div></div><div class="h5"> J. Aaron Farr<br>
馮傑仁<br>
<a href="http://www.cubiclemuses.com" target="_blank">www.cubiclemuses.com</a><br>
</div></div></blockquote></div><br>