ENV:
OS: Centos 7
ES : 56.2 to 6.0
After upgrade, i reinstall all plugin ES, after that start ES but got error
Nov 23 15:50:33 elastic-04 systemd[1]: Unit elasticsearch.service entered failed state.
Nov 23 15:53:07 elastic-04 systemd[1]: Starting Elasticsearch...
-- Subject: Unit elasticsearch.service has begun with start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit elasticsearch.service has begun starting up.
Nov 23 15:53:07 elastic-04 systemd[5047]: Failed at step EXEC spawning /usr/share/elasticsearch/bin/elasticsearch-systemd-pre-exec: No such
-- Subject: Process /usr/share/elasticsearch/bin/elasticsearch-systemd-pre-exec could not be executed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- The process /usr/share/elasticsearch/bin/elasticsearch-systemd-pre-exec could not be executed and failed.
--
-- The error number returned while executing this process is 2.
Nov 23 15:53:07 elastic-04 systemd[1]: elasticsearch.service: control process exited, code=exited status=203
Nov 23 15:53:07 elastic-04 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.
Nov 23 15:53:07 elastic-04 systemd[1]: Unit elasticsearch.service entered failed state.
And here is message log
Nov 23 16:16:45 Elastic-04 systemd: elasticsearch.service: control process exited, code=exited status=203
Nov 23 16:16:45 Elastic-04 systemd: Failed to start Elasticsearch.
Nov 23 16:16:45 Elastic-04 systemd: Unit elasticsearch.service entered failed state.
Nov 23 16:16:50 Elastic-04 systemd: Starting Elasticsearch...
Nov 23 16:16:50 Elastic-04 systemd: Failed at step EXEC spawning /usr/share/elasticsearch/bin/elasticsearch-systemd-pre-exec: No such file or directory
Nov 23 16:16:50 Elastic-04 systemd: elasticsearch.service: control process exited, code=exited status=203
Nov 23 16:16:50 Elastic-04 systemd: Failed to start Elasticsearch.
Nov 23 16:16:50 Elastic-04 systemd: Unit elasticsearch.service entered failed state
I try to set ES_PATH_CONF with :
export ES_PATH_CONF =/etc/elasticsearch/
But ES cannot start!!! What happen?
P/s: Dont have log in folder log ES
Thansk