Joshua
Active member
Can't figure out why elasticsearch won't start up. Can I just safely remove and reinstall without breaking anything? Gonna use this guide: https://community.centminmod.com/threads/how-to-install-elasticsearch-7-x-for-xenforo.19272/
Code:
[05:46][root@epn2022 ~]# systemctl status elasticsearch.service
● elasticsearch.service - Elasticsearch
Loaded: loaded (/usr/lib/systemd/system/elasticsearch.service; enabled; vendor preset: disabled)
Drop-In: /etc/systemd/system/elasticsearch.service.d
└─openfileslimit.conf
Active: failed (Result: exit-code) since Sat 2024-03-02 02:42:52 UTC; 3h 3min ago
Docs: https://www.elastic.co
Process: 3066 ExecStart=/usr/share/elasticsearch/bin/systemd-entrypoint -p ${PID_DIR}/elasticsearch.pid --quiet (code=exited, status=134)
Main PID: 3066 (code=exited, status=134)
Mar 02 02:42:52 epn2022 systemd-entrypoint[3066]: #
Mar 02 02:42:52 epn2022 systemd-entrypoint[3066]: # An error report file with more information is saved as:
Mar 02 02:42:52 epn2022 systemd-entrypoint[3066]: # /tmp/hs_err_pid3096.log
Mar 02 02:42:52 epn2022 systemd-entrypoint[3066]: #
Mar 02 02:42:52 epn2022 systemd-entrypoint[3066]: #
Mar 02 02:42:52 epn2022 systemd-entrypoint[3066]: /usr/share/elasticsearch/bin/elasticsearch-env: line 83: 3096 Aborted "$JAVA" "$XSHARE" -cp "$ES_CLASSPATH" org.elasticsearch.tools.java_version_checker.JavaVersionChecker
Mar 02 02:42:52 epn2022 systemd[1]: elasticsearch.service: main process exited, code=exited, status=134/n/a
Mar 02 02:42:52 epn2022 systemd[1]: Failed to start Elasticsearch.
Mar 02 02:42:52 epn2022 systemd[1]: Unit elasticsearch.service entered failed state.
Mar 02 02:42:52 epn2022 systemd[1]: elasticsearch.service failed.