Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

where is rabbitmq config file?

Tags:

rabbitmq

Documentation says that rabbitmq has config: /etc/rabbitmq/rabbitmq.conf but I have nothing there, but rabbitmq-server is running and consuming messages.

Where is my config file?

like image 566
corvax Avatar asked Dec 09 '14 13:12

corvax


People also ask

How do I change RabbitMQ config?

C:\Users\Administrator\AppData\Roaming\RabbitMQ : This is the main directory where we going to change the config file. Edit the “rabbitmq. config” file, and find the “rabbitmq_management” subject and change the port number that you want to use.

Where is the RabbitMQ log file?

By default, RabbitMQ logs are stored in /var/log/rabbitmq/rabbit@<hostname>. log . The default directory for log files is listed in the RabbitMQ. conf file.

Where is RabbitMQ plugin folder?

/usr/lib/rabbitmq/plugins is an additional directory where nothing is installed by the RabbitMQ package itself.


2 Answers

It depends in which way you install RabbitMQ. The file usually is not present. If you need it, you have to create it.

For example if you use the package:

rabbitmq-server-mac-standalone-3.4.2.tar.gz

You can find the example file:

etc/rabbitmq/rabbitmq.config.example

and not the file.

Using RABBITMQ_CONFIG_FILE you can specify the rabbitmq.config file, to be sure you can check this variable.

like image 190
Gabriele Santomaggio Avatar answered Nov 16 '22 01:11

Gabriele Santomaggio


On Windows:

RabbitMQ 3.7.0+

%APPDATA%\RabbitMQ\rabbitmq.conf

In RabbitMQ 3.7.0+, the main configuration file is rabbitmq.conf. An additional config file named advanced.config is also used for some advanced configuration settings; it uses the classic format.

Prior to 3.7.0:

%APPDATA%\RabbitMQ\rabbitmq.config

The configuration file is named rabbitmq.config and uses the Erlang term format (aka the "classic format" for RabbitMQ config files).

Example files:

  • rabbitmq.conf.example
  • advanced.config.example
  • rabbitmq.config.example
like image 33
Josh Withee Avatar answered Nov 16 '22 02:11

Josh Withee