Error while setting up elasticsearch

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
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
Dec 13 20:00:01 u4cse16113 elasticsearch[6410]: at 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

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?

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

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

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

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