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.
问题描述:
当重启服务器后,用使用 systemctl start rabbitmq-server.service 命令启动报错:
错误信息: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.
解决方法:
1. 创建配置文件
// 跳转目录 cd /etc/rabbitmq/ // 创建文件 vim rabbitmq-env.conf
2. 添加内容
NODENAME=rabbit@localhost
保存后再次启动 RabbitMQ,问题解决。
hello world!!!