zoukankan      html  css  js  c++  java
  • Windows搭建测试RabbitMq遇到的问题

    E:RabbitMQ Server abbitmq_server-3.6.5sbin>rabbitmq-plugins.bat enable rabbitmq_management
    Plugin configuration unchanged.

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

    E:RabbitMQ Server abbitmq_server-3.6.5sbin>rabbitmqctl status
    Status of node 'rabbit@SC-201607101239' ...
    Error: unable to connect to node 'rabbit@SC-201607101239': nodedown

    DIAGNOSTICS
    ===========

    attempted to contact: ['rabbit@SC-201607101239']

    rabbit@SC-201607101239:
      * connected to epmd (port 4369) on SC-201607101239
      * epmd reports node 'rabbit' running on port 25672
      * TCP connection succeeded but Erlang distribution failed
      * suggestion: hostname mismatch?
      * suggestion: is the cookie set correctly?
      * suggestion: is the Erlang distribution using TLS?

    current node details:
    - node name: 'rabbitmq-cli-27@SC-201607101239'
    - home dir: C:UsersAdministrator
    - cookie hash: +Xg8GwzCRQiqRrJZqqF30A==

    解决方法:

    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

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

    官方安装手册: http://www.rabbitmq.com/install-windows-manual.html

  • 相关阅读:
    Centos下,Docker部署Yapi接口管理平台(详细得令人发指)
    Centos7下安装Docker(详细的新手装逼教程)
    性能测试之nmon对linux服务器的监控
    真爱至上,谈谈我的测试经历(二)
    linux问题点滴,给普通用户添加sudo权限
    浅谈软件测试流程(一)
    面试如何谈笑风生,软件测试基础理论整理
    测试与开发如何有效沟通,QC11(HP ALM 11)的简单使用记录
    解决github访问过慢问题
    Python语言下图像的操作方法总结
  • 原文地址:https://www.cnblogs.com/amylis_chen/p/6286238.html
Copyright © 2011-2022 走看看