安装部署rabbitmq时报错:

Error: unable to perform an operation on node 'rabbit@ramq'. Please see diagnostics information and suggestions below.Most common reasons for this are:* Target node is unreachable (e.g. due to hostname resolution, TCP connection or firewall issues)* CLI tool fails to authenticate with the server (e.g. due to CLI tool's Erlang cookie not matching that of the server)* Target node is not runningIn addition to the diagnostics info below:* See the CLI, clustering and networking guides on https://rabbitmq.com/documentation.html to learn more* Consult server logs on node rabbit@ramq* If target node is configured to use long node names, don't forget to use --longnames with CLI toolsDIAGNOSTICS
===========attempted to contact: [rabbit@ramq]rabbit@ramq:* unable to connect to epmd (port 4369) on ramq: badarg (unknown POSIX error)Current node details:* node name: 'rabbitmqcli-5339-rabbit@ramq'* effective user's home directory: /var/lib/rabbitmq* Erlang cookie hash: 562q8brGLPiO0VyesKWViQ==[root@ramqgames]# rabbitmqctl status
Error: unable to perform an operation on node 'rabbit@ramq'. Please see diagnostics information and suggestions below.Most common reasons for this are:* Target node is unreachable (e.g. due to hostname resolution, TCP connection or firewall issues)* CLI tool fails to authenticate with the server (e.g. due to CLI tool's Erlang cookie not matching that of the server)* Target node is not runningIn addition to the diagnostics info below:* See the CLI, clustering and networking guides on https://rabbitmq.com/documentation.html to learn more* Consult server logs on node rabbit@ramq* If target node is configured to use long node names, don't forget to use --longnames with CLI toolsDIAGNOSTICS
===========attempted to contact: [rabbit@ramq]rabbit@ramq:* unable to connect to epmd (port 4369) on ramq: badarg (unknown POSIX error)Current node details:* node name: 'rabbitmqcli-5415-rabbit@ramq'* effective user's home directory: /var/lib/rabbitmq* Erlang cookie hash: 562q8brGLPiO0VyesKWViQ==

原因:rabbitmq宿主机无法解析本机的主机名;
解决方式:编辑/etc/hosts文件,添加主机名映射
编辑后端hosts文件如下图所示(主机名为ramq):

安装部署rabbitmq报错——已解决相关推荐

  1. Linux安装ElasticSearch启动报错的解决方法

    Linux安装ElasticSearch后,ElasticSearch是不能用root用户启动的,以root用户启动会报错Refer to the log for complete error det ...

  2. hp打印机没有右键扫描_安装HP打印机报错 0x000006be解决方法,图文操作步骤详解...

    安装HP打印机报错 0x000006be解决方法,图文操作步骤详解 1. 首先打开控制面板 2.在程序和功能窗口中找是否有HP的打印机驱动,卸载掉 3.打开C:WindowsSystem32spool ...

  3. php安装xmlwriter遇到报错及解决方法

    php安装xmlwriter遇到报错及解决方法 参考文章: (1)php安装xmlwriter遇到报错及解决方法 (2)https://www.cnblogs.com/gy1010/p/6513792 ...

  4. node-sass安装失败、报错、解决办法总结

    node-sass安装失败.报错.解决办法总结 1.首先需要考虑三个方面的问题: (1.) Node版本,node-sass版本,python版本. node版本建议用node12,可以查一下Node ...

  5. TS:解决Linux无法登录,输入密码后显示module is unknown报错(已解决)-2021.1.5

    TS:解决Linux无法登录,输入密码后显示module is unknown报错(已解决)-2021.1.5 1.报错现象 解决Linux无法登录,输入密码后显示module is unknown报 ...

  6. 部署Openstack报错及解决办法

    1.nova image-show 报错500 yum downgrade python-urllib3    版本1.10 yum downgrade python-requests  版本2.7 ...

  7. 安装python37路径报错_解决pycharm安装python库报错问题

    最近在玩微信图灵机器人,不过我安装有一些库,安装报错,上网找了很久,总结有两种方法,记录一下 方法一: 手动安装,直接到官网你需要的python库下载到本地, 放在安装python路径,C:\User ...

  8. centos中安装mysql5.6_CentOS中安装MySQL5.6报错的解决方法

    由于项目需要,必须使用最新出来的MySQL5.6社区版本,使用的操作系统是CentOS6.3.然后安装到中途报错如下:file /usr/share/mys 由于项目需要,必须使用最新出来的MySQL ...

  9. centos安装mysql5.6系统崩溃_CentOS中安装MySQL5.6报错的解决方法

    由于项目需要,必须使用最新出来的MySQL5.6社区版本,使用的操作系统是CentOS6.3.然后安装到中途报错如下:file /usr/share/mys 由于项目需要,必须使用最新出来的MySQL ...

最新文章

  1. 使用方差阈值过滤(VarianceThreshold)进行特征选择、删除方差低于某一阈值的特征、详解及实战
  2. 使用Tensorflow实现残差网络ResNet-50
  3. java camel from uri_java – 如何将Camel属性加载到Bean中?
  4. 微型计算机字,在微型计算机的汉字系统中,一个汉字的内码占 – 手机爱问
  5. 机器学习的练功心法(一)——机器学习概述
  6. BZOJ2301: [HAOI2011]Problem b[莫比乌斯反演 容斥原理]【学习笔记】
  7. 崩坏3服务器维护2月8号,《崩坏3》8月29日版本更新,全服维护通知
  8. 鬼灭之刃人物炫酷高清壁纸
  9. html 字体图标转换工具,字体图标的制作方式
  10. excel 绘制箱图
  11. 【路径规划】基于matlab蚁群算法求解机器人栅格地图最短路径规划问题【含Matlab源码 1580期】
  12. Tecplot360 作图经验
  13. 8款值得学习的科研论文作图软件!
  14. Flash Builder 4.6桌面项目在Flash Builder 4.7中打开遇到的问题
  15. 怎么对电脑的DNS进行设置从而使网速更快
  16. BZOJ 1023 仙人掌图
  17. js+html 实现关系拓扑图
  18. RMAN 系列(九) ---- 调整RMAN备份与恢复操作的性能
  19. hadoop之hdfs的shell命令操作
  20. oracle SYSAUX表空间使用率过高处理

热门文章

  1. C# 四舍五入 (解决四舍六入五成双的问题)
  2. IEEE浮点数尾数向偶舍入-四舍六入五成双
  3. 搜索引擎优化的优势及发展问题
  4. OpenGL ES 简介
  5. 牛年第一瓜!阿里女员工被初中文化男子骗走 500 多万元。。。
  6. matlab 压缩感知矩阵_【精读】基于MATLAB的钢筋下料优化算法
  7. 金山毒霸--血淋淋的教训
  8. 在Excel中如何提取括号中的数字
  9. BZOJ1050 [HAOI2006]旅行comf(Kruskal算法)
  10. 深度学习之 人脸识别(2) 模型