• 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。

  • 相关阅读:
    extract numberic from text
    str.rfind("//")
    solr入门心得
    深挖洞,广积粮,缓称王
    ubuntu 查看文件夹大小

    关于托运
    iconv转换文件编码
    小毛小毛你的心态
    广积粮,高筑墙,缓称王
  • 原文地址:https://www.cnblogs.com/skyblue123/p/14604393.html
Copyright © 2020-2023  润新知