\rabbit\rabbitmq_server-3.6.6\sbin> rabbitmq-plugins.bat enable rabbitmq_management
Plugin configuration unchanged.
Applying plugin configuration to rabbit@Dting29... failed.
* Could not contact node rabbit@Dting29.
Changes will take effect at broker restart.
* Options: --online - fail if broker cannot be contacted.
--offline - do not try to contact broker.
\rabbit\rabbitmq_server-3.6.6\sbin> rabbitmq-plugins.bat enable rabbitmq_management
Plugin configuration unchanged.
Applying plugin configuration to rabbit@Dting29... failed.
* Could not contact node rabbit@Dting29.
Changes will take effect at broker restart.
* Options: --online - fail if broker cannot be contacted.
--offline - do not try to contact broker.
PS E:\BASE\rabbit\rabbitmq_server-3.6.6\sbin> rabbitmqctl status
Status of node rabbit@Dting29 ...
Error: unable to connect to node rabbit@Dting29: nodedown
网上的主要解决办法 都无法解决 包括cookie检查(发现3个cookie文件都是一致的) 重启服务(仍旧报错)等等
但是这个方法可以!!!
1删除C:\Users\Administrator\AppData\Roaming\RabbitMQ\db文件夹
2sbin目录下管理员权限执行 net start rabbitmq
3sbin目录下管理员权限执行 rabbitmqctl status
2、3步命令所在目录及命令如下:
\rabbit\rabbitmq_server-3.6.6\sbin>net start rabbitmq
\rabbit\rabbitmq_server-3.6.6\sbin>rabbitmqctl status
转自

本文介绍了一种解决RabbitMQ服务无法启动的有效方法。通过删除数据库文件夹并重新启动服务,成功解决了节点联系失败的问题。

791

被折叠的 条评论
为什么被折叠?



