Elasticsearch cannot up because /org/freedesktop/PolicyKit1/AuthenticationAgent Blocked

Hello Everyone,

Cluster version: 7.7.0
OS Version: Centos 7.9
Java Version: Java 8

We have an issue with Elasticsearch when we try to up the service.

journalctl -xe output:

Jun 30 08:59:10 elk-master-2 systemd[1]: elasticsearch.service: main process exited, code=exited, status=1/FAILURE
Jun 30 08:59:10 elk-master-2 systemd[1]: Failed to start Elasticsearch.
-- Subject: Unit elasticsearch.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- Unit elasticsearch.service has failed.
-- The result is failed.
Jun 30 08:59:10 elk-master-2 systemd[1]: Unit elasticsearch.service entered failed state.
Jun 30 08:59:10 elk-master-2 systemd[1]: elasticsearch.service failed.
Jun 30 08:59:10 elk-master-2 polkitd[875]: Unregistered Authentication Agent for unix-process:18024:8081908 (system bus name :1.92, object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale C) (disconnected from bus)
Jun 30 08:59:21 elk-master-2 sshd[18254]: Accepted password for root from port 63682 ssh2
Jun 30 08:59:21 elk-master-2 systemd-logind[869]: New session 38 of user root.

So, I think the problem about AuthenticationAgent but I really don't know why this blocks up the service.

Could someone help with this issue?

What do your Elasticsearch logs show?

You can close this discussion as a solved. The reason for the problem was elasticsearch.yml

path.data: /home/elasticsearch/data
path.logs: /home/elasticsearch/logs
path.repo: /home/elasticsearch/backup

we created each path manually and the service started up successfully.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.