Rabbitmq Plugin configuration unchanged. 问题完全解决方案

配置激活RabbitMQ's Management Plugin使用RabbitMQ 管理插件;当执行:rabbitmq-plugins.bat enable rabbitmq_management 命令时候出现:

Plugin configuration unchanged.
Applying plugin configuration to rabbit@hj... failed.
Could not contact node rabbit@hj. Changes will take effect at broker restart.
Options: --online - fail if broker cannot be contacted. --offline - do not try to contact broker.

解决方案:

Synchronise Erlang Cookies (when running a manually installed Windows Service)

Erlang Security Cookies used by the service account and the user running rabbitmqctl.bat must be synchronised for rabbitmqctl.bat to function.

To ensure Erlang cookie files contain the same string, copy the .erlang.cookie file from the Windows directory (normally C:\WINDOWS\.erlang.cookie) to replace the user .erlang.cookie. The user cookie will be in the user‘s home directory (%HOMEDRIVE%%HOMEPATH%), e.g.C:\Documents and Settings\%USERNAME%\.erlang.cookie orC:\Users\%USERNAME%\.erlang.cookie (Windows Vista and later).
上面中文意思为:
同步Erlang cookies(运行手动安装的Windows服务时)
必须同步服务帐户和运行rabbitmqctl.bat的用户使用的erlang安全cookie,以便rabbitmqctl.bat正常工作。
要确保Erlang cookie文件包含相同的字符串,请从Windows目录(通常为c:\windows\.erlang.cookie)复制.erlang.cookie文件以替换用户.erlang.cookie。用户cookie将位于用户的主目录(%homedrive%%homepath%),例如c:\documents and settings\%username%\.erlang.cookie或c:\user s\%username%\.erlang.cookie(Windows Vista及更高版本)。
同步Erlang Cookies

具体操作:将 C:\WINDOWS\.erlang.cookie   同步到RabbitMq 启动用户 例如win10:C:\Users\%USERNAME%\.erlang.cookie 

 

最近准备了一个公众号每天都会推送一些开发中经常遇到的问题解决方法,希望多久关注一下,谢谢支持:

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 3
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 3
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

李晓LOVE向阳

你的鼓励是我持续的不断动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值