Rabbitmq reported an error installing the web interface plug-in

Rabbitmq reported an error installing the web interface plug-in

Recently, when installing rabbitmq plugins, I reported the following errors. I don’t know why. I have been online Baidu a lot and tried a lot. These steps are summarized. I hope I can help you:

Error:
[ root@sa software]# rabbitmq-plugins enable rabbitmq_ management
Enabling plugins on node rabbit@sa :
rabbitmq_ management
Error:
{:query, : rabbit@sa , {: badrpc,: timeout}}

solution:

    first enter: “hostnamectl” to view your own hostname
    , then enter “VI/etc/hosts” to set your own hostname (Note: here is your own IP address + hostname, for example: 172.12.1.68 admin) , and finally run again: rabbitmq plugins enable rabbitmq_ management

Come on, come on, work together!!!

Read More: