Recently upgraded elasticsearch from 2.3.1 to 5.6.16 in my dev machine. Java and elastic installation went fine. Now while i am trying to start the service it is not starting the service at all. below is the error message am getting.
● elasticsearch.service - Elasticsearch
Loaded: loaded (/usr/lib/systemd/system/elasticsearch.service; disabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Tue 2019-05-07 03:22:31 EDT; 12min ago
Docs: http://www.elastic.co
Process: 8957 ExecStart=/usr/share/elasticsearch/bin/elasticsearch -p {PID_DIR}/elasticsearch.pid --quiet -Edefault.path.logs={LOG_DIR} -Edefault.path.data={DATA_DIR} -Edefault.path.conf={CONF_DIR} (code=exited, status=1/FAILURE)
Process: 8955 ExecStartPre=/usr/share/elasticsearch/bin/elasticsearch-systemd-pre-exec (code=exited, status=0/SUCCESS)
Main PID: 8957 (code=exited, status=1/FAILURE)
May 07 03:22:31 VFDV-W05CLT10 systemd[1]: Starting Elasticsearch...
May 07 03:22:31 VFDV-W05CLT10 systemd[1]: Started Elasticsearch.
May 07 03:22:31 VFDV-W05CLT10 systemd[1]: elasticsearch.service: main process exited, code=exited, status=1/FAILURE
May 07 03:22:31 VFDV-W05CLT10 systemd[1]: Unit elasticsearch.service entered failed state.
May 07 03:22:31 VFDV-W05CLT10 systemd[1]: elasticsearch.service failed.
Can someone please help me on this ?
Providing the elasticsearch.yml config below.
cluster.name: analytics-ws05-5x
node.name: clientnode01
node.data: true
node.master: true
http.enabled: true
path.data: /ESDATA
http.cors.enabled: true # Required for Kopf to connect
http.cors.allow-origin: "*" # Required for Kopf to connect
network.host: 10.99.88.247
discovery.zen.ping.unicast.hosts: ["vfdv-devels01:9200"]
node.max_local_storage_nodes: 1
discovery.zen.minimum_master_nodes: 1
discovery.zen.ping.timeout: 3s
discovery.zen.ping.multicast.enabled: false