[rabbitmq-discuss] rabbitmqctl help

Joel Grandin Joel.Grandin at mathworks.com
Thu Jan 20 16:45:01 GMT 2011


This is the results from "status"

rabbitmqctl -n rabbit at my-server-name
Status of node 'rabbit at my-server-name' ...
Error: unable to connect to node 'rabbit at my-server-name': nodedown
diagnostics:
- nodes and their ports on my-server-name: [{rabbit,64066}]
- current node: 'rabbitmqctl at my-localhost'
- current node home dir: H:\
- current node cookie hash: HKx1IftG6awfKfr7YEqB1Q==

If I run "telnet my-server-name 4369", it connects.

Joel

-----Original Message-----
From: rabbitmq-discuss-bounces at lists.rabbitmq.com [mailto:rabbitmq-discuss-bounces at lists.rabbitmq.com] On Behalf Of Matthias Radestock
Sent: Thursday, January 20, 2011 11:35 AM
To: rabbitmq-discuss at lists.rabbitmq.com
Subject: Re: [rabbitmq-discuss] rabbitmqctl help

Matthew Sackman wrote:
> On Thu, Jan 20, 2011 at 04:21:25PM +0000, Joel Grandin wrote:
>> rabbitmqctl -n rabbit at my-server-name list_consumers
>> Listing consumers ...
>> Error: {'EXIT',{{case_clause,{{badrpc,nodedown}}},
>>                 [{rabbit_control,'-action/5-lc$^0/1-0-',1},
>>                  {rabbit_control,action,5},
>>                  {rabbit_control,start,0},
>>                  {init,start_it,1},
>>                  {init,start_em,1}]}}
>>
>> How would you define the port too?
> 
> 5672 is merely the AMQP port. You need to make sure that it can access
> epmd on my-server-name which should be port 4369. See the man page for
> epmd if you need to change that.
> 
> If you have no firewall between these machines at all then it would
> likely be some sort of DNS resolution issue, but seeing as you can ping
> the server, that seems unlikely.

Try 'rabbitmqctl -n rabbit at my-server-name status'

That will provide better diagnostics.


Matthias.
_______________________________________________
rabbitmq-discuss mailing list
rabbitmq-discuss at lists.rabbitmq.com
https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss


More information about the rabbitmq-discuss mailing list