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服务

  • 相关阅读:
    C#等同于正则表达式的写法
    操作XML
    对比工具集合
    IIS 部署的网站无法启动
    jdk_1.8 下载之后的配置
    sql server 2008认识 DENSE_RANK
    c# 二分查找算法
    c# 使用栈实现有效的括号
    sql server 自定义标量函数
    虚拟机cenos 重置密码
  • 原文地址:https://www.cnblogs.com/daisyyang/p/10957250.html
Copyright © 2011-2022 走看看