<div style="font-family:Verdana;font-size:14px;color:#000;"><DIV>i&nbsp;had&nbsp;tried&nbsp;&quot;rabbitmqctl&nbsp;-n&nbsp;rabbit@Fanqu-WorkStation&nbsp;status&quot;&nbsp;before,&nbsp;it&nbsp;didn't&nbsp;work!</DIV><div style="font:Verdana normal 14px;color:#000;padding:8px 0px;"><div>&nbsp;</div><div>&nbsp;</div><div style="FONT-SIZE: 12px;FONT-FAMILY: Arial Narrow;padding:2px 0 2px 0;">------------------&nbsp;原始邮件&nbsp;------------------</div><div style="FONT-SIZE: 12px;background:#efefef;padding:8px;"><div><b>发件人:</b> "Marek Majkowski"<majek04@gmail.com>; </div><div><b>发送时间:</b> 2011年8月4日(星期四) 晚上7:28</div><div><b>收件人:</b> "平常心态"<214575002@qq.com>; </div><div><b >抄送:</b> "rabbitmq-discuss"<rabbitmq-discuss@lists.rabbitmq.com>; </div><div><b>主题:</b> Re: [rabbitmq-discuss] Error: unable to connect to node rabbit@dev: nodedown</div></div><div>&nbsp;</div>2011/8/4 平常心态 &lt;<a href="mailto:214575002@qq.com" target="_blank">214575002@qq<wbr>.com</a>&gt;:<br>&gt; hi, all<br>&gt; &nbsp; &nbsp; some error come up when I want to get some status of my rabbitmq-server<br>&gt; &nbsp; &nbsp; the site <a href="http://www.rabbitmq.com/install.html#troubleshooting?said" target="_blank">http://www.r<wbr>abbitmq.com/<wbr>install.html<wbr>#troubleshoo<wbr>ting&nbsp;said</a> that<br>&gt; I&nbsp;should make sure the erlang cookies are the same, but I am new to erlang<br>&gt; ,I don't know how to make sure.<br>&gt; below is the output,<br>&gt; &nbsp; &nbsp; /------------------------------------rabbitmqctl<br>&gt; status-------------------------------/<br>&gt; dev@dev:~/source/rabbitmq/sbin$ ./rabbitmqctl status<br>&gt; Status of node rabbit@dev ...<br>&gt; Error: unable to connect to node rabbit@dev: nodedown<br>&gt; =ERROR REPORT==== 4-Aug-2011::09:29:10 ===<br>&gt; Error in process &lt;0.36.0&gt; on node 'rabbitmqctl14242@dev' with exit value:<br>&gt; {badarg,[{erlang,list_to_existing_atom,["rabbit@Fanqu-WorkStation"]},{dist_util,recv_challenge,1},{dist_util,handshake_we_started,1}]}<br>&gt; diagnostics:<br>&gt; - nodes and their ports on dev: [{rabbit,56129},{rabbitmqctl14242,38839}]<br>&gt; - current node: rabbitmqctl14242@dev<br>&gt; - current node home dir: /home/dev<br>&gt; - current node cookie hash: t6gCD5tZzOtYsVS32gQgwA==<br>&gt; &nbsp; &nbsp; /------------------------------------hostname<br>&gt; -s-------------------------------/<br>&gt; dev@dev:~/source/rabbitmq/sbin$ hostname -s<br>&gt; dev<br>&gt; dev@dev:~/source/rabbitmq/sbin$ cat /etc/hosts<br>&gt; 127.0.0.1 &nbsp; &nbsp; &nbsp; localhost<br>&gt; 127.0.1.1 &nbsp; &nbsp; &nbsp; dev<br>&gt; &nbsp; &nbsp; /------------------------------------ps aux | grep beam<br>&gt; -------------------------------/<br>&gt; dev@dev:~/source/rabbitmq/sbin$ ps aux | grep beam<br>&gt; dev &nbsp; &nbsp; &nbsp;21051 &nbsp;0.0 &nbsp;0.3 &nbsp;56980 &nbsp;8080 ? &nbsp; &nbsp; &nbsp; &nbsp;Sl &nbsp; Jul26 &nbsp; 3:44<br>&gt; /usr/lib/erlang/erts-5.7.4/bin/beam.smp -W w -K true -A30 -P 1048576 --<br>&gt; -root /usr/lib/erlang -progname erl -- -home /home/dev -- -noshell -noinput<br>&gt; -sname rabbit@Fanqu-WorkStation -boot<br>&gt; /home/dev/rabbitmq/data/rabbit@Fanqu-WorkStation-plugins-expand/rabbit<br>&gt; -kernel inet_default_listen_options [{nodelay,true}] -kernel<br>&gt; inet_default_connect_options [{nodelay,true}] -sasl errlog_type error<br>&gt; -kernel error_logger<br>&gt; {file,"/home/dev/rabbitmq/log/<a href="mailto:rabbit@Fanqu-WorkStation.log" target="_blank">rabbit@Fanqu<wbr>-WorkStation<wbr>.log</a>"} -sasl<br>&gt; sasl_error_logger<br>&gt; {file,"/home/dev/rabbitmq/log/<a href="mailto:rabbit@Fanqu-WorkStation-sasl.log" target="_blank">rabbit@Fanqu<wbr>-WorkStation<wbr>-sasl.log</a>"} -os_mon<br>&gt; start_cpu_sup true -os_mon start_disksup false -os_mon start_memsup false<br>&gt; -mnesia dir "/home/dev/rabbitmq/data/rabbit@Fanqu-WorkStation" -noshell<br>&gt; -noinput<br>&gt; dev &nbsp; &nbsp; &nbsp;30911 &nbsp;0.0 &nbsp;0.0 &nbsp; 3552 &nbsp; 916 pts/2 &nbsp; &nbsp;S+ &nbsp; 09:40 &nbsp; 0:00 grep<br>&gt; --color=auto beam<br><br>You seem to have rabbit running as "rabbit@Fanqu-WorkStation" while your<br>rabbitmqctl asks for "rabbit@dev".<br><br>If "Fanqu-WorkStation" is a proper network name, you should be able to<br>do "rabbitmqctl -n rabbit@Fanqu-WorkStation status"<br><br>Cheers,<br>&nbsp;&nbsp; Marek<br>                
                                                                                                                          
                                <!-- --><style></style></div></div>