Hello guys.
I have an issue with a new install of 2.6.3 on Lightsail.
The elasticsearch service will not start.
There are no logs in \var\log\elasticsearch.
I followed the installation instructions to the letter.
And followed the instruction to drop and import our database.
● elasticsearch.service - Elasticsearch
Loaded: loaded (/usr/lib/systemd/system/elasticsearch.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Thu 2021-04-08 10:52:16 UTC; 3min 29s ago
Docs:
http://www.elastic.co Process: 28634 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: 28626 ExecStartPre=/usr/share/elasticsearch/bin/elasticsearch-systemd-pre-exec (code=exited, status=0/SUCCESS)
Main PID: 28634 (code=exited, status=1/FAILURE)
Apr 08 10:52:15 ip-172-26-9-85 elasticsearch[28634]: 2021-04-08 10:52:15,917 main ERROR Null object returned for RollingFile in Appenders.
Apr 08 10:52:15 ip-172-26-9-85 elasticsearch[28634]: 2021-04-08 10:52:15,917 main ERROR Null object returned for RollingFile in Appenders.
Apr 08 10:52:15 ip-172-26-9-85 elasticsearch[28634]: 2021-04-08 10:52:15,917 main ERROR Null object returned for RollingFile in Appenders.
Apr 08 10:52:15 ip-172-26-9-85 elasticsearch[28634]: 2021-04-08 10:52:15,918 main ERROR Null object returned for RollingFile in Appenders.
Apr 08 10:52:15 ip-172-26-9-85 elasticsearch[28634]: 2021-04-08 10:52:15,918 main ERROR Unable to locate appender "rolling" for logger config "root"
Apr 08 10:52:15 ip-172-26-9-85 elasticsearch[28634]: 2021-04-08 10:52:15,919 main ERROR Unable to locate appender "index_indexing_slowlog_rolling" for logger config "index.indexing.slowlog.index"
Apr 08 10:52:15 ip-172-26-9-85 elasticsearch[28634]: 2021-04-08 10:52:15,919 main ERROR Unable to locate appender "index_search_slowlog_rolling" for logger config "index.search.slowlog"
Apr 08 10:52:15 ip-172-26-9-85 elasticsearch[28634]: 2021-04-08 10:52:15,919 main ERROR Unable to locate appender "deprecation_rolling" for logger config "org.elasticsearch.deprecation"
Apr 08 10:52:16 ip-172-26-9-85 systemd[1]: elasticsearch.service: Main process exited, code=exited, status=1/FAILURE
Apr 08 10:52:16 ip-172-26-9-85 systemd[1]: elasticsearch.service: Failed with result 'exit-code'.