[Bug 1783325] Re: Rabbitmq-server times out during server startup
Th
1783325 at bugs.launchpad.net
Mon Jul 30 05:24:24 UTC 2018
Manual restarts have worked without problems.
--
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to rabbitmq-server in Ubuntu.
https://bugs.launchpad.net/bugs/1783325
Title:
Rabbitmq-server times out during server startup
Status in rabbitmq-server package in Ubuntu:
New
Bug description:
Ubuntu version
Description: Ubuntu 16.04.5 LTS
Release: 16.04
Package version
rabbitmq-server 3.5.7-1ubuntu0.16.04.2
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 at hostname' ...
Jul 19 09:20:23 hostname rabbitmq[1002]: pid is 1069 ...
...
Jul 19 09:21:03 hostname systemd[1]: rabbitmq-server.service: Start-post operation timed out. Stopping.
Jul 19 09:21:03 hostname systemd[1]: Failed to start RabbitMQ Messaging Server.
Jul 19 09:21:03 hostname systemd[1]: rabbitmq-server.service: Unit entered failed state.
Jul 19 09:21:03 hostname systemd[1]: rabbitmq-server.service: Failed with result 'timeout'.
At the same time this gets logged in /var/log/rabbitmq:
Server startup complete; 6 plugins started.
* rabbitmq_management
* rabbitmq_web_dispatch
* webmachine
* rabbitmq_management_agent
* 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/system/rabbitmq-
server.service). This has at least so far prevented the timeouts and I
haven't yet seen any problems caused by this change.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/rabbitmq-server/+bug/1783325/+subscriptions
More information about the Ubuntu-openstack-bugs
mailing list