RabbitMQ log and Mnesia location in Environment variables not reflecting?
<p>I want to change the Rabbitmq MNESIA dir to <code>/disk</code> folder instead of default <code>/var/lib</code>. I did the change in <code>/usr/lib/rabbitmq/bin</code> at <code>rabbitmq-env</code> with </p>

<pre><code>RABBITMQ_MNESIA_BASE=/disk/rabbitmq/
RABBITMQ_LOG_BASE=/disk/rabbitmq/log/
</code></pre>

<p>And after restarting it with </p>

<pre><code>service rabbitmq-server restart
Restarting rabbitmq-server (via systemctl):                [  OK  ]
</code></pre>

<p>But when i check the status as </p>

<pre><code>      &gt;      service rabbitmq-server status 
WARNING: Removing trailing slash from RABBITMQ_MNESIA_BASE
WARNING: Removing trailing slash from RABBITMQ_MNESIA_BASE
Status of node 'rabbit@ip-10-03-209-294' ...
Error: unable to connect to node 'rabbit@ip-10-03-209-294': nodedown

DIAGNOSTICS
===========

attempted to contact: ['rabbit@ip-10-03-209-294']

rabbit@ip-10-03-209-294:
  * connected to epmd (port 4369) on ip-10-03-209-294
  * epmd reports: node 'rabbit' not running at all
                  no other nodes on ip-10-03-209-294
  * suggestion: start the node

current node details:
- node name: 'rabbitmq-cli-61@10-03-209-294'
- home dir: /var/lib/rabbitmq
- cookie hash: D1JxYyl9vuDgVmH5K4dGyQ==
</code></pre>

<p>After removing all the changes ,it is working fine.But i want the MNESIA dir to be /disk. I restarted the instance as well.</p>