smhk

Debugging RabbitMQ

Monitor rabbitmq-server’s status with:

$ rabbitmqctl status

Note that it must be run with root else you will get the rabbitmq help printed out with the appended message Only root or rabbitmq should run rabbitmqctl.

To find out what ports RabbtMQ is using:

$ epmd -names
epmd: up and running on port 4369 with data:
name rabbit at port 25672

epmd is short for Erlang Port Mapper Daemon.

RabbitMQ management interface runs at port 15672 on the machine running rabbitmq-server. It can be accessed over HTTP in the browser, or via a command line tool called rabbitmqadmin which is just a single file Python script.

The environment that RabbitMQ starts with is read from /etc/rabbitmq/rabbitmq-env.conf.