rabbitMQ安装问题

当执行rabbitmq-plugins enable rabbitmq_management指令时出现错误

Applying plugin configuration to [email protected] failed.
 * Could not contact node [email protected]
   Changes will take effect at broker restart.
 * Options: --online  - fail if broker cannot be contacted.
            --offline - do not try to contact broker.

 

这个是因为当Rabbitmq安装时默认目录是RabbitMQ server中有个空格(non-ACSII字符)

解决方法是将RabbitMQ重新安装,在安装时将文件夹的空格去掉后安装完成后重新执行命令

rabbitMQ安装问题