Public bug reported:

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@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.

** Affects: rabbitmq-server (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1783325

Title:
  Rabbitmq-server times out during server startup

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/rabbitmq-server/+bug/1783325/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to