安装完成后无法启动
[root@192 ~]# systemctl start rabbitmq-server Job for rabbitmq-server.service failed because the control process exited with error code. See "systemctl status rabbitmq-server.service" and "journalctl -xe" for details. [root@192 ~]# rabbitmqctl status Error: unable to perform an operation on node 'rabbit@192'. 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 running In 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@192 * If target node is configured to use long node names, don't forget to use --longnames with CLI tools DIAGNOSTICS =========== attempted to contact: [rabbit@192] rabbit@192: * unable to connect to epmd (port 4369) on 192: badarg (unknown POSIX error) Current node details: * node name: 'rabbitmqcli-49560-rabbit@192' * effective user's home directory: /var/lib/rabbitmq * Erlang cookie hash: HUE0NPa3t94hbXO0bKlQiw==
老师,帮忙看一下是什么问题,我的系统是centos 7 ,使用的是虚拟机VMware
31
收起
正在回答
1回答
同学你好,1.同学可尝试使用命令 systemctl status rabbitmq-server.service 或 journalctl -xe 命令查看详情。
2. 建议同学尝试将本机IP 写入HOST。如下所示:
直接用 echo ip 192>>/etc/hosts 其中的IP是服务器的IP
重启 systemctl restart rabbitmq-server
3. 如果还存在问题,则建议同学重新进行反馈,便于老师定位问题。
java工程师2020版
- 参与学习 人
- 提交作业 9393 份
- 解答问题 16556 个
综合就业常年第一,编程排行常年霸榜,无需脱产即可学习,北上广深月薪过万 无论你是未就业的学生还是想转行的在职人员,不需要基础,只要你有梦想,想高薪
了解课程
恭喜解决一个难题,获得1积分~
来为老师/同学的回答评分吧
0 星