Unable to start ElasticSearch after install on CENTOS 8

elasticsearch.service - Elasticsearch
   Loaded: loaded (/usr/lib/systemd/system/elasticsearch.service; enabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Sat 2020-12-26 01:45:20 PKT; 10s ago
     Docs: https://www.elastic.co
  Process: 273668 ExecStart=/usr/share/elasticsearch/bin/systemd-entrypoint -p ${PID_DIR}/elasticsearch.pid --quiet (code=exited, status=1/FAILURE)
 Main PID: 273668 (code=exited, status=1/FAILURE)

Dec 26 01:45:20 localhost.localdomain systemd-entrypoint[273668]:         at org.elasticsearch.cli.EnvironmentAwareCommand.createEnv(EnvironmentAwareCommand.java:100)
Dec 26 01:45:20 localhost.localdomain systemd-entrypoint[273668]:         at org.elasticsearch.cli.EnvironmentAwareCommand.createEnv(EnvironmentAwareCommand.java:91)
Dec 26 01:45:20 localhost.localdomain systemd-entrypoint[273668]:         at org.elasticsearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:86)
Dec 26 01:45:20 localhost.localdomain systemd-entrypoint[273668]:         at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:127)
Dec 26 01:45:20 localhost.localdomain systemd-entrypoint[273668]:         at org.elasticsearch.cli.Command.main(Command.java:90)
Dec 26 01:45:20 localhost.localdomain systemd-entrypoint[273668]:         at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:126)
Dec 26 01:45:20 localhost.localdomain systemd-entrypoint[273668]:         at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:92)
Dec 26 01:45:20 localhost.localdomain systemd[1]: elasticsearch.service: Main process exited, code=exited, status=1/FAILURE
Dec 26 01:45:20 localhost.localdomain systemd[1]: elasticsearch.service: Failed with result 'exit-code'.
Dec 26 01:45:20 localhost.localdomain systemd[1]: Failed to start Elasticsearch.

please share me ref

What the log shows ?
cat or less the file: /var/log/elasticsearch/elasticsearch.log

Welcome to our community! :smiley:
Please don't just post part of your log with no other information and expect people to help.

What version are you running?
What config changes did you make?
What does your Elasticsearch log show?

Hello @Shariq_Tejar It can be thousand reasons for es not to run. Could you share the elasticsearch logs?

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