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 !!