Failed to start Elasticsearch

Hello i have kibana, logstash started but impossible to start elastic.service and i got this error code when i run systemctl start elastic.service.
Also on the website i receive this message " kibana is not ready yet".

</× elastic.service - Elasticsearch
Loaded: loaded (/etc/systemd/system/elastic.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Tue 2023-01-03 22:41:20 UTC; 9h ago
Docs: https://www.elastic.co
Process: 30673 ExecStart=/opt/elasticsearch/bin/elasticsearch -p ${PID_DIR}/elasticsearch.pid --quiet (code=exited, status=1/FAILURE)
Main PID: 30673 (code=exited, status=1/FAILURE)
CPU: 1.600s

Jan 03 22:41:20 ns55598 elasticsearch[30673]: at java.base/java.nio.file.Files.newInputStream(Files.java:160)
Jan 03 22:41:20 ns55598 elasticsearch[30673]: at org.elasticsearch.server.cli.JvmOptionsParser.readJvmOptionsFiles(JvmOptionsParser.java:175)
Jan 03 22:41:20 ns55598 elasticsearch[30673]: at org.elasticsearch.server.cli.JvmOptionsParser.jvmOptions(JvmOptionsParser.java:130)
Jan 03 22:41:20 ns55598 elasticsearch[30673]: at org.elasticsearch.server.cli.JvmOptionsParser.determineJvmOptions(JvmOptionsParser.java:92)
Jan 03 22:41:20 ns55598 elasticsearch[30673]: at org.elasticsearch.server.cli.ServerProcess.createProcess(ServerProcess.java:214)
Jan 03 22:41:20 ns55598 elasticsearch[30673]: at org.elasticsearch.server.cli.ServerProcess.start(ServerProcess.java:108)
Jan 03 22:41:20 ns55598 elasticsearch[30673]: ... 7 more
Jan 03 22:41:20 ns55598 systemd[1]: elastic.service: Main process exited, code=exited, status=1/FAILURE
Jan 03 22:41:20 ns55598 systemd[1]: elastic.service: Failed with result 'exit-code'.
Jan 03 22:41:20 ns55598 systemd[1]: elastic.service: Consumed 1.600s CPU time.

Any helps would be great.

Hi @alam02 welcome to the community!

How did you install?

What OS?

What version?

We need to see the logs per the docs

sudo journalctl --unit elasticsearch

I.e... more details needed...