Elasticsearch is not running on Linux VM

Hi, @LizaD I am trying to run Elasticsearch on my Linux VM.
but it shows the following status

sudo systemctl status elasticsearch.service ● elasticsearch.service - Elasticsearch Loaded: loaded (/usr/lib/systemd/system/elasticsearch.service; disabled; vendor preset: enabled) Active: failed (Result: exit-code) since Tue 2020-05-05 05:30:14 UTC; 35s ago Docs: http://www.elastic.co Process: 17554 ExecStart=/usr/share/elasticsearch/bin/elasticsearch -p {PID_DIR}/elasticsearch.pid --quiet (code=exited, status=1/FAILURE)
Main PID: 17554 (code=exited, status=1/FAILURE)
CPU: 288ms

May 05 05:30:14 elkpoc elasticsearch[17554]: at java.base/java.nio.file.Files.createDirectory(Files.java:693)
May 05 05:30:14 elkpoc elasticsearch[17554]: at java.base/java.nio.file.TempFileHelper.create(TempFileHelper.java:135)
May 05 05:30:14 elkpoc elasticsearch[17554]: at java.base/java.nio.file.TempFileHelper.createTempDirectory(TempFileHelper.java:172)
May 05 05:30:14 elkpoc elasticsearch[17554]: at java.base/java.nio.file.Files.createTempDirectory(Files.java:1010)
May 05 05:30:14 elkpoc elasticsearch[17554]: at org.elasticsearch.tools.launchers.Launchers.createTempDirectory(Launchers.java:66)
May 05 05:30:14 elkpoc elasticsearch[17554]: at org.elasticsearch.tools.launchers.TempDirectory.main(TempDirectory.java:54)
May 05 05:30:14 elkpoc systemd[1]: elasticsearch.service: Main process exited, code=exited, status=1/FAILURE
May 05 05:30:14 elkpoc systemd[1]: Failed to start Elasticsearch.
May 05 05:30:14 elkpoc systemd[1]: elasticsearch.service: Unit entered failed state.
May 05 05:30:14 elkpoc systemd[1]: elasticsearch.service: Failed with result 'exit-code'.

Can you please help to resolve this !!

Please don't ping people like that that aren't already in the thread and assisting you :slight_smile:

You will need to check the logs of Elasticsearch, usually located in /var/log/elasticsearch.

Sorry, @warkolm by mistake I mentioned the name.
Please find below logs
May 05 04:54:32 elkpoc kibana[2375]: {"type":"log","@timestamp":"2020-05-05T04:54:32Z","tags":["error","plugins","taskManager","taskManager"],"pid":2375,"message":"
Failed to poll for work: Error: No Living connections"}
May 05 04:54:32 elkpoc kibana[2375]: {"type":"log","@timestamp":"2020-05-05T04:54:32Z","tags":["warning","elasticsearch","admin"],"pid":2375,"message":"Unable to re
vive connection: http://104.198.232.132:9200/"}
May 05 04:54:32 elkpoc kibana[2375]: {"type":"log","@timestamp":"2020-05-05T04:54:32Z","tags":["warning","elasticsearch","admin"],"pid":2375,"message":"No living co
nnections"}
May 05 04:54:32 elkpoc kibana[2375]: {"type":"log","@timestamp":"2020-05-05T04:54:32Z","tags":["error","plugins","taskManager","taskManager"],"pid":2375,"message":"
Failed to poll for work: Error: No Living connections"}
May 05 04:54:32 elkpoc kibana[2375]: {"type":"log","@timestamp":"2020-05-05T04:54:32Z","tags":["warning","elasticsearch","admin"],"pid":2375,"message":"Unable to re
vive connection: http://104.198.232.132:9200/"}
May 05 04:54:32 elkpoc kibana[2375]: {"type":"log","@timestamp":"2020-05-05T04:54:32Z","tags":["warning","elasticsearch","admin"],"pid":2375,"message":"No living co
nnections"}
May 05 04:54:32 elkpoc kibana[2375]: {"type":"log","@timestamp":"2020-05-05T04:54:32Z","tags":["error","plugins","taskManager","taskManager"],"pid":2375,"message":"
Failed to poll for work: Error: No Living connections"}

Those are Kibana logs, you need the Elasticsearch ones :slight_smile:

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