首页 > 编程知识 正文

使用rabbitmq过程中遇到的问题及解决方法记录,windows下安装rabbitmq

时间:2023-05-05 13:45:07 阅读:234598 作者:2590

C:RabbitMQ Serverrabbitmq_server-3.7.3sbin>rabbitmqctl.bat status Status of node rabbit@DESKTOP-6JT7D2H ... Error: unable to perform an operation on node 'rabbit@DESKTOP-6JT7D2H'. 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 http://rabbitmq.com/documentation.html to learn more* Consult server logs on node rabbit@DESKTOP-6JT7D2H DIAGNOSTICS =========== attempted to contact: ['rabbit@DESKTOP-6JT7D2H'] rabbit@DESKTOP-6JT7D2H: * connected to epmd (port 4369) on DESKTOP-6JT7D2H * epmd reports node 'rabbit' uses port 25672 for inter-node and CLI tool traffic * TCP connection succeeded but Erlang distribution failed * Authentication failed (rejected by the remote node), please check the Erlang cookie Current node details: * node name: 'rabbitmqcli57@DESKTOP-6JT7D2H'* effective user's home directory: C:UsersAdministrator.DESKTOP-6JT7D2H* Erlang cookie hash: RmzKErjVZUcsMU8wSgBGbA==

解决方法: 将C:Userstracyclock.erlang.cookie 文件拷贝到C:WindowsSystem32configsystemprofile替换掉.erlang.cookie文件
重启rabbitMQ服务:net stop RabbitMQ && net start 冷艳的菠萝/p>

版权声明:该文观点仅代表作者本人。处理文章:请发送邮件至 三1五14八八95#扣扣.com 举报,一经查实,本站将立刻删除。