RollingFileAppender Error while starting elasticsearch

I am getting the following error while starting Elasticsearch.

Sep 15 10:46:35 cbtbilevtmtr01 elasticsearch: 2017-09-15 10:46:35,367 main ERROR Unable to invoke factory method in class class
 org.apache.logging.log4j.core.appender.RollingFileAppender for element RollingFile. java.lang.IllegalStateException: No factor
y method found for class org.apache.logging.log4j.core.appender.RollingFileAppender

Elasticsearch versin 5.4.1

[vpwrk1@cbtbilevtmtr02 ~]$ java -version
java version "1.8.0_144"
Java(TM) SE Runtime Environment (build 1.8.0_144-b01)
Java HotSpot(TM) 64-Bit Server VM (build 25.144-b01, mixed mode)

Any idea?

I have the same problem. How did you fix this?

I found that the problem appears when I tried to edit the following two lines in elasticsearch.yml:

path.logs: /var/log/elasticsearch
path.data: /var/log/elasticsearch/data

So, Currently I left them as OOB.

Of course that I still need to deal with it as I need to point to my filesytem, where I have the right size of storage.

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