title: elasticsearch changing path.logs and/or path.data - fails to start
body: <p>Here's my config</p>
  
  <pre><code># ----------------------------------- Paths ------------------------------------
  #
  # Path to directory where to store the data (separate multiple locations by comma):
  #
  path.data: /mulelogs/elasticsearch
  path.logs: /mulelogs/elasticsearch
  </code></pre>
  
  <p>When I restart ElasticSearch this is what I get:</p>
  
  <pre><code> elasticsearch.service - Elasticsearch
     Loaded: loaded (/usr/lib/systemd/system/elasticsearch.service; enabled; vendor preset: disabled)
     Active: failed (Result: exit-code) since Mon 2016-01-25 06:33:40 UTC; 9s ago
       Docs: http://www.elastic.co
    Process: 22213 ExecStart=/usr/share/elasticsearch/bin/elasticsearch -Des.pidfile=${PID_DIR}/elasticsearch.pid -Des.default.path.home=${ES_HOME} -Des.default.path.logs=${LOG_DIR} -Des.default.path.data=${DATA_DIR} -Des.default.path.conf=${CONF_DIR} (code=exited, status=1/FAILURE)
    Process: 22212 ExecStartPre=/usr/share/elasticsearch/bin/elasticsearch-systemd-pre-exec (code=exited, status=0/SUCCESS)
   Main PID: 22213 (code=exited, status=1/FAILURE)
  
  elasticsearch[22213]: at org.elasticsearch.common.settings.Settings$Builder.loadFromStream(Settings.java:1074)
  elasticsearch[22213]: at org.elasticsearch.common.settings.Settings$Builder.loadFromPath(Settings.java:1061)
  elasticsearch[22213]: at org.elasticsearch.node.internal.InternalSettingsPreparer.prepareEnvironment(InternalSettingsPreparer.java:88)
  elasticsearch[22213]: at org.elasticsearch.bootstrap.Bootstrap.initialSettings(Bootstrap.java:217)
  elasticsearch[22213]: at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:256)
  elasticsearch[22213]: at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:35)
  elasticsearch[22213]: Refer to the log for complete error details.
  systemd[1]: elasticsearch.service: main process exited, code=exited, status=1/FAILURE
  systemd[1]: Unit elasticsearch.service entered failed state.
  systemd[1]: elasticsearch.service failed.
  </code></pre>
  
  <p>The path is an attached volume which is accessible via <strong>/mulelogs/</strong></p>
  
  <pre><code>drwxrwxrwx.  4 root          root           4096 Jan 25 05:11 .
  dr-xr-xr-x. 18 root          root           4096 Jan 25 06:24 ..
  drwxrwxrwx.  4 elasticsearch elasticsearch  4096 Jan 25 05:21 elasticsearch
  drwxrwxrwx.  2 root          root          16384 Jan 20 01:20 lost+found
  </code></pre>
  
  <p>I tried chown and chmod just to see if the permission is the problem, but it still didn't work.</p>
  
  <p>How do I fix this?</p>
  
  <p>Thanks in ad</p>
  
  <p><strong>Notes:</strong></p>
  
  <ul>
  <li>OS: CentOS 7</li>
  <li>ElasticSearch : 2.1   </li>
  <li>I have installed ELK following this steps:
  <a href="https://www.digitalocean.com/community/tutorials/how-to-install-elasticsearch-logstash-and-kibana-elk-stack-on-centos-7" rel="nofollow">https://www.digitalocean.com/community/tutorials/how-to-install-elasticsearch-logstash-and-kibana-elk-stack-on-centos-7</a></li>
  </ul>