Starting RabbitMQ for first time

125 views
Skip to first unread message

Ed Thompson

unread,
Jun 7, 2017, 11:22:55 AM6/7/17
to rabbitmq-users
I installed RabbitMQ using the newest rpm into an RHEL7 environment.

I see on /etc/rabbitmq drectory, nothing under init.d, and find no rabbitmq-env.conf file.

How do I get RabbitMQ started after installing for first time?

The online guides seem to assume install and its running. I can't find anything between installing the rpm and writing some code.

Ed Thompson

unread,
Jun 7, 2017, 11:24:06 AM6/7/17
to rabbitmq-users
I installed using rabbitmq-server-3.6.10-1.el7.noarch.rpm

Luke Bakken

unread,
Jun 7, 2017, 11:43:07 AM6/7/17
to rabbitmq-users
Hi Ed,

Please refer to the "Run RabbitMQ Server" section in this document.

Let me know if that addresses your issue.

Thanks -
Luke

Ed Thompson

unread,
Jun 7, 2017, 1:12:08 PM6/7/17
to rabbitmq-users
OK, that helped.

It tries to startup then shuts down.

systemd[1]: Preset file says disable rabbitmq-server.service

I am not sure what that is referring to.

● rabbitmq-server.service - RabbitMQ broker
   Loaded: loaded (/usr/lib/systemd/system/rabbitmq-server.service; enabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Wed 2017-06-07 13:05:16 EDT; 6min ago
  Process: 37998 ExecStop=/usr/sbin/rabbitmqctl stop (code=exited, status=75)
  Process: 37838 ExecStart=/usr/sbin/rabbitmq-server (code=exited, status=1/FAILURE)
 Main PID: 37838 (code=exited, status=1/FAILURE)

Luke Bakken

unread,
Jun 7, 2017, 1:48:56 PM6/7/17
to rabbitm...@googlegroups.com
Hi Ed,

At this point your next step should be to examine the log file to
determine what is causing the startup error.

Documentation for file locations can be found here:
https://www.rabbitmq.com/relocate.html#unix

I just installed RabbitMQ on CentOS 7 (via vagrant) and started it. I
documented the process here: https://goo.gl/skffOU

Let me know if you have further questions.

Thanks,
Luke

Ed Thompson

unread,
Jun 8, 2017, 7:45:44 AM6/8/17
to rabbitmq-users
Thanks, this helped a lot.

I had proactively added the rabbitmq user as part of my deployment, and in the process interfered with the RPM deployment of the same.

 
Reply all
Reply to author
Forward
0 new messages