RabbitMQ error in config file "/etc/rabbitmq/rabbitmq.config": syntax error before: ']'

It's a standard array format. Delete the comma from the LAST line you uncomment.

Right now you're basically making it look like [{blah},]


I had a same problem. i solved it by Renaming rabbitmq.config to rabbitmq.conf.


Pay attention that the config is written in Erlang language . If you are not familiar with this language you can run this command to verify your config file:

erl -noshell -eval 'io:format("~p~n", [file:consult("/etc/rabbitmq/rabbitmq.config")]).' -eval 'init:stop().'

If the result is looking like that your file is ok : {ok,[...

taken from here

Tags:

Rabbitmq