[Bug 1783325] Re: Rabbitmq-server times out during server startup

James Page james.page at ubuntu.com
Thu Jul 26 10:43:40 UTC 2018


rabbitmq is also very sensitive to any hostname <-> IP mismatch as it
uses this to communicate with the RMQ daemon.

'rabbit at hostname' looks suspicious here - I'd suggest that maybe
something is a bit wonky.

If a "sudo su -" results a warning about hostnames this is def the
issue.

** Changed in: rabbitmq-server (Ubuntu)
       Status: New => Incomplete

** Changed in: rabbitmq-server (Ubuntu)
   Importance: Undecided => Low

-- 
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:
  Incomplete

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