Hi I can't turn on elasticsearch services after enabling xpack.security.enable : true and changing master account password. And I tried to disable the xpack but elasticsearch still can't run
Here's the journalctl -xe
-- Unit elasticsearch.service has failed.
--
-- The result is failed.
Jul 28 10:39:34 dev-elk-app-wb systemd[1]: Unit elasticsearch.service entered failed state.
Jul 28 10:39:34 dev-elk-app-wb systemd[1]: elasticsearch.service failed.
Jul 28 10:39:34 dev-elk-app-wb polkitd[1293]: Unregistered Authentication Agent for unix-process:7987:590816411 (system bus name :1.23583
Jul 28 10:40:01 dev-elk-app-wb systemd[1]: Created slice User Slice of root.
-- Subject: Unit user-0.slice has finished start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit user-0.slice has finished starting up.
--
-- The start-up result is done.
Jul 28 10:40:01 dev-elk-app-wb systemd[1]: Started Session 11630 of user root.
-- Subject: Unit session-11630.scope has finished start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit session-11630.scope has finished starting up.
--
-- The start-up result is done.
Jul 28 10:40:01 dev-elk-app-wb CROND[8245]: (root) CMD (/usr/lib64/sa/sa1 1 1)
Jul 28 10:40:01 dev-elk-app-wb systemd[1]: Removed slice User Slice of root.
-- Subject: Unit user-0.slice has finished shutting down
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit user-0.slice has finished shutting down.
Jul 28 10:41:56 dev-elk-app-wb sshd[7866]: pam_unix(sshd:session): session closed for user userdev
Jul 28 10:41:56 dev-elk-app-wb systemd-logind[1300]: Removed session 11629.
-- Subject: Session 11629 has been terminated
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- Documentation: http://www.freedesktop.org/wiki/Software/systemd/multiseat
--
-- A session with the ID 11629 has been terminated.
and this elasticsearch.log
[2022-07-28T10:39:13,796][INFO ][o.e.g.DanglingIndicesState] [node-1] gateway.auto_import_dangling_indices is disabled, dangling indices will not be automatically detected or imported and must be managed manually
[2022-07-28T10:39:14,371][INFO ][o.e.n.Node ] [node-1] initialized
[2022-07-28T10:39:14,371][INFO ][o.e.n.Node ] [node-1] starting ...
[2022-07-28T10:39:14,389][INFO ][o.e.x.s.c.f.PersistentCache] [node-1] persistent cache index loaded
[2022-07-28T10:39:34,519][INFO ][o.e.t.TransportService ] [node-1] publish_address {10.0.118.12:9300}, bound_addresses {[::]:9300}
[2022-07-28T10:39:34,667][INFO ][o.e.n.Node ] [node-1] stopping ...
[2022-07-28T10:39:34,680][INFO ][o.e.n.Node ] [node-1] stopped
[2022-07-28T10:39:34,680][INFO ][o.e.n.Node ] [node-1] closing ...
[2022-07-28T10:39:34,692][INFO ][o.e.n.Node ] [node-1] closed
[2022-07-28T10:39:34,694][INFO ][o.e.x.m.p.NativeController] [node-1] Native controller process has stopped - no new native processes can be started
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.