how do I start rabbitmq on linux

1,514 views
Skip to first unread message

simon mackenzie

unread,
Aug 1, 2019, 11:24:31 AM8/1/19
to rabbitmq-users
I installed on windows and rabbitmq automatically started and just worked. On ubuntu I installed with conda and it appears to be installed along with erlang. However "rabbitmqctl status" gives the message below. It says "start the node". But how do I start the node?

The question was raised on stackoverflow but the answers there don't work:

rabbitmq-server start -detached
* rabbitmqctl start_app

DIAGNOSTICS
===========

attempted to contact: [rabbit@0ad21094dfda]

rabbit@0ad21094dfda:
  * connected to epmd (port 4369) on 0ad21094dfda
  * epmd reports: node 'rabbit' not running at all
                  no other nodes on 0ad21094dfda
  * suggestion: start the node

Current node details:
 * node name: 'rabbitmqcli-1037-rabbit@0ad21094dfda'
 * effective user's home directory: /home/simon
 * Erlang cookie hash: G5p9pZmWSiIoQ8rYQaTolw==

Luke Bakken

unread,
Aug 2, 2019, 11:29:53 AM8/2/19
to rabbitmq-users
Hi Simon,

I'm not sure what "Conda" is, but if you install using these instructions it should "just work":



Thanks,
Luke

simon mackenzie

unread,
Aug 2, 2019, 12:40:10 PM8/2/19
to rabbitm...@googlegroups.com
Conda is the anaconda package manager. In most cases just works with one line installation. If a package needs 10 pages of installation instructions then it is over complex.

--
You received this message because you are subscribed to a topic in the Google Groups "rabbitmq-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/rabbitmq-users/7mQpEAZbhXY/unsubscribe.
To unsubscribe from this group and all its topics, send an email to rabbitmq-user...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/rabbitmq-users/046b6e36-dcb3-48bd-a88f-d446d551a998%40googlegroups.com.

Luke Bakken

unread,
Aug 2, 2019, 1:22:52 PM8/2/19
to rabbitmq-users
Hi Simon,

I'm assuming that you are using this package - https://anaconda.org/conda-forge/rabbitmq-server

Since the output you provide suggests that the package doesn't automatically start RabbitMQ, you should start it as you would any service on Ubuntu that is using systemd -

service rabbitmq-server start

OR

systemctl enable rabbitmq-server
systemctl start rabbitmq-server

To unsubscribe from this group and all its topics, send an email to rabbitmq-users+unsubscribe@googlegroups.com.

simon mackenzie

unread,
Aug 4, 2019, 9:15:17 AM8/4/19
to rabbitm...@googlegroups.com
Thanks. Turned out it is not defined as a service but if I run "rabbitmq-server -detached" then it works.



To unsubscribe from this group and all its topics, send an email to rabbitmq-user...@googlegroups.com.

--
You received this message because you are subscribed to a topic in the Google Groups "rabbitmq-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/rabbitmq-users/7mQpEAZbhXY/unsubscribe.
To unsubscribe from this group and all its topics, send an email to rabbitmq-user...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/rabbitmq-users/05248ef8-98b6-48b7-8a19-8f8eb4da1a45%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages