# Error while setting up elasticsearch

**URL:** <https://discuss.elastic.co/t/error-while-setting-up-elasticsearch/111585>\
**Category:** Elasticsearch\
**Created:** [December 13, 2017, 2:44pm UTC](https://discuss.elastic.co/t/error-while-setting-up-elasticsearch/111585 "2017-12-13T14:44:08Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![ArunaMaurya221B](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/arunamaurya221b/32/25502_2.png) [@ArunaMaurya221B](https://discuss.elastic.co/u/ArunaMaurya221B)\
**Post date:** [December 13, 2017, 2:44pm UTC](https://discuss.elastic.co/t/error-while-setting-up-elasticsearch/111585/1 "2017-12-13T14:44:08Z")

</div>

This is the message that I get when I run it in the terminal. Can anyone help me out?  
$ sudo systemctl status elasticsearch  
sudo: unable to resolve host u4cse16113  
● elasticsearch.service - Elasticsearch  
Loaded: loaded (/usr/lib/systemd/system/elasticsearch.service; enabled; vendo  
Active: failed (Result: exit-code) since Wed 2017-12-13 20:00:01 IST; 31s ago  
Docs: [http://www.elastic.co](http://www.elastic.co)  
Process: 6410 ExecStart=/usr/share/elasticsearch/bin/elasticsearch -Des.pidfil  
Process: 6406 ExecStartPre=/usr/share/elasticsearch/bin/elasticsearch-systemd-  
Main PID: 6410 (code=exited, status=1/FAILURE)

Dec 13 20:00:01 u4cse16113 elasticsearch[6410]: at [org.elasticsearch.com](http://org.elasticsearch.com)  
Dec 13 20:00:01 u4cse16113 elasticsearch[6410]: at [org.elasticsearch.com](http://org.elasticsearch.com)  
Dec 13 20:00:01 u4cse16113 elasticsearch[6410]: at org.elasticsearch.nod  
Dec 13 20:00:01 u4cse16113 elasticsearch[6410]: at org.elasticsearch.boo  
Dec 13 20:00:01 u4cse16113 elasticsearch[6410]: at org.elasticsearch.boo  
Dec 13 20:00:01 u4cse16113 elasticsearch[6410]: at org.elasticsearch.boo  
Dec 13 20:00:01 u4cse16113 elasticsearch[6410]: Refer to the log for complete er  
Dec 13 20:00:01 u4cse16113 systemd[1]: elasticsearch.service: Main process exite  
Dec 13 20:00:01 u4cse16113 systemd[1]: elasticsearch.service: Unit entered faile  
Dec 13 20:00:01 u4cse16113 systemd[1]: elasticsearch.service: Failed with result

---

<div class="post-metadata">

**Author:** ![mujtabahussain](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mujtabahussain/32/17514_2.png) [@mujtabahussain](https://discuss.elastic.co/u/mujtabahussain)\
**Post date:** [December 14, 2017, 1:02am UTC](https://discuss.elastic.co/t/error-while-setting-up-elasticsearch/111585/2 "2017-12-14T01:02:55Z")

</div>

Could you give us a few more system details!

Where are you running and how? Also anything in the logs other than what you have pasted?

---

<div class="post-metadata">

**Author:** ![ArunaMaurya221B](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/arunamaurya221b/32/25502_2.png) [@ArunaMaurya221B](https://discuss.elastic.co/u/ArunaMaurya221B)\
**Post date:** [December 14, 2017, 2:13am UTC](https://discuss.elastic.co/t/error-while-setting-up-elasticsearch/111585/3 "2017-12-14T02:13:21Z")

</div>

I am running on Ubuntu 16.04 and I m following the instructions on the page of elasticsearch itself.

---

<div class="post-metadata">

**Author:** ![mujtabahussain](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mujtabahussain/32/17514_2.png) [@mujtabahussain](https://discuss.elastic.co/u/mujtabahussain)\
**Post date:** [December 14, 2017, 2:22am UTC](https://discuss.elastic.co/t/error-while-setting-up-elasticsearch/111585/4 "2017-12-14T02:22:00Z")

</div>

How did you install elasticsearch? Also Which version of elastic is it?

---

<div class="post-metadata">

**Author:** ![ArunaMaurya221B](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/arunamaurya221b/32/25502_2.png) [@ArunaMaurya221B](https://discuss.elastic.co/u/ArunaMaurya221B)\
**Post date:** [December 14, 2017, 3:02am UTC](https://discuss.elastic.co/t/error-while-setting-up-elasticsearch/111585/5 "2017-12-14T03:02:58Z")

</div>

I downloaded the .zip version and followed the steps mentioned.

---

<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:** [January 11, 2018, 3:02am UTC](https://discuss.elastic.co/t/error-while-setting-up-elasticsearch/111585/6 "2018-01-11T03:02:59Z")

</div>

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