Ask Your Question

Revision history [back]

I had the same problem as yours. I reinstalled the rabbitmq and set the access list as instructed in the rabbitmq website. It solved my problem. what I did was as follow:

1- uninstall rabbitmq:

sudo apt-get remove --auto-remove rabbitmq-server

sudo apt-get purge --auto-remove rabbitmq-server

2- install rabbitmq again:

echo 'deb http://www.rabbitmq.com/debian/ testing main' | sudo tee /etc/apt/sources.list.d/rabbitmq.list

wget -O- https://www.rabbitmq.com/rabbitmq-release-signing-key.asc | sudo apt-key add -

sudo apt-get update

sudo apt-get install rabbitmq-server

3- Edit /etc/rabbitmq/rabbitmq.config file and configure loopback_users to reference an empty list by inserting the following line into the config file. [If /etc/rabbitmq/rabbitmq.config file does not exist, create it.]

[{rabbit, [{loopback_users, []}]}].

4- change rabbitmq guest password. Use the password you used before uninstalling the rabbitmq.

rabbitmqctl  change_password  guest  [your desired password]

5- finally restart the rabbitmq:

service  rabbitmq-server  restart