unable to run rabbitmqctl command as non root/rabbitmq user

570 views
Skip to first unread message

Krishna chaitanya varma

unread,
Nov 18, 2014, 2:06:02 AM11/18/14
to rabbitm...@googlegroups.com
Hi,

i am unable to use rabbitmqctl command as non root/rabbitmq user.my requirement is to monitor Queues/channels/messages through another user.when i execute the rabbitmqctl from other user i am getting the below error.can any one help me on this.

cd /usr/lib/rabbitmq/bin

 ./rabbitmqctl status

Status of node rabbit@host ...
Error: unable to connect to node rabbit@host: nodedown

DIAGNOSTICS
===========

attempted to contact: [rabbit@host]

rabbit@host:
  * connected to epmd (port 4369) on host
  * epmd reports node 'rabbit' running on port 25672
  * TCP connection succeeded but Erlang distribution failed
  * suggestion: hostname mismatch?
  * suggestion: is the cookie set correctly?

current node details:
- node name: 'rabbitmqctl-3018@host'
- home dir: /home/user
- cookie hash: M61t14yOVr+NCuxbqc2QVg==

Michael Klishin

unread,
Nov 18, 2014, 2:50:42 AM11/18/14
to rabbitm...@googlegroups.com, Krishna chaitanya varma
 On 18 November 2014 at 07:06:04, Krishna chaitanya varma (chaitany...@gmail.com) wrote:
> i am unable to use rabbitmqctl command as non root/rabbitmq
> user.my requirement is to monitor Queues/channels/messages
> through another user.when i execute the rabbitmqctl from other
> user i am getting the below error.can any one help me on this.

First thing to check is that RabbitMQ is actually running. Then if the cookie is the same
for both RabbitMQ's effective user (typically `rabbitmq`) and the one you run `rabbitmqctl`
as), and that it has 400 permissions.
--
MK

Staff Software Engineer, Pivotal/RabbitMQ

Krishna chaitanya varma

unread,
Nov 18, 2014, 3:51:41 AM11/18/14
to rabbitm...@googlegroups.com, chaitany...@gmail.com
thanks MK
Reply all
Reply to author
Forward
0 new messages