文章目录

  • 1. 复现问题
  • 2. 分析问题
  • 3. 解决问题

1. 复现问题

今天登录rabbitMq后台管理,输入用户名和密码后,却报出这个错误:Not management user,如下图所示:

于是,决定执行命令rabbitmqctl list_users查看是否有这个用户。

  1. 首先在D:\Software\rabbitmq\rabbitmq_server-3.8.15\sbin目录下输入cmd:

  1. cmd命令窗口执行如下指令:
rabbitmqctl list_users

却报出如下错误:

D:\Software\rabbitmq\rabbitmq_server-3.8.15\sbin>rabbitmqctl list_users
Error: unable to perform an operation on node 'rabbit@DESKTOP-UVTEHFR'. 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 runningIn 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-UVTEHFR* If target node is configured to use long node names, don't forget to use --longnames with CLI toolsDIAGNOSTICS
===========attempted to contact: ['rabbit@DESKTOP-UVTEHFR']rabbit@DESKTOP-UVTEHFR:* connected to epmd (port 4369) on DESKTOP-UVTEHFR* epmd reports: node 'rabbit' not running at allno other nodes on DESKTOP-UVTEHFR* suggestion: start the nodeCurrent node details:* node name: 'rabbitmqcli-999-rabbit@DESKTOP-UVTEHFR'* effective user's home directory: C:\Users\zxy* Erlang cookie hash: pkFzX53V7Ok1QDOYqiMzXg==

2. 分析问题

将上述错误信息中这句话Error: unable to perform an operation on node 'rabbit@DESKTOP-UVTEHFR'. 翻译成中文为错误:无法在节点 'rabbit@DESKTOP-UVTEHFR 上执行操作

为什么无法在节点'rabbit@DESKTOP-UVTEHFR 上之心操作呢?

于是去查找资料,网上说错误的原因是Erlangcookie出现问题,Erlang会生成两个cookie文件,文件目录如下所示:

  1. C:\Windows\System32\config\systemprofile\.erlang.cookie,但我的C:\Windows\System32\config\systemprofile\目录下并没有这个.erlang.cookie文件:

  1. C:\用户\你的用户名\.erlang.cookie,比如我的地址为C:\Users\zxy\.erlang.cookie,如下图所示:

用后者的文件替换掉前者的文件。

3. 解决问题

C:\用户\你的用户名\目录下的.erlang.cookie文件复制到C:\Windows\System32\config\systemprofile\目录,如下图所示:

如果C:\Windows\System32\config\systemprofile\已经存在.erlang.cookie文件,使用C:\用户\你的用户名\目录下的.erlang.cookie文件替换掉即可。

双击rabbitmq-server.bat重启rabbitmq服务,如下图所示:


cmd命令行窗口再次输入rabbitmqctl list_users即可:

解决Error: unable to perform an operation on node ‘rabbit@DESKTOP-xxx‘. Please see diagnostics informa相关推荐

  1. 关于搭建rabbitmq集群报错Error: unable to perform an operation on node ‘rabbit@localhost‘. Please see diagnos

    项目场景: 搭建rabbitmq集群时mq1为主,mq2,mq3为从 mq2和mq3加入集群时输入命令:rabbitmqctl join_cluster rabbit@mq1报错 问题描述: 具体报错 ...

  2. Error: unable to perform an operation on node ‘rabbit@rabbitma‘ please see diamostics infoxmation

    Error: unable to perform an operation on node 'rabbit@rabbitma' please see diamostics infoxmation an ...

  3. RabbitMQ 启动报错:Error: unable to perform an operation on node ‘rabbit@***‘. Please see diagnostics...

    问题描述: 安装完 ErLang 和 RabbitMQ 之后执行 rabbitmqctl status 报错: Error: unable to perform an operation on nod ...

  4. Status of node rabbit@xxxxx... Error: unable to perform an operation on node ‘rabbit@xxxx

    今天在window10上安装了rabbitMQ,但是按照教程来的时候竟然出错了,教程主要讲的是用管理员身份安装,我是直接双击安装,所以出现了点问题,所以上网找了答案,下面是参考的博客,如果是linux ...

  5. RabbitMQ-报错Error: unable to perform an operation on node ‘rabbit@xxx‘. Please see diagno

    报错图示 打开C:/Users/ADMINI~1/AppData/Roaming/RabbitMQ/log 如何关闭xxx端口 1.netstat -ano | findstr "8082& ...

  6. Windows下运行rabbitmqctl 相关命令(如rabbitmqctl stop)报错:Error: unable to perform an operation on node解决方案

    Windows下运行rabbitmqctl 相关命令(如rabbitmqctl stop)报错:Error: unable to perform an operation on node解决方案 参考 ...

  7. Windows下安装RabbitMQ报错:unable to perform an operation on node时的解决方案

    Windows下安装RabbitMQ报错:unable to perform an operation on node时的解决方案 参考文章: (1)Windows下安装RabbitMQ报错:unab ...

  8. 成功解决ERROR: Unable to find the development tool `make` in your path; please make sure that you have t

    成功解决ERROR: Unable to find the development tool `make` in your path; please make sure that you have t ...

  9. 成功解决ERROR: Unable to find the development tool `cc` in your path; please make sure that you have the

    成功解决ERROR: Unable to find the development tool `cc` in your path; please make sure that you have the ...

最新文章

  1. 【廖雪峰python进阶笔记】类的继承
  2. Nginx之location 匹配规则详解
  3. CF-1140 E - Palindrome-less Arrays
  4. 七十、Vue城市页面Ajax动态渲染和兄弟组件数据传递
  5. 十一、飞机大战(IVX 快速开发教程)
  6. c与python内存传递_python - 从Python向C ++传递COM指针数组 - 堆栈内存溢出
  7. 收藏 | Transformer 论文详细解读
  8. cad批量偏移_永远都不会卸载的几款CAD插件,月入过万不要太轻松。
  9. 编写高质量javascript代码的基本要点
  10. 8小时 用kotlin开发一款app
  11. 扬州大学计算机系导师,胡学龙
  12. AngularJS PrimeNG 的 自定义排序customSort
  13. 【业务数据分析】——十大常用数据分析方法
  14. 【女装2018新款潮碎花半身裙韩版气质两件套裙子】http://m.tb.cn/h.3aHr1L7
  15. win10宽带连接720错误 解决办法
  16. BZOJ 1933 [Shoi2007]Bookcase 书柜的尺寸 动态规划
  17. 温德姆酒店集团迁移至亚马逊云 应对后疫情旅游高峰
  18. 模拟工作室机架音频插件
  19. PHP开发日志 ━━ php、javascript生成二维码的三种方法
  20. 设计模式之备忘录模式 转载

热门文章

  1. 成功的路上会布满荆棘
  2. 工作站就是高级的微型计算机,家用pc机和工作站有什么不同?
  3. c语音大小写字母转换
  4. js中利用prompt和parseFloat来实现用户体温华氏和摄氏的提取(18)
  5. java ssh实现原理_SSH三大框架的工作原理及流程
  6. 小巫的Android视频教学出来啦,欢迎大家关注和指正!!!
  7. 使用安卓模拟器和GPA截帧分析手游
  8. [C++] 内联函数inline 以及 auto关键字 -- C++入门(4)
  9. Java里面for循环的几种用法
  10. lsdyna如何设置set中的node_list_如何安装使用最帅Linux系统监控工具