zoukankan      html  css  js  c++  java
  • rabbiit报错处理

    一、ping不同download.yunwei.edu

      内网服务地址必须在前面 

    [root@localhost ~]# vim /etc/resolv.conf
    # Generated by NetworkManager
    nameserver 192.168.254.251 
    nameserver 223.5.5.5       

    二、无法连接到主机

    [root@localhost ~]# rabbitmqctl change_password guest admin
    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' 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-35@jam0'
    - home dir: /var/lib/rabbitmq
    - cookie hash: f3vStYt4wn/ej6MSG0MD7A==

      碰到这种情况可能是主机名没有修改过来,登出后重新登入即可

    [root@jam0 ~]# rabbitmqctl change_password guest admin
    Changing password for user "guest" ...

    三、节点无法加入到集群中

    先启动节点 :rabbitmqctl start_app

    再删除/var/lib/rabbitmq/下的文件

    重启rabbitmq服务:systemctl restart rabbitmq-server.service

    再次发送/etc/rabbitmq/rabbitmq-env.conf 到节点,并进行修改

    重启rabbitmq服务

  • 相关阅读:
    ural 1227 dfs判环&求最长路
    uva 11990 块状链表
    图论·二分图
    图论·双连通分量
    图论·欧拉迹
    组合博弈
    解题策略·状态精简
    组合计数·棋盘统计
    组合计数·图形统计
    组合计数·经典序列问题
  • 原文地址:https://www.cnblogs.com/daisyyang/p/10957250.html
Copyright © 2011-2022 走看看