在 CentOS 7.2 安装 RabbitMQ ,启动时提示以下信息:
# /sbin/service rabbitmq-server start
Starting rabbitmq-server (via systemctl): 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.
[失败]
查看具体错误信息
按照提示,执行提示中的命令:
# journalctl -xe
If you believe that inet_gethost should be allowed read access on the unix file by default.
Then you should report this as a bug.
You can generate a local policy module to allow this access.
Do
allow this access for now by executing:
# grep inet_gethost /var/log/audit/audit.log | audit2allow -M mypol
# semodule -i mypol.pp
9月 12 12:46:45 192.168.1.155 su[16863]: pam_unix(su:session): session closed for user rabbitmq
9月 12 12:46:45 192.168.1.155 rabbit

在安装RabbitMQ后,启动时遇到错误提示。通过查看日志,发现epmd错误。尝试检查并编辑/etc/hosts文件,解决hostname问题。此问题强调了IT人员掌握英语的重要性。
最低0.47元/天 解锁文章
5198





