RabbitMQ安装后启动出错:- unable to connect to epmd on blockstorage: timeout (timed out)

  具体出错信息如下:

[[email protected] ~]# rabbitmqctl change_password guest RABBIT_PASS
Changing password for user "guest" ...
Error: unable to connect to node [email protected]: nodedown

DIAGNOSTICS
===========

nodes in question: [[email protected]]

hosts, their running nodes and ports:
- unable to connect to epmd on blockstorage: timeout (timed out)

current node details:
- node name: [email protected]
- home dir: /var/lib/rabbitmq
- cookie hash: 9MAewQpNA2Hn9l2WPQ++rw==

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

[[email protected] ~]# vi /etc/hosts

127.0.0.1   localhost localhost.localdomain localhost4 localhost4.localdomain4
::1         localhost localhost.localdomain localhost6 localhost6.localdomain6
127.0.0.1       blockstorage
192.168.155     blockstorage

  然后,启动查看状态皆OK

[[email protected] ~]# systemctl start rabbitmq-server.service
[[email protected] ~]# rabbitmqctl status
Status of node [email protected] ...
[{pid,2378},
 {running_applications,[{rabbit,"RabbitMQ","3.1.5"},
                        {mnesia,"MNESIA  CXC 138 12","4.11"},
                        {os_mon,"CPO  CXC 138 46","2.2.14"},
                        {xmerl,"XML parser","1.3.6"},
                        {sasl,"SASL  CXC 138 11","2.3.4"},
                        {stdlib,"ERTS  CXC 138 10","1.19.4"},
                        {kernel,"ERTS  CXC 138 10","2.16.4"}]},
 {os,{unix,linux}},
 {erlang_version,"Erlang R16B03-1 (erts-5.10.4) [source] [64-bit] [smp:2:2] [async-threads:30] [hipe] [kernel-poll:true]\n"},
 {memory,[{total,35634312},
          {connection_procs,2800},
          {queue_procs,5600},
          {plugins,0},
          {other_proc,13661600},
          {mnesia,60544},
          {mgmt_db,0},
          {msg_index,22776},
          {other_ets,779744},
          {binary,10464},
          {code,16441504},
          {atom,594537},
          {other_system,4054743}]},
 {vm_memory_high_watermark,0.4},
 {vm_memory_limit,6664211660},
 {disk_free_limit,1000000000},
 {disk_free,82254290944},
 {file_descriptors,[{total_limit,924},
                    {total_used,3},
                    {sockets_limit,829},
                    {sockets_used,1}]},
 {processes,[{limit,1048576},{used,123}]},
 {run_queue,0},
 {uptime,13}]
...done.
[[email protected] ~]# 
时间: 2024-07-31 18:43:06

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

配置Mysql Cluster时出错Unable to connect with connect string: nodeid=0,localhost:1186问题的解决

在执行 /etc/init.d/ndbd --initial出现下列错误 [[email protected] ~]# /etc/init.d/ndbd --initialUnable to connect with connect string: nodeid=0,localhost:1186Retrying every 5 seconds. Attempts left: 12 11 10 9 8 7 6 5 4 3 2 1, failed. 解决办法 1.查看/etc/my.cnf文件配置

python(2.7.10) 安装后启动错误:IDLE's subprocess didn't make connection

问题:启动Python提示错误:IDLE's subprocess didn't make connection.Either IDLE can't start a subprocess or personal firewall software is blocking the connection . 原因: That usually means that your firewall is blocking IDLE, so  enable it in your firewall. If th

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

xmind 8 安装后启动失败 前言 家里的计算机也安装了xmind,启动之后界面显示xmind的启动图标,几秒之后启动图标消失(闪退了),然后留我一脸懵逼.想着卸载了安装一个新的应该没有问题,结果是我想错了,哈哈哈.上网搜索了一下,看到网络上说可能是配置文件出现了问题,于是我开始研究配置文件. 系统环境:windows 8xmind软件:xmind 3.7.6 内容 找到配置文件“xmind.ini”的位置,怎么找?先找到xmind的快捷键,点击右键属性,找到xmind.exe的位置,自然就找

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 'brandController' defined in file [G:\idjavacode\pygqingmu2parent\pyg_qingmu2_web_manager\target\pyg_qingmu2_web_manager-1.0-SNAPSHOT\WEB-INF\classes\com\qingmu2\c

Mysql 数据迁移后 启动出错

今天上班后不知道为什么,mysql一直无法启动,折腾了半天于是决定重装 我本地的服务器用的是wamp , 重装的时候, 要进行数据备份 , 我使用的最简单粗暴的备份方式, 就是直接进入到mysql的安装目录下, 把data拷贝一份就可以了. 然后卸载wamp后重装,数据迁移就是把data贴到相同位置替换下就ok了 但是今天迁移完后,mysql怎么也启动不了,查看log,显示各种错误 2014-11-13 13:40:29 5196 [Note] Plugin 'FEDERATED' is dis

Python Anaconda2 (64-bit) 安装后启动jupyter-notebook默认目录更改

看了网上很多关于更改 python notebook的,好麻烦,所以想了一招. python notebook 现在改名叫 jupyter-notebook ,被集成在Anaconda中. Anaconda集成了python.Spyder.jupyter等python的编辑器,也集成了很多科学计算的lib库,当然有些库没有被集成进去 1.下载Anaconda 网址:https://www.continuum.io/downloads 下载python27版本 64位 如果需要免费的学术licen

C#编写的windows服务安装后启动提示“服务启动后又停止了”

使用C#编写的windows服务安装到服务器上行后进行启动时,总是提示“服务启动后又停止了”. 检查了服务逻辑是没问题,安装在开发本地也是正常,网上查了资料说是可能是服务没有注册,我检查了服务是正常注册,相对应的方法试很多了,但是都没有解决.后来无意中看了一个帖子说可以在windows的本地服务日志里边看报错信息.看到这个,我的问题就有办法处理了,查了一下保存信息,提示找不到“E:\\”,看到这里我就明白是怎么回事了,我的开发机有E盘,服务器上没有E盘,而我的日志文件默认写在E盘,所以服务启动后

rabbitMQ -- 安装和启动(WIN)

#以前使用MQ就使用过activeMQ, 最近需要使用到消息中间件,开始看了阿里的racketMQ结果没有找到C/C++客户端 只有PAAS服务ONS提供了,使用确实挺方便的,不过暂时没有考虑,先就考虑了再WINDOWS下面也有相应版本的rabbitMQ 既然是工业级的 有保障 首先 rabbitMQ 是 erlang 语言编写的,先要有erlang 环境 (注:没有接触过) [下载erlang] http://www.erlang.org/download.html 各种版本都有,我使用了wi

ubuntu14.0.4 genymotion 安装后启动不了

系统是ubuntu14.0.4 下载 genymotion-2.7.1-linux_x64.bin chmod +x  genymotion-2.7.1-linux_x64.bin 执行上面之后启动./genymotion 报错 找不到 libstdc++.so.6 not  found ....(bala bala)  (大致是这种错误) 在stackoverflow 找到如下 http://stackoverflow.com/questions/20357033/how-to-fix-pro