Rabbitmq-server times out during server startup
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
rabbitmq-server (Ubuntu) |
Invalid
|
Low
|
Unassigned |
Bug Description
Ubuntu version
Description: Ubuntu 16.04.5 LTS
Release: 16.04
Package version
rabbitmq-server 3.5.7-1ubuntu0.
What happens when server boots and Rabbitmq-server starts up:
Jul 19 09:19:33 hostname systemd[1]: Started RabbitMQ Messaging Server.
...
Jul 19 09:20:23 hostname rabbitmq[1002]: Waiting for 'rabbit@hostname' ...
Jul 19 09:20:23 hostname rabbitmq[1002]: pid is 1069 ...
...
Jul 19 09:21:03 hostname systemd[1]: rabbitmq-
Jul 19 09:21:03 hostname systemd[1]: Failed to start RabbitMQ Messaging Server.
Jul 19 09:21:03 hostname systemd[1]: rabbitmq-
Jul 19 09:21:03 hostname systemd[1]: rabbitmq-
At the same time this gets logged in /var/log/rabbitmq:
Server startup complete; 6 plugins started.
* rabbitmq_management
* rabbitmq_
* webmachine
* rabbitmq_
* mochiweb
* amqp_client
No errors nor warnings get logged in /var/log/rabbitmq.
What I excepected to happen:
Rabbitmq-server should start without timing out.
Additional details:
I have seen this issue on multiple Ubuntu 16.04 servers that are running latest Rabbitmq server installed from Ubuntu repository. The timeout happens randomly, sometimes Rabbitmq server does not time out after reboot. The Rabbitmq server is standalone, not part of cluster.
As a workaround I have commented out the ExecStartPost line from Rabbitmq server Systemd unit file (/lib/systemd/
tags: | added: xenial |
I found one common thing for hosts have had this problem: They are all vms that run on older and slower hardware. Vms on newer hardware with similar software and configuration have not had this problem.