rabbitmq 插件失败的处理

[root@controller ~]# /usr/lib/rabbitmq/bin/rabbitmq-plugins enable rabbitmq_management
The following plugins have been enabled:
mochiweb
webmachine
rabbitmq_web_dispatch
amqp_client
rabbitmq_management_agent
rabbitmq_management
Applying plugin configuration to rabbit@controller… failed.
* Could not contact node rabbit@controller.
Changes will take effect at broker restart.
* Options: –online – fail if broker cannot be contacted.
–offline – do not try to contact broker.

【从提醒信息看是不成功的,不能把配置添加到我的controller上面。所以需要开启节点。】

[root@controller ~]# rabbitmqctl start_app

Starting noderabbit@controller…

[root@controller ~]# rabbitmq-plugins enable rabbitmq_management

Plugin configuration unchanged.

Applying pluginconfigurationtorabbit@controller… started 6 plugins.

这样,就可以了,

之后,就可以去访问RabbitMQ web界面

默认用户名密码:guest/guest

通过这个界面,我们能很直观的看到rabbitmq的运行和负载情况

    原文作者:秋枫74858
    原文地址: https://zhuanlan.zhihu.com/p/38085263
    本文转自网络文章,转载此文章仅为分享知识,如有侵权,请联系博主进行删除。
点赞