Revision history [back]

click to hide/show revision 1
initial version

The service rabbitmq-server fails to start if rabbitmq.config file exists in /etc/rabbitmq/ directory. If I have even a blank file as rabbitmq.config the service rabbitmq-server fails to start.

I'm in the final process of installing ICEHOUSE, and I'm now at a stage where I must edit the nano /etc/rabbitmq/rabbitmq.config and use the following: [{rabbit, [{loopback_users, []}]}]

The service rabbitmq-server fails to start if rabbitmq.config file exists in /etc/rabbitmq/ directory. If I have even a blank file as rabbitmq.config the service rabbitmq-server fails to start.

Strange ... Has this happened to anyone, or am I the CHOOSEN ONE :)

CURRENT SCENERIO

CURRENT SCENERIO
=================
root@controller:/home/XXXXXX# ls /etc/rabbitmq/
enabled_plugins  rabbitmq.config  rabbitmq_OLD.config
root@controller:/home/XXXXXX#
root@controller:/home/XXXXXX# rm /etc/rabbitmq/rabbitmq.config
root@controller:/home/XXXXXX#
root@controller:/home/XXXXXX# service rabbitmq-server restart
 * Restarting message broker rabbitmq-server                                                                                                                     [ OK ]
root@controller:/home/XXXXXX#
root@controller:/home/XXXXXX# nano /etc/rabbitmq/rabbitmq.config
root@controller:/home/XXXXXX#
root@controller:/home/XXXXXX# ls /etc/rabbitmq/rabbitmq.config
ls: cannot access /etc/rabbitmq/rabbitmq.config: No such file or directory
root@controller:/home/XXXXXX#
root@controller:/home/XXXXXX# nano /etc/rabbitmq/rabbitmq.config
root@controller:/home/XXXXXX#
root@controller:/home/XXXXXX# ls /etc/rabbitmq/rabbitmq.config
/etc/rabbitmq/rabbitmq.config
root@controller:/home/XXXXXX#
root@controller:/home/XXXXXX# service rabbitmq-server restart
 * Restarting message broker rabbitmq-server                                                                                                                     [fail]
root@controller:/home/XXXXXX#
root@controller:/home/XXXXXX# rm /etc/rabbitmq/rabbitmq.config
root@controller:/home/XXXXXX#
root@controller:/home/XXXXXX# service rabbitmq-server restart
 * Restarting message broker rabbitmq-server                                                                                                                     [ OK ]

LOGS
====
=INFO REPORT==== 11-Jun-2015::09:26:15 ===
Halting Erlang VM

=INFO REPORT==== 11-Jun-2015::09:26:30 ===
Starting RabbitMQ 3.2.4 on Erlang R16B03
Copyright (C) 2007-2013 GoPivotal, Inc.
Licensed under the MPL.  See http://www.rabbitmq.com/

=INFO REPORT==== 11-Jun-2015::09:26:30 ===
node           : rabbit@controller
home dir       : /var/lib/rabbitmq
config file(s) : (none)
cookie hash    : QVBdAzu+ABo1H5Wopt/OPw==
log            : /var/log/rabbitmq/rabbit@controller.log
sasl log       : /var/log/rabbitmq/rabbit@controller-sasl.log
database dir   : /var/lib/rabbitmq/mnesia/rabbit@controller

=INFO REPORT==== 11-Jun-2015::09:26:31 ===
Limiting to approx 924 file handles (829 sockets)

=INFO REPORT==== 11-Jun-2015::09:26:31 ===
Memory limit set to 397MB of 993MB total.

=INFO REPORT==== 11-Jun-2015::09:26:31 ===
Disk free limit set to 50MB

=INFO REPORT==== 11-Jun-2015::09:26:31 ===
msg_store_transient: using rabbit_msg_store_ets_index to provide index

=INFO REPORT==== 11-Jun-2015::09:26:31 ===
msg_store_persistent: using rabbit_msg_store_ets_index to provide index

=INFO REPORT==== 11-Jun-2015::09:26:31 ===
started TCP Listener on [::]:5672

=INFO REPORT==== 11-Jun-2015::09:26:31 ===
Management plugin started. Port: 15672

=INFO REPORT==== 11-Jun-2015::09:26:31 ===
Statistics database started.

=INFO REPORT==== 11-Jun-2015::09:26:31 ===
Server startup complete; 6 plugins started.
 * amqp_client
 * mochiweb
 * rabbitmq_management
 * rabbitmq_management_agent
 * rabbitmq_web_dispatch
 * webmachine

=INFO REPORT==== 11-Jun-2015::09:26:36 ===
accepting AMQP connection <0.283.0> (10.10.10.10:57299 -> 10.10.10.10:5672)

=INFO REPORT==== 11-Jun-2015::09:26:36 ===
accepting AMQP connection <0.294.0> (10.10.10.10:57300 -> 10.10.10.10:5672)

=INFO REPORT==== 11-Jun-2015::09:26:36 ===
accepting AMQP connection <0.307.0> (10.10.10.10:57301 -> 10.10.10.10:5672)

=INFO REPORT==== 11-Jun-2015::09:26:36 ===
accepting AMQP connection <0.310.0> (10.10.10.10:57302 -> 10.10.10.10:5672)

=INFO REPORT==== 11-Jun-2015::09:26:40 ===
accepting AMQP connection <0.332.0> (10.10.10.10:57303 -> 10.10.10.10:5672)

=INFO REPORT==== 11-Jun-2015::09:26:40 ===
accepting AMQP connection <0.342.0> (10.10.10.10:57304 -> 10.10.10.10:5672)

=INFO REPORT==== 11-Jun-2015::09:28:11 ===
Stopping RabbitMQ

=INFO REPORT==== 11-Jun-2015::09:28:11 ===
stopped TCP Listener on [::]:5672

=ERROR REPORT==== 11-Jun-2015::09:28:11 ===
AMQP connection <0.294.0> (running), channel 0 - error:
{amqp_error,connection_forced,
            "broker forced connection closure with reason 'shutdown'",none}

=ERROR REPORT==== 11-Jun-2015::09:28:11 ===
AMQP connection <0.310.0> (running), channel 0 - error:
{amqp_error,connection_forced,
            "broker forced connection closure with reason 'shutdown'",none}

=ERROR REPORT==== 11-Jun-2015::09:28:11 ===
AMQP connection <0.342.0> (running), channel 0 - error:
{amqp_error,connection_forced,
            "broker forced connection closure with reason 'shutdown'",none}

=ERROR REPORT==== 11-Jun-2015::09:28:11 ===
AMQP connection <0.307.0> (running), channel 0 - error:
{amqp_error,connection_forced,
            "broker forced connection closure with reason 'shutdown'",none}

=ERROR REPORT==== 11-Jun-2015::09:28:11 ===
AMQP connection <0.332.0> (running), channel 0 - error:
{amqp_error,connection_forced,
            "broker forced connection closure with reason 'shutdown'",none}

=ERROR REPORT==== 11-Jun-2015::09:28:11 ===
AMQP connection <0.283.0> (running), channel 0 - error:
{amqp_error,connection_forced,
            "broker forced connection closure with reason 'shutdown'",none}

=INFO REPORT==== 11-Jun-2015::09:28:11 ===
Halting Erlang VM