zoukankan      html  css  js  c++  java
  • rabbitmq安装报错

    问题描述
    环境:Centos7

    h3d@h3d2107:~$ sudo rabbitmqctl list_queues

    Error: unable to connect to node rabbit@ma: nodedown

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

    attempted to contact: [rabbit@h3d2107]

    root@ma:
      * connected to epmd (port 4369) on SC-201607101239
      * epmd reports node 'rabbit' running on port 25672
      * TCP connection succeeded but Erlang distribution failed
      * suggestion: hostname mismatch?
      * suggestion: is the cookie set correctly?
      * suggestion: is the Erlang distribution using TLS?


    current node details:
    - node name: 'rabbitmq-cli-2296@h3d2107'
    - home dir: /var/lib/rabbitmq
    - cookie hash: GrEiTedcyLioix0+618jhw==

    解决方式:
    sudo cp /var/lib/rabbitmq/.erlang.cookie ~/.erlang.cookie

    重启即可

    原因:
    RabbitMQ的erlang.cookie和用户的cookie冲突了,需要用rabbitmq的cookie去覆盖用户的cookie。

  • 相关阅读:
    家庭记账本_2
    家庭记账本_1
    安卓学习进度_25
    安卓软件学习进度_24
    对体温上报app的总结
    安卓软件学习进度_23
    安卓软件学习进度_22
    安卓开发
    安卓开发
    安卓开发
  • 原文地址:https://www.cnblogs.com/skyblue123/p/14604393.html
Copyright © 2011-2022 走看看