zoukankan      html  css  js  c++  java
  • Windows下运行rabbitmqctl.bat list_users命令查看rabbitmq已有用户时候报错

    今天在调试rabbitmq时候,使用rabbitmqctl.bat list_users命令查看rabbitmq已有用户时候报错了,错误如下:

    Error: unable to perform an operation on node 'rabbit@DESKTOP-R8EILKD'. Please see diagnostics information and suggestions below.

    Most common reasons for this are:

    * Target node is unreachable (e.g. due to hostname resolution, TCP connection or firewall issues)
    * CLI tool fails to authenticate with the server (e.g. due to CLI tool's Erlang cookie not matching that of the server)
    * Target node is not running

    In addition to the diagnostics info below:

    * See the CLI, clustering and networking guides on https://rabbitmq.com/documentation.html to learn more
    * Consult server logs on node rabbit@DESKTOP-R8EILKD
    * If target node is configured to use long node names, don't forget to use --longnames with CLI tools

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

    attempted to contact: ['rabbit@DESKTOP-R8EILKD']

    rabbit@DESKTOP-R8EILKD:
    * connected to epmd (port 4369) on DESKTOP-R8EILKD
    * epmd reports: node 'rabbit' not running at all
    no other nodes on DESKTOP-R8EILKD
    * suggestion: start the node

    Current node details:
    * node name: 'rabbitmqcli-2200-rabbit@DESKTOP-R8EILKD'
    * effective user's home directory: C:Users18838
    * Erlang cookie hash: XO2VxV30/Spco0KwTrhIxA==

    百度了一下解决方案,各种各样,试了几种 ,有一种解决了我的问题,记录一下:

    将C:Windowssystem32configsystemprofile.erlang.cookie中的.erlang.cookie文件,复制一份到错误提示中的地址,我这里是“C:Users18838”,该路径下已经有了一个同名文件,覆盖就好了。

  • 相关阅读:
    sell -- js, 字符串去重,找到字符串中出现最多次数的字符,且输出多少次
    网络连接不了!
    sell -- js过滤敏感词
    动态绑定HTML
    web前端学习之HTML CSS/javascript之一
    web前端性能优化
    浅谈大型web系统架构
    应用越来越广泛的css伪类
    css3火焰文字样式代码
    7种html5css3网页图片展示特效代码
  • 原文地址:https://www.cnblogs.com/huangzhang/p/10872438.html
Copyright © 2011-2022 走看看