Unable to start elasticsearch-5.6.2-1 at non default data location on RedHat7

[root@iax3950x6-v30 elasticsearch]# service elasticsearch start
Starting elasticsearch (via systemctl): [ OK ]
[root@iax3950x6-v30 elasticsearch]# service elasticsearch status
● elasticsearch.service - Elasticsearch
Loaded: loaded (/usr/lib/systemd/system/elasticsearch.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Tue 2017-10-03 19:16:35 IST; 651ms ago
Docs: http://www.elastic.co
Process: 20235 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: 20233 ExecStartPre=/usr/share/elasticsearch/bin/elasticsearch-systemd-pre-exec (code=exited, status=0/SUCCESS)
Main PID: 20235 (code=exited, status=1/FAILURE)

Oct 03 19:16:35 iax3950x6-v30 elasticsearch[20235]: 2017-10-03 19:16:35,477 main ERROR Null object returned for RollingFile in Appenders.
Oct 03 19:16:35 iax3950x6-v30 elasticsearch[20235]: 2017-10-03 19:16:35,477 main ERROR Null object returned for RollingFile in Appenders.
Oct 03 19:16:35 iax3950x6-v30 elasticsearch[20235]: 2017-10-03 19:16:35,478 main ERROR Null object returned for RollingFile in Appenders.
Oct 03 19:16:35 iax3950x6-v30 elasticsearch[20235]: 2017-10-03 19:16:35,478 main ERROR Unable to locate appender "rolling" for logger config "root"
Oct 03 19:16:35 iax3950x6-v30 elasticsearch[20235]: 2017-10-03 19:16:35,478 main ERROR Unable to locate appender "index_indexing_slowlog_rolling" ...g.index"
Oct 03 19:16:35 iax3950x6-v30 elasticsearch[20235]: 2017-10-03 19:16:35,479 main ERROR Unable to locate appender "index_search_slowlog_rolling" fo...slowlog"
Oct 03 19:16:35 iax3950x6-v30 elasticsearch[20235]: 2017-10-03 19:16:35,479 main ERROR Unable to locate appender "deprecation_rolling" for logger ...ecation"
Oct 03 19:16:35 iax3950x6-v30 systemd[1]: elasticsearch.service: main process exited, code=exited, status=1/FAILURE
Oct 03 19:16:35 iax3950x6-v30 systemd[1]: Unit elasticsearch.service entered failed state.
Oct 03 19:16:35 iax3950x6-v30 systemd[1]: elasticsearch.service failed.
Hint: Some lines were ellipsized, use -l to show in full.

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