添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接
相关文章推荐
爱健身的眼镜  ·  1821879 – ...·  4 月前    · 
买醉的野马  ·  域控制器·  4 月前    · 
鼻子大的牙膏  ·  iOS Android Php ...·  6 月前    · 

I am currently trying to setup Elasticsearch for a project that i have with Django. I have installed Elasticsearch 7.4.1.

But when I try to start Elasticsearch using the command

sudo -i service elasticsearch start

I get the error below :

Job for elasticsearch.service failed because a fatal signal was delivered to the control process.

See "systemctl status elasticsearch.service" and "journalctl -xe" for details.

And when I try to run the command

lasticsearch.service - Elasticsearch
Loaded: loaded (/usr/lib/systemd/system/elasticsearch.service; disabled; v>
Active: failed (Result: signal) since Sun 2021-07-11 17:35:09 -03; 1min 2s>
Docs: https://www.elastic.co
Process: 6654 ExecStart=/usr/share/elasticsearch/bin/systemd-entrypoint -p >
Main PID: 6654 (code=killed, signal=KILL)

jul 11 17:34:56 usuario-System-Product-Name systemd[1]: Starting Elasticsearch.>
jul 11 17:35:09 usuario-System-Product-Name systemd[1]: elasticsearch.service: >
jul 11 17:35:09 usuario-System-Product-Name systemd[1]: elasticsearch.service: >
jul 11 17:35:10 usuario-System-Product-Name systemd[1]: Failed to start Elastic>

I have removed/purged Elasticsearch from my machine and re-installed several times, but it doesn't seem to fix the issue.

I have tried to modify the default network.host and host.port settings in /etc/default/elasticsearch to network.host: 0.0.0.0 and http.port: 9200 to fix the issue, but no luck yet.

I need some assistance. Thanks in advance for any help.