Rolling upgrade from 5.6 to 6.8 fails to start

Pretty sure I exactly followed the instructions here: https://www.elastic.co/guide/en/elasticsearch/reference/6.8/rpm.html

However tailing journalctl says the following. Anybody got any suggestions. I've very much a Dev, not Ops kind of guy :slight_smile: :

Jan 21 16:02:18 elasticsearch5.llgc.org.uk polkitd[1841]: Registered Authentication Agent for unix-process:7194:353072264 (system bus name :1.2535 [/usr/bin/pkttyagent --notify-fd 5 --fallback], object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_GB.UTF-8)
Jan 21 16:02:18 elasticsearch5.llgc.org.uk systemd[1]: Started Elasticsearch.
Jan 21 16:02:18 elasticsearch5.llgc.org.uk polkitd[1841]: Unregistered Authentication Agent for unix-process:7194:353072264 (system bus name :1.2535, object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_GB.UTF-8) (disconnected from bus)
[... stuff ...]
Jan 21 16:02:36 elasticsearch5.llgc.org.uk systemd[1]: elasticsearch.service: main process exited, code=exited, status=1/FAILURE
Jan 21 16:02:36 elasticsearch5.llgc.org.uk systemd[1]: Unit elasticsearch.service entered failed state.
Jan 21 16:02:36 elasticsearch5.llgc.org.uk systemd[1]: elasticsearch.service failed.

can you check and share the logfile of Elasticsearch as well as the journalctl output via sudo journalctl --unit elasticsearch?

Thanks!

Ahem. There were two issues. The primary one being...

... I kept starting the service as root. N00b Fail.

I am basically a newbie to be fair.

Thanks!

1 Like

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