Elasticsearch startup issues while upgrade from v2.2.3 to v5.6.7

(Bhaskar Mittal) #1


We have upgraded our Elasticsearch component from v2.2.3 to v5.6.7. Post upgrade the elasticsearch process is not getting restarted.

We are not getting any elasticsearcglogs and it's failing to start. We are also using systemctl to start service.

and below is the status of systemctl

-bash-4.2$ sudo systemctl start elasticsearch
-bash-4.2$ sudo systemctl status elasticsearch
â elasticsearch.service - Elasticsearch
Loaded: loaded (/usr/lib/systemd/system/elasticsearch.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Fri 2018-02-16 12:18:19 UTC; 7s ago
Docs: http://www.elastic.co
Process: 5689 ExecStart=/usr/share/elasticsearch/bin/elasticsearch -p ${PID_DIR}/elasticsearch.pid -q -Edefault.path.logs=${LOG_DIR} -Edefault.path.data=${DATA_DIR} -Edefault.path.conf=${CONF_DIR} (code=exited, status=1/FAILURE)
Process: 5687 ExecStartPre=/usr/share/elasticsearch/bin/elasticsearch-systemd-pre-exec (code=exited, status=0/SUCCESS)
Main PID: 5689 (code=exited, status=1/FAILURE)

Feb 16 12:18:19 *********** systemd[1]: Starting Elasticsearch...
Feb 16 12:18:19 *********** systemd[1]: Started Elasticsearch.
Feb 16 12:18:19 *********** systemd[1]: elasticsearch.service: main process exited, code=exited, status=1/FAILURE
Feb 16 12:18:19 *********** systemd[1]: Unit elasticsearch.service entered failed state.
Feb 16 12:18:19 *********** systemd[1]: elasticsearch.service failed.

(system) #2

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