Error : login failed on rabbitmq web-management console

If you have newly installed RabbitMQ server and trying to view queues or exchanges using RabbitMQ web management console you may see below error, while login with guest account.

In order to login to RabbitMQ web-management console using guest account, follow below steps

1. Enable web-management plugin
Use below command to enable the management plugin

# sudo rabbitmq-plugins enable rabbitmq_management

2. Once plugin is enabled, you will need to update the rabbitmq.config file. Create if not exists and edit "/etc/rabbitmq/rabbitmq.config" file.
Append below line to the file

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

Do not miss last dot from the line. Once the changes are saved, restart RabbiMQ server using below command

# service rabbitmq-server restart

Now you should be able to login to management console with guest user account.

For more details about access control visit RabbitMQ Access Control


Popular posts from this blog

How to boot Samsung Galaxy SL( GT-I9003) in recovery mode

How to flash CWM Recovery to Samsung Galaxy SL( GT-I9003) using Odin

Exception handling with RestTemplate