RHEL: Start and Stop the RabbitMQ Server

You must first start the RabbitMQ server to use it. The default configuration for the server is usually adequate to start it.



  1. Log in as the root user and open a terminal window.

  2. Start the RabbitMQ server using the /sbin/service rabbitmq-server command, passing it the stop option. For example:

    prompt# /sbin/service rabbitmq-server start

    The RabbitMQ server process runs as the rabbitmq user, which is non-interactive.

  3. To stop the server:

    prompt# /sbin/service rabbitmq-server stop
  4. To get status about the server (only partial output shown):

    prompt# /sbin/service rabbitmq-server status
    Status of node rabbit@localhost ...
                            {mnesia,"MNESIA  CXC 138 12","4.4.19"},
                            {os_mon,"CPO  CXC 138 46","2.2.6"},
                            {sasl,"SASL  CXC 138 11",""},
                            {stdlib,"ERTS  CXC 138 10","1.17.4"},
                            {kernel,"ERTS  CXC 138 10","2.14.4"}]},
     {erlang_version,"Erlang R14B03 (erts-5.8.4) [source] [64-bit] [rq:1] [async-threads:30] [kernel-poll:true]\n"},

What to do next