解决Error: unable to perform an operation on node ‘rabbit@DESKTOP-xxx‘. Please see diagnostics informa
文章目录
- 1. 复现问题
- 2. 分析问题
- 3. 解决问题
1. 复现问题
今天登录rabbitMq
后台管理,输入用户名和密码后,却报出这个错误:Not management user
,如下图所示:
于是,决定执行命令rabbitmqctl list_users
查看是否有这个用户。
- 首先在
D:\Software\rabbitmq\rabbitmq_server-3.8.15\sbin
目录下输入cmd
:
- 在
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
上之心操作呢?
于是去查找资料,网上说错误的原因是Erlang
的cookie
出现问题,Erlang
会生成两个cookie
文件,文件目录如下所示:
C:\Windows\System32\config\systemprofile\.erlang.cookie
,但我的C:\Windows\System32\config\systemprofile\
目录下并没有这个.erlang.cookie
文件:
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相关推荐
- 关于搭建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报错 问题描述: 具体报错 ...
- 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 ...
- 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 ...
- Status of node rabbit@xxxxx... Error: unable to perform an operation on node ‘rabbit@xxxx
今天在window10上安装了rabbitMQ,但是按照教程来的时候竟然出错了,教程主要讲的是用管理员身份安装,我是直接双击安装,所以出现了点问题,所以上网找了答案,下面是参考的博客,如果是linux ...
- 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& ...
- Windows下运行rabbitmqctl 相关命令(如rabbitmqctl stop)报错:Error: unable to perform an operation on node解决方案
Windows下运行rabbitmqctl 相关命令(如rabbitmqctl stop)报错:Error: unable to perform an operation on node解决方案 参考 ...
- Windows下安装RabbitMQ报错:unable to perform an operation on node时的解决方案
Windows下安装RabbitMQ报错:unable to perform an operation on node时的解决方案 参考文章: (1)Windows下安装RabbitMQ报错:unab ...
- 成功解决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 ...
- 成功解决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 ...
最新文章
- 【廖雪峰python进阶笔记】类的继承
- Nginx之location 匹配规则详解
- CF-1140 E - Palindrome-less Arrays
- 七十、Vue城市页面Ajax动态渲染和兄弟组件数据传递
- 十一、飞机大战(IVX 快速开发教程)
- c与python内存传递_python - 从Python向C ++传递COM指针数组 - 堆栈内存溢出
- 收藏 | Transformer 论文详细解读
- cad批量偏移_永远都不会卸载的几款CAD插件,月入过万不要太轻松。
- 编写高质量javascript代码的基本要点
- 8小时 用kotlin开发一款app
- 扬州大学计算机系导师,胡学龙
- AngularJS PrimeNG 的 自定义排序customSort
- 【业务数据分析】——十大常用数据分析方法
- 【女装2018新款潮碎花半身裙韩版气质两件套裙子】http://m.tb.cn/h.3aHr1L7
- win10宽带连接720错误 解决办法
- BZOJ 1933 [Shoi2007]Bookcase 书柜的尺寸 动态规划
- 温德姆酒店集团迁移至亚马逊云 应对后疫情旅游高峰
- 模拟工作室机架音频插件
- PHP开发日志 ━━ php、javascript生成二维码的三种方法
- 设计模式之备忘录模式 转载
热门文章
- 成功的路上会布满荆棘
- 工作站就是高级的微型计算机,家用pc机和工作站有什么不同?
- c语音大小写字母转换
- js中利用prompt和parseFloat来实现用户体温华氏和摄氏的提取(18)
- java ssh实现原理_SSH三大框架的工作原理及流程
- 小巫的Android视频教学出来啦,欢迎大家关注和指正!!!
- 使用安卓模拟器和GPA截帧分析手游
- [C++] 内联函数inline 以及 auto关键字 -- C++入门(4)
- Java里面for循环的几种用法
- lsdyna如何设置set中的node_list_如何安装使用最帅Linux系统监控工具