栏目分类:
子分类:
返回
终身学习网用户登录
快速导航关闭
当前搜索
当前分类
子分类
实用工具
热门搜索
终身学习网 > IT > 前沿技术 > 大数据 > 大数据系统

【RabbitMQ】RabbitMQ启动失败解决 Error: unable to connect to node rabbit@localhost: nodedown

大数据系统 更新时间:发布时间: 百科书网 趣学号

文章目录
  • 【问题】
    • Error: unable to connect to node rabbit@localhost: nodedown
  • 【解决】
      • (1)进入目录:
      • (2)使用 `rm` 命令删除:
      • (3)重新启动:
      • (4)启动成功
  • 【结语】


【问题】

启动rabbitmq时,包括查看启动状态时,报错:

Error: unable to connect to node rabbit@localhost: nodedown
[root@txg sbin]# rabbitmqctl status
Status of node rabbit@localhost ...
Error: unable to connect to node rabbit@localhost: nodedown

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

attempted to contact: [rabbit@localhost]

rabbit@localhost:
  * connected to epmd (port 4369) on localhost
  * epmd reports: node 'rabbit' not running at all
                  other nodes on localhost: ['rabbitmq-cli-19']
  * suggestion: start the node

current node details:
- node name: 'rabbitmq-cli-19@txg'
- home dir: /var/lib/rabbitmq
- cookie hash: iVB8SwvEJodhY4r2zXPLJw==
【解决】 (1)进入目录:
cd /var/lib/rabbitmq/mnesia

(2)使用 rm 命令删除:

(3)重新启动:
service rabbitmq-server start
(4)启动成功

【结语】

在整个rabbitmq安装和启动过程中,我遇到了很多问题,一个接一个,很令我头大。

但如果你也遇到了,请你不急不躁,不要像我一样头大,理性分析原因,相信你一定可以解决它,祝大家工作顺利!

转载请注明:文章转载自 www.051e.com
本文地址:http://www.051e.com/it/601315.html
我们一直用心在做
关于我们 文章归档 网站地图 联系我们

版权所有 ©2023-2025 051e.com

ICP备案号:京ICP备12030808号