Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

RabbitMQ: Unable to start rabbitmq_management plugin

Tags:

rabbitmq

Version:

> sudo rabbitmqctl status | grep '{rabbit,"RabbitMQ",'
      {rabbit,"RabbitMQ","3.5.6"},

Error:

> sudo rabbitmq-plugins enable rabbitmq_management

Plugin configuration unchanged.

Applying plugin configuration to rabbit@ip-172-31-26-169... failed.
 * Could not contact node rabbit@ip-172-31-26-169.
   Changes will take effect at broker restart.
 * Options: --online  - fail if broker cannot be contacted.
            --offline - do not try to contact broker.

Rabbit is running:

> sudo service rabbitmq-server status
Status of node 'rabbit@ip-172-31-26-169' ...
[{pid,22865},
..
like image 242
kev Avatar asked Nov 09 '15 01:11

kev


2 Answers

You need not necessary to contact broker if you are on the same machine. so try this command

>rabbitmq-plugins.bat enable rabbitmq_management --offline

offline indicates that do not try to contact the broker.

like image 87
navule Avatar answered Nov 14 '22 22:11

navule


I was getting the same error when trying to enable management console. To my suprise I typed http://localhost:15672/#/ in the browser and I could get to setup stuff through the management console. I had checked the availability of all the ports and everything looked good. So I think that error is kind of misleading. Just try to go to the console in browser.

refs: http://arcware.net/installing-rabbitmq-on-windows/ Failed to start rabbitmq-management plugin on Windows

like image 40
takaz Avatar answered Nov 15 '22 00:11

takaz