# Elasticsearch-5.0.0 not able to start the service

**URL:** <https://discuss.elastic.co/t/elasticsearch-5-0-0-not-able-to-start-the-service/65982>\
**Category:** Elasticsearch\
**Created:** [November 14, 2016, 1:17pm UTC](https://discuss.elastic.co/t/elasticsearch-5-0-0-not-able-to-start-the-service/65982 "2016-11-14T13:17:42Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![jagan](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jagan/32/42200_2.png) [@jagan](https://discuss.elastic.co/u/jagan)\
**Post date:** [November 14, 2016, 1:17pm UTC](https://discuss.elastic.co/t/elasticsearch-5-0-0-not-able-to-start-the-service/65982/1 "2016-11-14T13:17:43Z")

</div>

Hi ,  
I installed the elasticsearch-5.0.0 and when i started the service(when i run as non-root user) which states the following error@ Attachment) :  
my java version is : 1.8.0\_111

 ![](https://us1.discourse-cdn.com/elastic/original/2X/a/a561c595ca21abd1dec7a6b80d46aec0c30598e4.png)  
please help me on this.

Regards,  
jagan

---

<div class="post-metadata">

**Author:** ![danielmitterdorfer](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/danielmitterdorfer/32/110510_2.png) [@danielmitterdorfer](https://discuss.elastic.co/u/danielmitterdorfer)\
**Post date:** [November 14, 2016, 1:29pm UTC](https://discuss.elastic.co/t/elasticsearch-5-0-0-not-able-to-start-the-service/65982/2 "2016-11-14T13:29:02Z")

</div>

Hi @jagan,

if you run `sudo ./elasticsearch` it runs effectively as root. Quoting `man sudo`:

> sudo allows a permitted user to execute a command as the superuser

Hence, just run `./elasticsearch` without `sudo`. Also, it is more common to start Elasticsearch from its root folder and run `./bin/elasticsearch`.

Daniel

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [November 14, 2016, 10:14pm UTC](https://discuss.elastic.co/t/elasticsearch-5-0-0-not-able-to-start-the-service/65982/3 "2016-11-14T22:14:12Z")

</div>

Also please don't post pictures of text, they are difficult to read and some people may not be even able to see them 🙂

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [December 12, 2016, 10:14pm UTC](https://discuss.elastic.co/t/elasticsearch-5-0-0-not-able-to-start-the-service/65982/4 "2016-12-12T22:14:37Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
