In our CI I'm intermittently seeing issues installing rabbitmq-server due to a failure to start rabbitmq-server.service. I unfortuntely do not have a reliable reproducer though.
unit-rabbitmq-server-0: 2023-04-27 09:51:13 DEBUG unit.rabbitmq-server/0.install Job for rabbitmq-server.service failed because the control process exited with error code.
unit-rabbitmq-server-0: 2023-04-27 09:51:13 DEBUG unit.rabbitmq-server/0.install See "systemctl status rabbitmq-server.service" and "journalctl -xeu rabbitmq-server.service" for details.
unit-rabbitmq-server-0: 2023-04-27 09:51:13 DEBUG unit.rabbitmq-server/0.install invoke-rc.d: initscript rabbitmq-server, action "start" failed.
unit-rabbitmq-server-0: 2023-04-27 09:51:13 DEBUG unit.rabbitmq-server/0.install ● rabbitmq-server.service - RabbitMQ Messaging Server
unit-rabbitmq-server-0: 2023-04-27 09:51:13 DEBUG unit.rabbitmq-server/0.install Loaded: loaded (/lib/systemd/system/rabbitmq-server.service; enabled; vendor preset: enabled)
unit-rabbitmq-server-0: 2023-04-27 09:51:13 DEBUG unit.rabbitmq-server/0.install Active: activating (auto-restart) (Result: exit-code) since Thu 2023-04-27 09:51:13 UTC; 7ms ago
unit-rabbitmq-server-0: 2023-04-27 09:51:13 DEBUG unit.rabbitmq-server/0.install Process: 7793 ExecStart=/usr/lib/rabbitmq/bin/rabbitmq-server (code=exited, status=1/FAILURE)
unit-rabbitmq-server-0: 2023-04-27 09:51:13 DEBUG unit.rabbitmq-server/0.install Main PID: 7793 (code=exited, status=1/FAILURE)
unit-rabbitmq-server-0: 2023-04-27 09:51:13 DEBUG unit.rabbitmq-server/0.install Status: "Standing by"
unit-rabbitmq-server-0: 2023-04-27 09:51:13 DEBUG unit.rabbitmq-server/0.install CPU: 1.002s
unit-rabbitmq-server-0: 2023-04-27 09:51:13 DEBUG unit.rabbitmq-server/0.install
unit-rabbitmq-server-0: 2023-04-27 09:51:13 DEBUG unit.rabbitmq-server/0.install Apr 27 09:51:13 juju-ae4eef-zaza-b327eeed2196-9 systemd[1]: Failed to start RabbitMQ Messaging Server.
unit-rabbitmq-server-0: 2023-04-27 09:51:13 DEBUG unit.rabbitmq-server/0.install Apr 27 09:51:13 juju-ae4eef-zaza-b327eeed2196-9 systemd[1]: rabbitmq-server.service: Consumed 1.002s CPU time.
unit-rabbitmq-server-0: 2023-04-27 09:51:13 DEBUG unit.rabbitmq-server/0.install dpkg: error processing package rabbitmq-server (--configure):
unit-rabbitmq-server-0: 2023-04-27 09:51:13 DEBUG unit.rabbitmq-server/0.install installed rabbitmq-server package post-installation script subprocess returned error exit status 1
unit-rabbitmq-server-0: 2023-04-27 09:51:13 DEBUG unit.rabbitmq-server/0.install Errors were encountered while processing:
unit-rabbitmq-server-0: 2023-04-27 09:51:13 DEBUG unit.rabbitmq-server/0.install rabbitmq-server
Version: jammy-updates/main amd64 rabbitmq-server all 3.9.13-1ubuntu0.22.04.1