Hi, I am new here.
I am trying to install elasticsearch on my Centos 7.8 to support Magento 2.4]
I followed all instruction but on enabling it with command
sudo systemctl enable --now elasticsearch
I have this error
Job for elasticsearch.service failed because the control process exited with error code. See "systemctl status elasticsearch.service" and "journalctl -xe" for details.
Then searching on journalctl -xe
Firewall: TCP_IN Blocked IN=enp2s0f0 OUT= MAC=ac:1f:6b:81:37:10:60:9c:9f:bd:2c:90:08:00 SRC=188.8.131.52 DST=184.108.40.206 LEN=40 TOS=0x00 PREC=0x00 TTL=246 ID=54398 PROTO=TCP S
Which ports do I have to open on Firewall if this is the problem? Opening port I have this other error:
ott 15 14:06:41 systemd: Unit elasticsearch.service entered failed state. ott 15 14:06:41 systemd: elasticsearch.service failed. ott 15 14:06:41 polkitd: Unregistered Authentication Agent for unix-process:5706:7660871 (system bus name :1.19303, object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale it_IT.UTF-8) (disconnected from bus) ott 15 14:06:41 sudo: pam_unix(sudo:session): session closed for user root
Do you have any idea of how to proceed?