Elk 6.2.3 starting Elasticsearch Server fails

Hello,
I am using readonlyplugin for 6.2.3 which fails as like below ? any help here ?

  • Starting Elasticsearch Server Exception in thread "main" 2018-06-13 06:41:17,193 main ERROR No log4j2 configuration file found. Using default configuration: logging only errors to the console. Set system property 'log4j2.debug' to show Log4j2 internal initialization logging.
    SettingsException[Failed to load settings from [elasticsearch.yml]]; nested: IllegalStateException[only value lists are allowed in serialized settings];
    at org.elasticsearch.common.settings.Settings$Builder.loadFromStream(Settings.java:1187)
    at org.elasticsearch.common.settings.Settings$Builder.loadFromPath(Settings.java:1162)
    at org.elasticsearch.node.InternalSettingsPreparer.prepareEnvironment(InternalSettingsPreparer.java:99)
    at org.elasticsearch.cli.EnvironmentAwareCommand.createEnv(EnvironmentAwareCommand.java:95)
    at org.elasticsearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:86)
    at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:124)
    at org.elasticsearch.cli.Command.main(Command.java:90)
    at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:92)
    at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:85)
    Caused by: java.lang.IllegalStateException: only value lists are allowed in serialized settings
    at org.elasticsearch.common.settings.Settings.fromXContent(Settings.java:715)
    at org.elasticsearch.common.settings.Settings.fromXContent(Settings.java:704)
    at org.elasticsearch.common.settings.Settings.fromXContent(Settings.java:673)
    at org.elasticsearch.common.settings.Settings.access$500(Settings.java:82)
    at org.elasticsearch.common.settings.Settings$Builder.loadFromStream(Settings.java:1183)
    ... 8 more

This looks like a problem with your elasticsearch.yml, can you post it here?

I have moved the readonlyrest property from the elasticsearch.yml into a separate readonlyrest.yml after that issue is fixed.

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