I tried starting elasticsearch and configuring the yaml file, however this is the error message that keeps showing up.
elasticsearch.service - Elasticsearch Loaded: loaded (/lib/systemd/system/elasticsearch.service; enabled; vendor preset: enabled) Active: failed (Result: exit-code) since Tue 2024-04-23 23:07:03 UTC; 19s ago Docs: https://www.elastic.co Process: 4072 ExecStart=/usr/share/elasticsearch/bin/systemd-entrypoint -p ${PID_DIR}/elasticsearch> Main PID: 4072 (code=exited, status=1/FAILURE) CPU: 3.336sApr 23 23:07:03 ip-10-0-1-51 systemd-entrypoint[4072]: at com.fasterxml.jackson.core.json.JsonR>Apr 23 23:07:03 ip-10-0-1-51 systemd-entrypoint[4072]: at com.fasterxml.jackson.core.json.JsonR>Apr 23 23:07:03 ip-10-0-1-51 systemd-entrypoint[4072]: at com.fasterxml.jackson.dataformat.yaml>Apr 23 23:07:03 ip-10-0-1-51 systemd-entrypoint[4072]: at com.fasterxml.jackson.core.JsonParser>Apr 23 23:07:03 ip-10-0-1-51 systemd-entrypoint[4072]: at org.elasticsearch.xcontent.provider.j>Apr 23 23:07:03 ip-10-0-1-51 systemd-entrypoint[4072]: ... 10 moreApr 23 23:07:03 ip-10-0-1-51 systemd[1]: elasticsearch.service: Main process exited, code=exited, statu>Apr 23 23:07:03 ip-10-0-1-51 systemd[1]: elasticsearch.service: Failed with result 'exit-code'.Apr 23 23:07:03 ip-10-0-1-51 systemd[1]: Failed to start Elasticsearch.Apr 23 23:07:03 ip-10-0-1-51 systemd[1]: elasticsearch.service: Consumed 3.336s CPU time.lines 1-18/18 (END)
I tried navigating to the log files to detect the issue, rebooting, tried uninstalling and installing, but to no avail. I don't believe it has to do with my CPU requirements necessary. What can possibly be the problem?