-
Notifications
You must be signed in to change notification settings - Fork 3.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RabbitMQ service fails to stop on Ubuntu 16.04 (Erlang R16B03) with systemd #570
Comments
What is in RabbitMQ log files? |
I used tail to checking all files in The only two with some outputs are
and
Maybe I need to change a conf to have more output? |
Hi @michaelklishin I dont think this is a duplicate. The problem relates specifically to the current versions of ubuntu. @rpadovani How did you manage to get rabbitmq installed on ubuntu 16.04. Installation fails as rabbitMQ attempts to use upstart but Ubuntu has switched to systemd. If you see the error that you you have on stopping rabbitMQ it is the same error i get on installation. RabbitMQ script is attempting to use upstart but upstart is no longer available on ubuntu by default. See error below: systemctl status rabbitmq-server.service May 20 10:50:08 ebrahim-VirtualBox su[11807]: + ??? root:rabbitmq |
@ejogee what RabbitMQ package version do you use? |
I use the I upgraded to |
@michaelklishin Im installing via the deb package rabbitmq-server_3.6.2-1_all.deb |
Fixes rabbitmq#570 With this patch systemd service file will be used on systemd-enabled hosts, providing more seamless experience. I've tested it by building it on ubuntu 14.04, which is not managed by systemd. Still, it has necessary packages to build systemd-aware debs. And then I tried to install this package: - On ubuntu 14.04 - regular init script was used - On debian jessie with systemd and esl-erlang 18.3 - server was properly started using systemd service file (and epmd dependency was also automatically started by systemd)
Can the question be solved? |
Hi @luckydogchina! What do you mean? |
Our team uses rabbitmq-users for questions. |
Hello all,
first of all, congrats for your awesome works :)
I'm experiencing issues stopping rabbitmq server using the
/etc/init.d/rabbitmq-server stop
command.Taking a look to the logs, I noticed this line:
Now, the problem is Ubuntu doesn't use upstart anymore, but it switched to systemd a couple of releases ago.
After
/etc/init.d/rabbitmq-server stop
the status of the service is:When I start it again, the result is:
I have to use
killall
and then start the server againThis is the version of rabbitmq I have:
Let me know if I can help you debugging this :)
The text was updated successfully, but these errors were encountered: