I start Elasticsearch with command "systemctl start elasticsearch.service"
Then i check if elasticsearch is running with "systemctl status elasticsearch.service"
I have Ubuntu 18.04 and Elasticsearch 6.3
After 10-20 seconds, he said the status is failed.
● elasticsearch.service - Elasticsearch
Loaded: loaded (/usr/lib/systemd/system/elasticsearch.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Tue 2018-08-21 08:21:23 UTC; 610ms ago
Docs: http://www.elastic.co
Process: 32113 ExecStart=/usr/share/elasticsearch/bin/elasticsearch -p ${PID_DIR}/elasticsearch.pid --quiet (code=exited, status=1/FAILURE
Main PID: 32113 (code=exited, status=1/FAILURE)
Aug 21 08:21:23 ip-172-31-5-215 elasticsearch[32113]: 2018-08-21 08:21:23,097 main ERROR Null object returned for RollingFile in Appenders.
Aug 21 08:21:23 ip-172-31-5-215 elasticsearch[32113]: 2018-08-21 08:21:23,099 main ERROR Null object returned for RollingFile in Appenders.
Aug 21 08:21:23 ip-172-31-5-215 elasticsearch[32113]: 2018-08-21 08:21:23,099 main ERROR Null object returned for RollingFile in Appenders.
Aug 21 08:21:23 ip-172-31-5-215 elasticsearch[32113]: 2018-08-21 08:21:23,099 main ERROR Unable to locate appender "rolling" for logger conf
Aug 21 08:21:23 ip-172-31-5-215 elasticsearch[32113]: 2018-08-21 08:21:23,100 main ERROR Unable to locate appender "index_indexing_slowlog_r
Aug 21 08:21:23 ip-172-31-5-215 elasticsearch[32113]: 2018-08-21 08:21:23,101 main ERROR Unable to locate appender "audit_rolling" for logge
Aug 21 08:21:23 ip-172-31-5-215 elasticsearch[32113]: 2018-08-21 08:21:23,102 main ERROR Unable to locate appender "index_search_slowlog_rol
Aug 21 08:21:23 ip-172-31-5-215 elasticsearch[32113]: 2018-08-21 08:21:23,102 main ERROR Unable to locate appender "deprecation_rolling" for
Aug 21 08:21:23 ip-172-31-5-215 systemd[1]: elasticsearch.service: Main process exited, code=exited, status=1/FAILURE
Aug 21 08:21:23 ip-172-31-5-215 systemd[1]: elasticsearch.service: Failed with result 'exit-code'.