I have rabbitmq-server
installed from the system package on Ubuntu 12, and no matter what I do it seems to ignore any configuration file.
Everything on the web says the server looks for /etc/rabbitmq/rabbitmq.conf
, but even if I create that file the server reports no config:
> /usr/sbin/rabbitmq-server
node : rabbit@ip-10-160-149-160
app descriptor : /usr/lib/rabbitmq/lib/rabbitmq_server-2.7.1/sbin/../ebin/rabbit.app
home dir : /var/lib/rabbitmq
config file(s) : (none)
I tried setting RABBITMQ_CONFIG_FILE
to point to that file, but that has no effect.
Fwiw, my rabbitmq-env.conf
seems to want to source scripts from /etc/rabbitmq.conf.d
, but these appear to be expected to be bash scripts, not Erlang config.
%APPDATA%\RabbitMQ\rabbitmq. config.
CONFIG_FILE=/etc/rabbitmq/testfile Copy In Windows, we should use the environment variables of the System Properties for modifying the environment variables of RabbitMQ. We can access to the Environment Variables by navigating to Settings | Control Panel | System Properties | Advanced | Environment Variables, where...
config under /etc/rabbitmq directory on linux servers. Locate the rabbitmq_management tuple and change the port value (default is 12345 , change it to whatever you want). Be sure to uncomment or add the following content into /etc/rabbitmq/rabbitmq.
I finally had some luck by just removing /etc/rabbitmq/rabbitmq-env.conf
altogether. I also noticed that the erlang config is rabbitmq.config and not 'conf', although fixing that still didn't fix the problem.
Removing rabbitmq-env.conf
at least allows the server to find rabbitmq.config
. Good lord, what a mess.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With