CAN'T CONNECT TO 127.0.0.1:9200

Sep 30 12:49:00 elasticsearch elasticsearch[3281]: 2019-09-30 12:49:00,460 main ERROR Null object returned for RollingFile in Appenders.
Sep 30 12:49:00 elasticsearch elasticsearch[3281]: 2019-09-30 12:49:00,461 main ERROR Unable to locate appender "rolling" for logger config "root"
Sep 30 12:49:00 elasticsearch elasticsearch[3281]: 2019-09-30 12:49:00,461 main ERROR Unable to locate appender "index_indexing_slowlog_rolling" for logger config "index.indexing.slowlog.index
Sep 30 12:49:00 elasticsearch elasticsearch[3281]: 2019-09-30 12:49:00,462 main ERROR Unable to locate appender "audit_rolling" for logger config "org.elasticsearch.xpack.security.audit.logfil
Sep 30 12:49:00 elasticsearch elasticsearch[3281]: 2019-09-30 12:49:00,463 main ERROR Unable to locate appender "index_search_slowlog_rolling" for logger config "index.search.slowlog"
Sep 30 12:49:00 elasticsearch elasticsearch[3281]: 2019-09-30 12:49:00,463 main ERROR Unable to locate appender "deprecated_audit_rolling" for logger config "org.elasticsearch.xpack.security.a
Sep 30 12:49:00 elasticsearch elasticsearch[3281]: 2019-09-30 12:49:00,464 main ERROR Unable to locate appender "deprecation_rolling" for logger config "org.elasticsearch.deprecation"
Sep 30 12:49:00 elasticsearch systemd[1]: elasticsearch.service: Main process exited, code=exited, status=1/FAILURE
Sep 30 12:49:00 elasticsearch systemd[1]: elasticsearch.service: Unit entered failed state.
Sep 30 12:49:00 elasticsearch systemd[1]: elasticsearch.service: Failed with result 'exit-code'.

can you please provide some more information? How did you install Elasticsearch? Which version did you install? On which operating system? Did you change any configuration or any setup to not reflect the standard setup of the distribution package that you installed?

Dear Spinacle,

Sorry for the late reply.

I installed it with this link https://www.elastic.co/guide/en/elasticsearch/reference/6.2/deb.html

can you test with a more recent version than 6.2, i.e. the latest 6.8 release? Also make sure you purge the package, so that no previous configuration files are leftover, when installing the new one.

Dear Spinacle,

Please can you share a link of a stable one.

Thank you.

See https://www.elastic.co/downloads/elasticsearch

Thanks!

Have you played with directory/file ownership ? It looks like your elasticsearch is unable to read files because you have changed something he needed to access. I had this error and the easiest path to success was to restart from scratch.

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