How to install rabbitmq management plugin (rabbitmq-plugins)

前端 未结 6 746
盖世英雄少女心
盖世英雄少女心 2021-01-30 00:06

Brief: Is there a way to install rabbitmq-plugins via a ubuntu package?

Details:

I have rabbitmq running ok in my ubuntu system, and now I\'m trying to monitor w

6条回答
  •  有刺的猬
    2021-01-30 00:36

    I exactly faced this problem on Ubuntu 18.04.1 and was not able to enable the rabbitmq_management.

    In my case mistake I did was to instal erlang after rabbitmq-server so it was not working fine. (not fully sure why but was getting exact same problem)

    As solution I just uninstalled the rabbitmq-server, installed the rabbitmq-server again and all worked just fine below are the complete steps if can help others.

    sudo apt-get remove rabbitmq-server
    sudo apt-get install rabbitmq-server
    sudo systemctl enable rabbitmq-server
    sudo systemctl start rabbitmq-server
    sudo systemctl status rabbitmq-server (to check status only)
    sudo rabbitmq-plugins enable rabbitmq_management
    sudo rabbitmqctl add_user admin admin
    sudo rabbitmqctl set_user_tags admin administrator
    

提交回复
热议问题