[error][status][ui settings] Status changed from uninitialized to red - Elasticsearch plugin is red

Hi.
@elasticsearch @Kibana I want to disable the Xpack in elasticsearch 5.2 when define that code in elasticsearch.yml im facing issue to start elasticsearch, please help me to correct this error

xpack.security.enabled: false
xpack.monitoring.enabled: false
xpack.graph.enabled: false
xpack.watcher.enabled: false

Error:

   [2017-03-02T05:26:17,304][WARN ][o.e.b.ElasticsearchUncaughtExceptionHandler] [vmwarehost.beepqal1.node1] uncaught exception in thread [main]
o    rg.elasticsearch.bootstrap.StartupException: java.lang.IllegalArgumentException: unknown setting [xpack.graph.enabled] please check that any required plugins are installed, or check the breaking changes documentation for removed settings
            at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:125) ~[elasticsearch-5.2.1.jar:5.2.1]
            at org.elasticsearch.bootstrap.Elasticsearch.execute(Elasticsearch.java:112) ~[elasticsearch-5.2.1.jar:5.2.1]
            at org.elasticsearch.cli.SettingCommand.execute(SettingCommand.java:54) ~[elasticsearch-5.2.1.jar:5.2.1]
            at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:122) ~[elasticsearch-5.2.1.jar:5.2.1]
            at org.elasticsearch.cli.Command.main(Command.java:88) ~[elasticsearch-5.2.1.jar:5.2.1]
            at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:89) ~[elasticsearch-5.2.1.jar:5.2.1]
            at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:82) ~[elasticsearch-5.2.1.jar:5.2.1]
    Caused by: java.lang.IllegalArgumentException: unknown setting [xpack.graph.enabled] please check that any required plugins are installed, or check the breaking changes documentation for removed settings
            at org.elasticsearch.common.settings.AbstractScopedSettings.validate(AbstractScopedSettings.java:276) ~[elasticsearch-5.2.1.jar:5.2.1]
            at org.elasticsearch.common.settings.AbstractScopedSettings.validate(AbstractScopedSettings.java:244) ~[elasticsearch-5.2.1.jar:5.2.1]
            at org.elasticsearch.common.settings.SettingsModule.<init>(SettingsModule.java:138) ~[elasticsearch-5.2.1.jar:5.2.1]
            at org.elasticsearch.node.Node.<init>(Node.java:328) ~[elasticsearch-5.2.1.jar:5.2.1]
            at org.elasticsearch.node.Node.<init>(Node.java:232) ~[elasticsearch-5.2.1.jar:5.2.1]
            at org.elasticsearch.bootstrap.Bootstrap$6.<init>(Bootstrap.java:241) ~[elasticsearch-5.2.1.jar:5.2.1]
            at org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:241) ~[elasticsearch-5.2.1.jar:5.2.1]
            at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:333) ~[elasticsearch-5.2.1.jar:5.2.1]
            at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:121) ~[elasticsearch-5.2.1.jar:5.2.1]
            ... 6 more
            Suppressed: java.lang.IllegalArgumentException: unknown setting [xpack.monitoring.enabled] please check that any required plugins are installed, or check the breaking changes documentation for removed settings
                    at org.elasticsearch.common.settings.AbstractScopedSettings.validate(AbstractScopedSettings.java:276) ~[elasticsearch-5.2.1.jar:5.2.1]
                    at org.elasticsearch.common.settings.AbstractScopedSettings.validate(AbstractScopedSettings.java:244) ~[elasticsearch-5.2.1.jar:5.2.1]
                    at org.elasticsearch.common.settings.SettingsModule.<init>(SettingsModule.java:138) ~[elasticsearch-5.2.1.jar:5.2.1]
                    at org.elasticsearch.node.Node.<init>(Node.java:328) ~[elasticsearch-5.2.1.jar:5.2.1]
                    at org.elasticsearch.node.Node.<init>(Node.java:232) ~[elasticsearch-5.2.1.jar:5.2.1]
                    at org.elasticsearch.bootstrap.Bootstrap$6.<init>(Bootstrap.java:241) ~[elasticsearch-5.2.1.jar:5.2.1]
                    at org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:241) ~[elasticsearch-5.2.1.jar:5.2.1]
                    at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:333) ~[elasticsearch-5.2.1.jar:5.2.1]
                    at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:121) ~[elasticsearch-5.2.1.jar:5.2.1]
                    at org.elasticsearch.bootstrap.Elasticsearch.execute(Elasticsearch.java:112) ~[elasticsearch-5.2.1.jar:5.2.1]
                    at org.elasticsearch.cli.SettingCommand.execute(SettingCommand.java:54) ~[elasticsearch-5.2.1.jar:5.2.1]
                    at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:122) ~[elasticsearch-5.2.1.jar:5.2.1]
                    at org.elasticsearch.cli.Command.main(Command.java:88) ~[elasticsearch-5.2.1.jar:5.2.1]
                    at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:89) ~[elasticsearch-5.2.1.jar:5.2.1]
                    at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:82) ~[elasticsearch-5.2.1.jar:5.2.1]
            Suppressed: java.lang.IllegalArgumentException: unknown setting [xpack.security.enabled] please check that any required plugins are installed, or check the breaking changes documentation for removed settings

How did you use X-pack? are you sure that set false configure in both elasticsearch.yml and kibana.yml

What does the output of _cat/plugins show?

@warkolm

I tried below command and i got the following reply
http://xxxxxx:9200/_cat

=^.^=
/_cat/tasks
/_cat/fielddata
/_cat/fielddata/{fields}
/_cat/indices
/_cat/indices/{index}
/_cat/thread_pool
/_cat/thread_pool/{thread_pools}/_cat/plugins
/_cat/aliases
/_cat/aliases/{alias}
/_cat/recovery
/_cat/recovery/{index}
/_cat/allocation
/_cat/repositories
/_cat/nodes
/_cat/snapshots/{repository}
/_cat/master
/_cat/templates
/_cat/count
/_cat/count/{index}
/_cat/shards
/_cat/shards/{index}
/_cat/pending_tasks
/_cat/health
/_cat/nodeattrs
/_cat/segments
/_cat/segments/{index}

http://xxxxxx:9200/_cat/plugins

{"error":{"root_cause":[{"type":"master_not_discovered_exception","reason":null}],"type":"master_not_discovered_exception","reason":null},"status":503}

@wenpos

i defined in both kibana and elasticsearch.yml, but when i start elasticsearch it throw those errors.

you cluster may be unavailable, try GET ip:9200 , GET _cat/master.

@wenpos

http://xxxxxx:9200

{
  "name" : xxxxx.beepqal1.node1",
  "cluster_name" : "sub_prod_cluster",
  "cluster_uuid" : "_na_",
  "version" : {
    "number" : "5.2.1",
    "build_hash" : "db0d481",
    "build_date" : "2017-02-09T22:05:32.386Z",
    "build_snapshot" : false,
    "lucene_version" : "6.4.1"
  },

"tagline" : "You Know, for Search"
}

and GET _cat/master?v GET _cat/nodes?v ???

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