My Elasticsearch is not starting, I don't know why I am getting below error.
root@i3insight2:~# systemctl status elasticsearch.service
â elasticsearch.service - Elasticsearch
Loaded: loaded (/usr/lib/systemd/system/elasticsearch.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Wed 2021-09-01 19:27:39 PKT; 14h ago
Docs: http://www.elastic.co
Process: 26386 ExecStart=/usr/share/elasticsearch/bin/elasticsearch -p ${PID_DIR}/elasticsearch.pid (code=exited, status=1/FAILURE)
Main PID: 26386 (code=exited, status=1/FAILURE)
Sep 01 19:27:39 i3insight2 elasticsearch[26386]: at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:111)
Sep 01 19:27:39 i3insight2 elasticsearch[26386]: at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:116)
Sep 01 19:27:39 i3insight2 elasticsearch[26386]: at java.base/sun.nio.fs.UnixFileSystemProvider.newByteChannel(UnixFileSystemProvider.java:219)
Sep 01 19:27:39 i3insight2 elasticsearch[26386]: at java.base/java.nio.file.Files.newByteChannel(Files.java:373)
Sep 01 19:27:39 i3insight2 elasticsearch[26386]: at java.base/java.nio.file.Files.newByteChannel(Files.java:424)
Sep 01 19:27:39 i3insight2 elasticsearch[26386]: at java.base/java.nio.file.spi.FileSystemProvider.newInputStream(FileSystemProvider.java:420)
Sep 01 19:27:39 i3insight2 elasticsearch[26386]: at java.base/java.nio.file.Files.newInputStream(Files.java:158)
Sep 01 19:27:39 i3insight2 elasticsearch[26386]: at org.elasticsearch.tools.launchers.JvmOptionsParser.main(JvmOptionsParser.java:61)
Sep 01 19:27:39 i3insight2 systemd[1]: elasticsearch.service: Main process exited, code=exited, status=1/FAILURE
Sep 01 19:27:39 i3insight2 systemd[1]: elasticsearch.service: Failed with result 'exit-code'.
I want to do my project in production mode. It is working perfectly underdevelopment of the project after production mode this is not working. I want my project to read data continuously without running manually. But is not working now.
