zoukankan      html  css  js  c++  java
  • RabbitMQ启动出错:- unable to connect to epmd on xxxx: timeout (timed out)

    yum install后启动rabbitmq报错:

    [root@www ~]# /etc/init.d/rabbitmq-server start
    Starting rabbitmq-server: FAILED - check /var/log/rabbitmq/startup_{log, _err}
    rabbitmq-server.

    查看status

    [root@www ~]# /etc/init.d/rabbitmq-server status
    Status of node rabbit@www ...
    Error: unable to connect to node rabbit@www: nodedown
    
    DIAGNOSTICS
    ===========
    
    nodes in question: [rabbit@www]
    
    hosts, their running nodes and ports:
    - unable to connect to epmd on www: address (cannot connect to host/port)
    
    current node details:
    - node name: rabbitmqctl11766@www
    - home dir: /var/lib/rabbitmq
    - cookie hash: xxxxxxxxxx==
    
    [root@www ~]# 

    看日志:

    [root@www ~]# tailf  /var/log/rabbitmq/startup_log 
    
                  RabbitMQ 3.1.5. Copyright (C) 2007-2013 GoPivotal, Inc.
      ##  ##      Licensed under the MPL.  See http://www.rabbitmq.com/
      ##  ##
      ##########  Logs: /var/log/rabbitmq/rabbit@www.log
      ######  ##        /var/log/rabbitmq/rabbit@www-sasl.log
      ##########
                  Starting broker... completed with 0 plugins.
    ERROR: epmd error for host "www": address (cannot connect to host/port)
                                                               [FAILED]

    解决方案

    [root@blockstorage ~]# vi /etc/hosts
    127.0.0.1   localhost localhost.localdomain localhost4 localhost4.localdomain4
    ::1         localhost localhost.localdomain localhost6 localhost6.localdomain6
    127.0.0.1       www
    192.168.155     www

    参考:https://gist.github.com/jch/2522701

  • 相关阅读:
    C#图片处理示例(裁剪,缩放,清晰度,水印)
    lucene4.5近实时搜索
    mongo 多条件 查询
    Lucene:QueryParser
    Lucene的中文分词器IKAnalyzer
    Lucene为不同字段指定不同分词器(转)
    Thrift初用小结
    lucene4.0与之前版本的一些改变
    lucene 资料
    Mongodb快速入门之使用Java操作Mongodb
  • 原文地址:https://www.cnblogs.com/yaohan/p/5756583.html
Copyright © 2011-2022 走看看