Questions tagged [rabbitmqctl]

command line tool for managing a RabbitMQ broker

RabbitMQ is an implementation of AMQP, the emerging standard for high performance enterprise messaging. The RabbitMQ server is a robust and scalable implementation of an AMQP broker.

rabbitmqctl is a command line tool for managing a RabbitMQ broker. It performs all actions by connecting to one of the broker's nodes. See the man page for further details

Diagnostic information is displayed if the broker was not running, could not be reached, or rejected the connection due to mismatching Erlang cookies.

224 questions
3
votes
2 answers

RabbitMQ clustering queue mirroring for high availability: get master node's ip for a queue at time t

From my understanding, RabbitMQ clustering is for scalability not availability, but using mirrored queues allows for availability as well in that if that master fails, an up-to-date slave can be promoted to master. From the documentation: Messages…
Steve P.
  • 14,489
  • 8
  • 42
  • 72
3
votes
2 answers

Rabbitmq Clustering with three nodes

I am trying to do clustering on RABBITMQ. I have added 2 nodes but unable to add 3rd one.i have clustered rabbit@node1 and rabbit@node2. Now I am trying to cluster rabbit@node3 with rabbit@node1. Here is what I am trying to do rabbitmqctl…
Ali Warrich
  • 129
  • 2
  • 6
3
votes
2 answers

RabbitMQ node down after new install

I've had RabbitMQ 3.2.1 (Erl OTP 16B02 x64) running on Win 2008R2, one day it started to return nodedown error. I decided to reinstall RabbitMQ, I've removed Rabbit and Erlang enviriment, cleaned db folder in RABBITMQ_BASE, removed all erlang…
da_sann
  • 425
  • 11
  • 20
3
votes
5 answers

How to parse rabbitmq status output?

I installed RabbitMQ on Linux, it's a great piece of software. When I run this command: sudo rabbitmqctl status I get a mess of output: [{pid,18665}, {running_applications, [{rabbitmq_management,"RabbitMQ Management Console","3.1.5"}, …
Eric Leschinski
  • 146,994
  • 96
  • 417
  • 335
3
votes
1 answer

How to read RabbitMQ unacknowledged messages / RabbitMQ cycle

I want to read the payload, or messageId of unacknowledged messages in a RabbitMQ queue. Is this possible? The reason I want to do so is I trying to use RabbitMQ dead letter feature to build a cycle to for auto-generating message periodically.…
Roy Wu
  • 33
  • 1
  • 4
3
votes
2 answers

Know position of a Task in RabbitMQ

I was planning to use RabbitMQ for a project in which I require to know position of my task after every few second in the queue. Say I am using it for generating reports and if there is a Queue then I would want to show the user his position in the…
HackerNews
  • 153
  • 1
  • 10
2
votes
0 answers

Issue copying .erlang.cookie RabbitMQ

I'm working on a project which includes rabbit. The issue is that when installing the project, the application takes care of copying the .erlang.cookie from C:\Windows\system32\config\systemprofile\ to C:\Users\pc and when my program does it, the…
V1rtual
  • 21
  • 4
2
votes
0 answers

RabbitMQ Erlang: erlang_cookie_sources Effective user: (none)

On Windows my RabbitMQ works via the localhost:15672 but I can't reach it otherwise. I have the same content in both .erlang.cookie. I think I have an unexpected return of this command .\rabbitmq-diagnostics.bat erlang_cookie_sources : (none)…
YannickN.fr
  • 328
  • 2
  • 6
  • 18
2
votes
1 answer

RabbitMQ invalid credentials with valid information for web management interface

While trying to configure and create an admin user for rabbitmq with a JSON file. The users are created. But I am getting the following error while logging in with valid credentials from the web management console. 2022-07-22 08:15:56.342071+00:00…
Nithin Varghese
  • 893
  • 1
  • 6
  • 28
2
votes
1 answer

Rabbitmq create a new user and set permission to access only specific queues under a vhost

I found the steps online to add/create a new user on rabbitmq, example doc But my internal team has got a special requirement to allow that user access only some specific services/queues under the virtual host / Right, now, the user I created has…
vjwilson
  • 754
  • 2
  • 14
  • 30
2
votes
2 answers

Unable to start RabbitMQ: undefined function rabbitmqctl_escript:main/1

I would like to start RabbitMQ installed as JFrog Xray and I get: -bash-4.2$ /opt/jfrog/xray/app/third-party/rabbitmq/escript/rabbitmqctl escript: exception error: undefined function rabbitmqctl_escript:main/1 in function escript:run/2…
bvamos
  • 773
  • 7
  • 10
2
votes
1 answer

Rabbitmq: Node down

I am getting node down error on rabbitmq, this is happening sometimes. Able to see the below error when I execute: sudo rabbitmqctl status or sudo rabbitmqctl list_queues Error: unable to connect to node : nodedown connected to epmd (port 4369) on…
Jayram
  • 21
  • 1
  • 6
2
votes
1 answer

RabbitMQ Web Management Console Access Denied for Non-guest User with Valid Credentials

I had finished installing RabbitMQ (my first time dealing with it) on a CentOS 7 installation and was trying to log into the web management console but to no avail. I had created an admin user and set administrator tags for the user since it seemed…
Steve S
  • 509
  • 1
  • 11
  • 24
2
votes
1 answer

RabbitMQ user authorization to read queues but prevent purge access

I added a user in RabbitMQ and edited the permissions to read ".*" in the RabbitMQ admin console. The output of the command list_permissions shows that the user "readman" only has read permissions. $ rabbitmqctl list_permissions --vhost / Listing…
Shankar
  • 2,625
  • 3
  • 25
  • 49
2
votes
1 answer

How to run rabbitmqctl commands on remote machine?

I have rabbitmq docker container, running on different machine. What I want to do is execute rabbitmqctl command using shell script from another machine. I am newbie to rabbitmq, need guidance of experts I have used rabbitmqadmin with the option of…
Sachin Bankar
  • 372
  • 6
  • 13