• HOME
  • CATEGORY
  • ABOUT ME
All Articles

  • HOME
  • CATEGORY
  • ABOUT ME

RabbitMQ-Error-1

2023-12-11

RABBITMQ 在 Window 启动报错

1
Error: unable to perform an operation on node 'rabbit@Sevattal'.

问题描述:

安装完 ErLang 和 RabbitMQ 之后执行 rabbitmqctl status 报错:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Error: unable to perform an operation on node 'rabbit@Sevattal'. 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@Sevattal
- If target node is configured to use long node names, don't forget to use --longnames with CLI tools
DIAGNOSTICS
attempted to contact: [rabbit@Sevattal]
rabbit@Sevattal:
- connected to epmd (port 4369) on Sevattal
- epmd reports: node 'rabbit' not running at all
- suggestion: start the node
Current node details:
- node name: 'rabbitmqcli-932-rabbit@Sevattal'
- effective user's home directory: c:/Users/baifa
- Erlang cookie hash: 57TJuhXC3k6+xS/OPqlAPg==

错误的原因是 Erlang 的 cookie 出现问题,Erlang 会生成两个 cookie 文件:C:\Windows\System32\config\systemprofile\.erlang.cookie 及 C:\用户\你的用户名\.erlang.cookie 。

1
2
3
C:\Windows\System32\config\systemprofile\.erlang.cookie

C:\用户\你的用户名\.erlang.cookie

用后者的文件替换掉前者的文件。
如果还不行,那就卸载了,然后使用 默认路径 重装。

赏

谢谢你请我吃糖果

支付宝
微信
  • RabbitMQ
  • Window

扫一扫,分享到微信

微信分享二维码
Rabbitmqctl-Base-1
Linux-System-File-Operate-1
© 2025 Sevattal
这里只是一个微不足道的计算机从业者
  • All Articles

tag:

  • Ansible
  • JMeter
  • CRM
  • Mail
  • Conda
  • Corosync-Pacemaker-CRM
  • DM Database
  • Scrapy
  • Cloud
  • ASM
  • Mysql
  • Linux
  • Elasticsearch
  • FFmpeg
  • Hexo
  • RabbitMQ
  • SpringBoot
  • Spring
  • Maven
  • Kubernetes
  • Lightroom
  • Crontab
  • DRBD
  • LVM
  • Nginx
  • NTP
  • OpenSSH
  • SSH
  • NetworkCard
  • Supervisor
  • Swap
  • TinyProxy
  • GCC
  • VNC
  • Oracle
  • MongDB
  • MinIO
  • Mysql-Lock
  • Restore
  • MysqlDump
  • Procedure
  • HTML
  • XtraBackup
  • Nacos
  • Neo4j
  • Netty
  • NAT
  • Route
  • ACL
  • EIGRP
  • Cisco
  • OSPF
  • HUAWEI
  • Switch
  • STP
  • VLAN
  • VTP
  • Nmap
  • OpenFeign
  • Sentinel
  • Backup
  • EXP
  • RMAN
  • DG
  • FlashBack
  • Job
  • Oracle-Inspection
  • Oracle-Name
  • Oracle RAC
  • RAC
  • Trigger
  • Postgres
  • Postgres-Copy
  • Flask-SQLalchemy
  • PGPool-II
  • Postgres+PGPool-II
  • Rancher
  • Redis
  • Redis-Copy
  • Redis-Cluster
  • Redis-Memory
  • Redis-RDB
  • Redis-AOF
  • Redis-Sentinel
  • Interview
  • SNMP
  • Spring Security
  • Bus
  • Config
  • Consul
  • GateWay
  • Eureka
  • Sleuth
  • Stream
  • Zookeeper
  • Tomcat
  • VMware
  • ShareDisk
  • Video-Clip
  • Hystrix
  • Ribbon
  • Regedit
  • USB
  • Yaml
  • Zabbix

    缺失模块。
    1、请确保node版本大于6.2
    2、在博客根目录(注意不是yilia根目录)执行以下命令:
    npm i hexo-generator-json-content --save

    3、在根目录_config.yml里添加配置:

      jsonContent:
        meta: false
        pages: false
        posts:
          title: true
          date: true
          path: true
          text: false
          raw: false
          content: false
          slug: false
          updated: false
          comments: false
          link: false
          permalink: false
          excerpt: false
          categories: false
          tags: true