看,灰机...

elasticsearch启动不了,报错信息如下,求大神解答

Elasticsearch | 作者 huangyingchun | 发布于2017年11月07日 | 阅读数:25811

Nov 07 17:37:34 ceshi02 elasticsearch[23462]: 2017-11-07 17:37:34,255 main ERROR Null object returned for RollingFile in Appenders.
Nov 07 17:37:34 ceshi02 elasticsearch[23462]: 2017-11-07 17:37:34,255 main ERROR Null object returned for RollingFile in Appenders.
Nov 07 17:37:34 ceshi02 elasticsearch[23462]: 2017-11-07 17:37:34,255 main ERROR Null object returned for RollingFile in Appenders.
Nov 07 17:37:34 ceshi02 elasticsearch[23462]: 2017-11-07 17:37:34,255 main ERROR Unable to locate appender "rolling" for logger config "root"
Nov 07 17:37:34 ceshi02 elasticsearch[23462]: 2017-11-07 17:37:34,255 main ERROR Unable to locate appender "index_indexing_slowlog_rolling" for logger config "index.indexing.slowlog.index"
Nov 07 17:37:34 ceshi02 elasticsearch[23462]: 2017-11-07 17:37:34,255 main ERROR Unable to locate appender "index_search_slowlog_rolling" for logger config "index.search.slowlog"
Nov 07 17:37:34 ceshi02 elasticsearch[23462]: 2017-11-07 17:37:34,256 main ERROR Unable to locate appender "deprecation_rolling" for logger config "org.elasticsearch.deprecation"
Nov 07 17:37:38 ceshi02 systemd[1]: elasticsearch.service: main process exited, code=exited, status=78/n/a
Nov 07 17:37:38 ceshi02 systemd[1]: Unit elasticsearch.service entered failed state.
Nov 07 17:37:38 ceshi02 systemd[1]: elasticsearch.service failed.
已邀请:

huangyingchun

赞同来自: young008

谢谢大家!已经找到原因了,需要将配置文件log4j2.properties  中logger.deprecation.level =  warn  改为 error,就可以启动了

 

redhat

赞同来自:

es什么版本啊?你是怎么启动的?

白衬衣 - 金桥

赞同来自:

es5使用了es2的配置,过期的配置导致集群启动检查无法通过。

laoyang360 - 《一本书讲透Elasticsearch》作者,Elastic认证工程师 [死磕Elasitcsearch]知识星球地址:http://t.cn/RmwM3N9;微信公众号:铭毅天下; 博客:https://elastic.blog.csdn.net

赞同来自:

olling" for logger config "index.search.slowlog"
locate appender "deprecation_rolling" for logger config "org.elasticsearch.deprecation"
确定下上面两个配置。
确定下是非root账户启动。

要回复问题请先登录注册