title: Can't get elasticsearch to run as a service on Ubuntu 12.0.4 (Natty) - ElasticSearch may have failed to start
body: <p>I've read three of the solutions provided <a href="https://stackoverflow.com/questions/10815392/unable-to-run-elasticsearch-as-a-service-on-ubuntu">here</a> and <a href="https://gist.github.com/wingdspur/2026107" rel="nofollow noreferrer">here</a> and <a href="https://stackoverflow.com/questions/14278063/installing-elasticsearch-on-ubuntu-12-04">here</a>. Followed those three however it doesn't work. Whenever I tried running elasticsearch as a service:</p>
  
  <pre><code>/etc/init.d/elasticsearch start
  </code></pre>
  
  <p>it always gives me:</p>
  
  <pre><code>Waiting for ElasticSearch................................
  WARNING: ElasticSearch may have failed to start.
  </code></pre>
  
  <p>Now when I try to find the error log (/var/log/elasticsearch), it's never there. ANy idea?</p>