安装部署rabbitmq报错——已解决
安装部署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报错——已解决相关推荐
- Linux安装ElasticSearch启动报错的解决方法
Linux安装ElasticSearch后,ElasticSearch是不能用root用户启动的,以root用户启动会报错Refer to the log for complete error det ...
- hp打印机没有右键扫描_安装HP打印机报错 0x000006be解决方法,图文操作步骤详解...
安装HP打印机报错 0x000006be解决方法,图文操作步骤详解 1. 首先打开控制面板 2.在程序和功能窗口中找是否有HP的打印机驱动,卸载掉 3.打开C:WindowsSystem32spool ...
- php安装xmlwriter遇到报错及解决方法
php安装xmlwriter遇到报错及解决方法 参考文章: (1)php安装xmlwriter遇到报错及解决方法 (2)https://www.cnblogs.com/gy1010/p/6513792 ...
- node-sass安装失败、报错、解决办法总结
node-sass安装失败.报错.解决办法总结 1.首先需要考虑三个方面的问题: (1.) Node版本,node-sass版本,python版本. node版本建议用node12,可以查一下Node ...
- TS:解决Linux无法登录,输入密码后显示module is unknown报错(已解决)-2021.1.5
TS:解决Linux无法登录,输入密码后显示module is unknown报错(已解决)-2021.1.5 1.报错现象 解决Linux无法登录,输入密码后显示module is unknown报 ...
- 部署Openstack报错及解决办法
1.nova image-show 报错500 yum downgrade python-urllib3 版本1.10 yum downgrade python-requests 版本2.7 ...
- 安装python37路径报错_解决pycharm安装python库报错问题
最近在玩微信图灵机器人,不过我安装有一些库,安装报错,上网找了很久,总结有两种方法,记录一下 方法一: 手动安装,直接到官网你需要的python库下载到本地, 放在安装python路径,C:\User ...
- centos中安装mysql5.6_CentOS中安装MySQL5.6报错的解决方法
由于项目需要,必须使用最新出来的MySQL5.6社区版本,使用的操作系统是CentOS6.3.然后安装到中途报错如下:file /usr/share/mys 由于项目需要,必须使用最新出来的MySQL ...
- centos安装mysql5.6系统崩溃_CentOS中安装MySQL5.6报错的解决方法
由于项目需要,必须使用最新出来的MySQL5.6社区版本,使用的操作系统是CentOS6.3.然后安装到中途报错如下:file /usr/share/mys 由于项目需要,必须使用最新出来的MySQL ...
最新文章
- 使用方差阈值过滤(VarianceThreshold)进行特征选择、删除方差低于某一阈值的特征、详解及实战
- 使用Tensorflow实现残差网络ResNet-50
- java camel from uri_java – 如何将Camel属性加载到Bean中?
- 微型计算机字,在微型计算机的汉字系统中,一个汉字的内码占 – 手机爱问
- 机器学习的练功心法(一)——机器学习概述
- BZOJ2301: [HAOI2011]Problem b[莫比乌斯反演 容斥原理]【学习笔记】
- 崩坏3服务器维护2月8号,《崩坏3》8月29日版本更新,全服维护通知
- 鬼灭之刃人物炫酷高清壁纸
- html 字体图标转换工具,字体图标的制作方式
- excel 绘制箱图
- 【路径规划】基于matlab蚁群算法求解机器人栅格地图最短路径规划问题【含Matlab源码 1580期】
- Tecplot360 作图经验
- 8款值得学习的科研论文作图软件!
- Flash Builder 4.6桌面项目在Flash Builder 4.7中打开遇到的问题
- 怎么对电脑的DNS进行设置从而使网速更快
- BZOJ 1023 仙人掌图
- js+html 实现关系拓扑图
- RMAN 系列(九) ---- 调整RMAN备份与恢复操作的性能
- hadoop之hdfs的shell命令操作
- oracle SYSAUX表空间使用率过高处理