关于RabbitMQ启动失败的问题

D:\rabbitmq\rabbitmq_server-3.6.9\sbin>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.

完整的步骤:http://blog.csdn.net/chinawangfei/article/details/69322421

1 就是rabbitmq的安装目录中是不能带空格的,但是官方安装包会默认的将我们的程序安装到Program Files下,
所以,我们将rabbitmq从D:\Program Files\RabbitMQ Server\rabbitmq_server-3.6.1手动移到了D:\RbbbitMQ\rabbitmq_server-3.6.1,接着我们运行sbin下的rabbitmq-server.bat。
2 是重新安装的时候去掉空格就好用
3 参考博客:http://hhxblog.leanote.com/post/Windows%E4%B8%8B%E5%AE%89%E8%A3%85RabbitMQ%E7%9A%84%E6%97%B6%E5%80%99%E8%B8%A9%E7%9A%84%E4%B8%80%E4%B8%AA%E5%9D%91