<p style="font-size: 14px; clear: both; word-wrap: break-word; color: rgb(0, 0, 0); font-family: Arial, 'Liberation Sans', 'DejaVu Sans', sans-serif; text-align: left; ">I'm having problems changing the default location for a rabbitmq instance.<br>I'm following the install steps from the website. Here's my install script:</p><pre style="margin-bottom: 10px; padding: 5px; font-size: 14px; background-color: rgb(238, 238, 238); font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; overflow: auto; width: auto; max-height: 600px; color: rgb(0, 0, 0); line-height: 18px; text-align: left; "><code style="font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; ">#install rabbitmq
su -c 'rpm -Uvh http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-5.noarch.rpm'
yum -y install erlang
rpm --import http://www.rabbitmq.com/rabbitmq-signing-key-public.asc
yum -y install rabbitmq-server-2.8.1-1.noarch.rpm
rabbitmq-plugins enable rabbitmq_management
</code></pre><p style="font-size: 14px; clear: both; word-wrap: break-word; color: rgb(0, 0, 0); font-family: Arial, 'Liberation Sans', 'DejaVu Sans', sans-serif; text-align: left; ">It starts fine but as I use the queue my main OS harddrive fills up. I am using EC2 so the main harddrive is pretty limited but I have 800G on another drive thats mounted so I made a folder there(/ephemeral0/rabbitmq/). On the website, I believe it says I need to create a config file(to change the location of the envirmoent variable that controls the location of the database) in this location<code style="padding: 1px 5px; background-color: rgb(238, 238, 238); font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; ">/etc/rabbitmq/rabbitmq-env.conf</code></p><p style="font-size: 14px; clear: both; word-wrap: break-word; color: rgb(0, 0, 0); font-family: Arial, 'Liberation Sans', 'DejaVu Sans', sans-serif; text-align: left; ">I create it with the following data: <code style="padding: 1px 5px; background-color: rgb(238, 238, 238); font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; ">BASE=/ephemeral0/rabbitmq/</code> and restart rabbitmq-server but as I use the new queue my OS drive continues to fill up and nothing is created on the location I actually want the data to be stored.</p><p style="font-size: 14px; clear: both; word-wrap: break-word; color: rgb(0, 0, 0); font-family: Arial, 'Liberation Sans', 'DejaVu Sans', sans-serif; text-align: left; ">To test this further, I stopped rabbitmq(via service rabbitmq-server stop) and ran <code style="padding: 1px 5px; background-color: rgb(238, 238, 238); font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; ">rabbitmq-server</code>and in its start up screen I noticed: <code style="padding: 1px 5px; background-color: rgb(238, 238, 238); font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; ">config file(s) : (none)</code> I wasn't sure if this was related to config file itself or the rabbitmq-env.conf file so I decided to add CONFIG_FILE=/etc/rabbitmq/ and re ran <code style="padding: 1px 5px; background-color: rgb(238, 238, 238); font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; ">rabbitmq-server</code> but still no luck(same message).</p><p style="font-size: 14px; clear: both; word-wrap: break-word; color: rgb(0, 0, 0); font-family: Arial, 'Liberation Sans', 'DejaVu Sans', sans-serif; text-align: left; ">What can I do to change the location? I'm using the latest version of rabbitmq and centos 6.2.</p><p style="font-size: 14px; clear: both; word-wrap: break-word; color: rgb(0, 0, 0); font-family: Arial, 'Liberation Sans', 'DejaVu Sans', sans-serif; text-align: left; ">Please help.</p>