解决rabbitmq网页管理不成功

[root@iZ28jyxu47dZ sbin]# ./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@iZ28jyxu47dZ... failed.
 * Could not contact node rabbit@iZ28jyxu47dZ.
   Changes will take effect at broker restart.
 * Options: --online  - fail if broker cannot be contacted.
            --offline - do not try to contact broker.

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


[root@iZ28jyxu47dZ sbin]# ./rabbitmqctl start_app
Starting node rabbit@iZ28jyxu47dZ ...
[root@iZ28jyxu47dZ sbin]# ./rabbitmq-plugins enable rabbitmq_management
Plugin configuration unchanged.


Applying plugin configuration to rabbit@iZ28jyxu47dZ... nothing to do.

【这样子就成功了!】

[root@iZ28jyxu47dZ sbin]# ./rabbitmqctl stop

Stopping and halting node rabbit@iZ28jyxu47dZ ...
[root@iZ28jyxu47dZ sbin]# ps -ef|grep rabbitmq
root      8889 30190  0 00:55 pts/0    00:00:00 grep --color=auto rabbitmq
[root@iZ28jyxu47dZ sbin]# ./rabbitmq-server &
[1] 8890
[root@iZ28jyxu47dZ sbin]#
              RabbitMQ 3.5.5. Copyright (C) 2007-2015 Pivotal Software, Inc.
  ##  ##      Licensed under the MPL.  See http://www.rabbitmq.com/
  ##  ##
  ##########  Logs: /var/log/rabbitmq/rabbit@iZ28jyxu47dZ.log
  ######  ##        /var/log/rabbitmq/rabbit@iZ28jyxu47dZ-sasl.log
  ##########
              Starting broker... completed with 6 plugins.

版权声明:本文为myfancysky原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。