具体出错信息如下:

  1. [root@blockstorage ~]# rabbitmqctl change_password guest RABBIT_PASS
  2. Changing password for user "guest" ...
  3. Error: unable to connect to node rabbit@blockstorage: nodedown
  4.  
  5. DIAGNOSTICS
  6. ===========
  7.  
  8. nodes in question: [rabbit@blockstorage]
  9.  
  10. hosts, their running nodes and ports:
  11. - unable to connect to epmd on blockstorage: timeout (timed out)
  12.  
  13. current node details:
  14. - node name: rabbitmqctl2309@blockstorage
  15. - home dir: /var/lib/rabbitmq
  16. - cookie hash: 9MAewQpNA2Hn9l2WPQ++rw==

  解决方案:在/etc/hosts文件中加入一行“127.0.0.1  主机名”即可,加入IP地址和主机名是不行的。

  1. [root@blockstorage ~]# vi /etc/hosts
  2.  
  3. 127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
  4. :: localhost localhost.localdomain localhost6 localhost6.localdomain6
  5. 127.0.0.1 blockstorage
  6. 192.168. blockstorage

  然后,启动查看状态皆OK

  1. [root@blockstorage ~]# systemctl start rabbitmq-server.service
  2. [root@blockstorage ~]# rabbitmqctl status
  3. Status of node rabbit@blockstorage ...
  4. [{pid,},
  5. {running_applications,[{rabbit,"RabbitMQ","3.1.5"},
  6. {mnesia,"MNESIA CXC 138 12","4.11"},
  7. {os_mon,"CPO CXC 138 46","2.2.14"},
  8. {xmerl,"XML parser","1.3.6"},
  9. {sasl,"SASL CXC 138 11","2.3.4"},
  10. {stdlib,"ERTS CXC 138 10","1.19.4"},
  11. {kernel,"ERTS CXC 138 10","2.16.4"}]},
  12. {os,{unix,linux}},
  13. {erlang_version,"Erlang R16B03-1 (erts-5.10.4) [source] [64-bit] [smp:2:2] [async-threads:30] [hipe] [kernel-poll:true]\n"},
  14. {memory,[{total,},
  15. {connection_procs,},
  16. {queue_procs,},
  17. {plugins,},
  18. {other_proc,},
  19. {mnesia,},
  20. {mgmt_db,},
  21. {msg_index,},
  22. {other_ets,},
  23. {binary,},
  24. {code,},
  25. {atom,},
  26. {other_system,}]},
  27. {vm_memory_high_watermark,0.4},
  28. {vm_memory_limit,},
  29. {disk_free_limit,},
  30. {disk_free,},
  31. {file_descriptors,[{total_limit,},
  32. {total_used,},
  33. {sockets_limit,},
  34. {sockets_used,}]},
  35. {processes,[{limit,},{used,}]},
  36. {run_queue,},
  37. {uptime,}]
  38. ...done.
  39. [root@blockstorage ~]#

RabbitMQ安装后启动出错:- unable to connect to epmd on blockstorage: timeout (timed out)的更多相关文章

  1. 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: ...

  2. [Mysql] 安装后启动不了

    Mysql安装后启动报错: ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql ...

  3. wampserver 安装后 启动失败的解决方法

    安装后启动, 显示 发生未知的异常 wampmanager.exe  .... 解决方法 === 其实下载页面说了,先下载 vc的运行库,页面上有链接, 他给的是vc10的,我按照做,失败 查了无数资 ...

  4. xmind 8 安装后启动失败(未提示错误信息)

      xmind 8 安装后启动失败   前言 家里的计算机也安装了xmind,启动之后界面显示xmind的启动图标,几秒之后启动图标消失(闪退了),然后留我一脸懵逼.想着卸载了安装一个新的应该没有问题 ...

  5. RabbitMQ安装后,BADARG问题

    最近RabbitMQ安装后始终不能运行,发现异常关键信息如下 =CRASH REPORT==== 10-Nov-2017::13:41:09 === crasher: initial call: ap ...

  6. docker安装后启动报错

    docker安装后启动不起来: 查看日志  /var/log/message    其中有一行为:  Your kernel does not support cgroup memory limit ...

  7. Unable to connect to zookeeper server within timeout: 5000

    错误 严重: StandardWrapper.Throwable org.springframework.beans.factory.BeanCreationException: Error crea ...

  8. Caused by: org.I0Itec.zkclient.exception.ZkTimeoutException: Unable to connect to zookeeper server within timeout: 5000

    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'brandControl ...

  9. RabbitMQ安装后不能运行 Error: unable to connect to node nodedown

    本地安装RabbitMQ后总是不能正常的使用.. 命令行输入 rabbitMQctl Status  报下边的错 Error: unable to connect to node 'rabbit@YO ...

随机推荐

  1. 使用ObjectAnimator开发打开、关闭书本动画

    动画效果 动画效果-分享链接 (想做成gif图的,尝试各种工具无果) ObjectAnimator简单介绍及实现思路 ObjectAnimator是从api level 11 (Android3.0x ...

  2. caffe源代码分析--data_layer.cpp

    dataLayer作为整个网络的输入层, 数据从leveldb中取. leveldb的数据是通过图片转换过来的. 网络建立的时候. datalayer主要是负责设置一些參数,比方batchsize.c ...

  3. leetcode_question_125 Valid Palindrome

    Given a string, determine if it is a palindrome, considering only alphanumeric characters and ignori ...

  4. 【main()的参数探究】

    恩...今天研究信安的课件的时候看到一段对于main(int argc,char *argv[])的编程 所以探究探究main()函数的参数 探究程序如下: #include <cstdio&g ...

  5. c# 自定义位数生成激活码

    Random random = new Random(~unchecked((int)DateTime.Now.Ticks));private string CreateAndCheckCode(Ra ...

  6. L12 samba服务器搭建

    在/data/share目录下建立三个子目录public.training.devel用途如下public目录用于存放公共数据,如公司的规章制度training目录用于存放公司的技术培训资料devel ...

  7. zoj1025 Wooden Sticks

    DAG转移,从切题的数量来看是一道水题,给你n个棒,大的可以延续小的,问最少上升子序列的个数. 其实这道题是用贪心来写的,因为这是个有向无环图,到达分叉口,每一条路都要便历,所以每条路应该一样对待,有 ...

  8. javascript中this,call,apply详解

    javascript是一门解释型的语言,与很多面向对象语言相比有着不同特性,所以不能用面向对象的原理来理解this这个关键字. 在JS中,要真正理解this倒底指向哪个对象,必须先了解JS的作用域和原 ...

  9. mongoengine连接错误:“False is not a read preference”解决方法

    问题出现: Mongoengine是一个可以操作MongoDB数据库的对象-文档映射器(Object-Document Mapper).出于工作需要,最近在使用MongoDB+Django实现一个数据 ...

  10. MySQL----基本数据类型

    1.数值型: tinyint:1字节 smallint:2字节 mediumint:3字节 int:4字节 bigint:8字节 float:4字节 double:8字节 decimal(m,c):m ...