Failed to start Elasticsearch

hello, I have a problem regarding elasticsearch, where to start, the error "Failed to start Elasticsearch" always appears, please help to solve my error, thank you
Apr 27 02:48:09 bigdata systemd[1]: Unit elasticsearch.service entered failed state.
Apr 27 02:48:09 bigdata systemd[1]: elasticsearch.service failed.
Apr 27 02:48:09 bigdata polkitd[581]: Unregistered Authentication Agent for unix-process:4610:5433475 (system bus name :1.96, object path /org/freedesktop/PolicyKit1/Aut
Apr 27 02:54:29 bigdata sudo[4815]: root : TTY=pts/0 ; PWD=/var/log/elasticsearch ; USER=root ; COMMAND=/bin/yum update
Apr 27 02:54:29 bigdata sudo[4815]: pam_unix(sudo:session): session opened for user root by root(uid=0)
Apr 27 02:54:37 bigdata sudo[4815]: pam_unix(sudo:session): session closed for user root
Apr 27 02:54:45 bigdata sudo[4837]: root : TTY=pts/0 ; PWD=/var/log/elasticsearch ; USER=root ; COMMAND=/bin/yum upgrade
Apr 27 02:54:45 bigdata sudo[4837]: pam_unix(sudo:session): session opened for user root by root(uid=0)
Apr 27 02:54:48 bigdata sudo[4837]: pam_unix(sudo:session): session closed for user root

and this report error command journalctl -xe
Apr 27 02:48:09 bigdata systemd[1]: Unit elasticsearch.service entered failed state.
Apr 27 02:48:09 bigdata systemd[1]: elasticsearch.service failed.
Apr 27 02:48:09 bigdata polkitd[581]: Unregistered Authentication Agent for unix-process:4610:5433475 (system bus name :1.96, object path /org/freedesktop/PolicyKit1/Aut

Welcome!

Please don't post images of text as they are hard to read, may not display correctly for everyone, and are not searchable.

Instead, paste the text and format it with </> icon or pairs of triple backticks (```), and check the preview window to make sure it's properly formatted before posting it. This makes it more likely that your question will receive a useful answer.

It would be great if you could update your post to solve this.

Also please share the full elasticsearch logs.

Please provide information about which version you are using and how your cluster is deployed.

I' m sorry ,

and this report error my elasticsearch command

Apr 27 02:48:09 bigdata systemd[1]: Unit elasticsearch.service entered failed state.
Apr 27 02:48:09 bigdata systemd[1]: elasticsearch.service failed.
Apr 27 02:48:09 bigdata polkitd[581]: Unregistered Authentication Agent for unix-process:4610:5433475 (system bus name :1.96, object path /org/freedesktop/PolicyKit1/Aut
Apr 27 02:54:29 bigdata sudo[4815]: root : TTY=pts/0 ; PWD=/var/log/elasticsearch ; USER=root ; COMMAND=/bin/yum update
Apr 27 02:54:29 bigdata sudo[4815]: pam_unix(sudo:session): session opened for user root by root(uid=0)
Apr 27 02:54:37 bigdata sudo[4815]: pam_unix(sudo:session): session closed for user root
Apr 27 02:54:45 bigdata sudo[4837]: root : TTY=pts/0 ; PWD=/var/log/elasticsearch ; USER=root ; COMMAND=/bin/yum upgrade
Apr 27 02:54:45 bigdata sudo[4837]: pam_unix(sudo:session): session opened for user root by root(uid=0)
Apr 27 02:54:48 bigdata sudo[4837]: pam_unix(sudo:session): session closed for user root

and this report error command journalctl -xe
Apr 27 02:48:09 bigdata systemd[1]: Unit elasticsearch.service entered failed state.
Apr 27 02:48:09 bigdata systemd[1]: elasticsearch.service failed.
Apr 27 02:48:09 bigdata polkitd[581]: Unregistered Authentication Agent for unix-process:4610:5433475 (system bus name :1.96, object path /org/freedesktop/PolicyKit1/Aut

Could you please share the elasticsearch logs? I believe you will find them in /var/log/elasticsearch

this file /var/log/elasticsearch

gc.log gc.log.00 gc.log.01 gc.log.02 gc.log.03 gc.log.04 gc.log.05 gc.log.06 gc.log.07 gc.log.08 gc.log.09 gc.log.10 gc.log.11 gc.log.12

There's no elasticsearch.log file in this dir?

How did you install elasticsearch exactly?

I installed using debian, can you tell me what the logs mean?

Did you follow this guide exactly?

If you did, what exact step went wrong?

oke thanks for your answer, I will double check the elasticsearch installation

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