# Failed to load xpackplugin, please help, urgent

**URL:** <https://discuss.elastic.co/t/failed-to-load-xpackplugin-please-help-urgent/112719>\
**Category:** Elasticsearch\
**Created:** [December 20, 2017, 9:02pm UTC](https://discuss.elastic.co/t/failed-to-load-xpackplugin-please-help-urgent/112719 "2017-12-20T21:02:39Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![Derrick](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/derrick/32/49944_2.png) [@Derrick](https://discuss.elastic.co/u/Derrick)\
**Post date:** [December 20, 2017, 9:02pm UTC](https://discuss.elastic.co/t/failed-to-load-xpackplugin-please-help-urgent/112719/1 "2017-12-20T21:02:39Z")

</div>

[2017-12-20T20:55:32,603][WARN][o.e.d.c.s.Settings] [keystore.password] setting was deprecated in Elasticsearch and will be removed in a future release! See the breaking changes documentation for the next major version.  
[2017-12-20T20:55:32,604][WARN][o.e.d.c.s.Settings] [keystore.key\_password] setting was deprecated in Elasticsearch and will be removed in a future release! See the breaking changes documentation for the next major version.  
[2017-12-20T20:55:33,460][WARN][o.e.b.ElasticsearchUncaughtExceptionHandler] [[pxv-data1.dev.lbb4sd.333az.net](http://pxv-data1.dev.lbb4sd.333az.net)] uncaught exception in thread [main]  
org.elasticsearch.bootstrap.StartupException: ElasticsearchException[Failed to load plugin class [org.elasticsearch.xpack.XPackPlugin]]; nested: InvocationTargetException; nested: IllegalArgumentException[the [action.auto\_create\_index] setting value [.security,.monitoring\*,.watches,.triggered\_watches,.watcher-history\*,.ml\*] is too restrictive. disable [action.auto\_create\_index] or set it to [.security,.security-6]];  
at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:136) ~[elasticsearch-5.6.4.jar:5.6.4]  
at org.elasticsearch.bootstrap.Elasticsearch.execute(Elasticsearch.java:123) ~[elasticsearch-5.6.4.jar:5.6.4]  
at org.elasticsearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:70) ~[elasticsearch-5.6.4.jar:5.6.4]  
at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:134) ~[elasticsearch-5.6.4.jar:5.6.4]  
at org.elasticsearch.cli.Command.main(Command.java:90) ~[elasticsearch-5.6.4.jar:5.6.4]  
at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:91) ~[elasticsearch-5.6.4.jar:5.6.4]  
at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:84) ~[elasticsearch-5.6.4.jar:5.6.4]  
Caused by: org.elasticsearch.ElasticsearchException: Failed to load plugin class [org.elasticsearch.xpack.XPackPlugin]  
at org.elasticsearch.plugins.PluginsService.loadPlugin(PluginsService.java:438) ~[elasticsearch-5.6.4.jar:5.6.4]  
at org.elasticsearch.plugins.PluginsService.loadBundles(PluginsService.java:391) ~[elasticsearch-5.6.4.jar:5.6.4]  
at org.elasticsearch.plugins.PluginsService.(PluginsService.java:141) ~[elasticsearch-5.6.4.jar:5.6.4]  
at org.elasticsearch.node.Node.(Node.java:313) ~[elasticsearch-5.6.4.jar:5.6.4]  
at org.elasticsearch.node.Node.(Node.java:245) ~[elasticsearch-5.6.4.jar:5.6.4]  
at org.elasticsearch.bootstrap.Bootstrap$5.(Bootstrap.java:233) ~[elasticsearch-5.6.4.jar:5.6.4]  
at org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:233) ~[elasticsearch-5.6.4.jar:5.6.4]  
at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:342) ~[elasticsearch-5.6.4.jar:5.6.4]  
at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:132) ~[elasticsearch-5.6.4.jar:5.6.4]  
... 6 more  
Caused by: java.lang.reflect.InvocationTargetException  
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:?]  
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[?:?]  
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:?]  
at java.lang.reflect.Constructor.newInstance(Constructor.java:423) ~[?:1.8.0\_151]  
at org.elasticsearch.plugins.PluginsService.loadPlugin(PluginsService.java:427) ~[elasticsearch-5.6.4.jar:5.6.4]  
at org.elasticsearch.plugins.PluginsService.loadBundles(PluginsService.java:391) ~[elasticsearch-5.6.4.jar:5.6.4]  
at org.elasticsearch.plugins.PluginsService.(PluginsService.java:141) ~[elasticsearch-5.6.4.jar:5.6.4]  
at org.elasticsearch.node.Node.(Node.java:313) ~[elasticsearch-5.6.4.jar:5.6.4]  
at org.elasticsearch.node.Node.(Node.java:245) ~[elasticsearch-5.6.4.jar:5.6.4]  
at org.elasticsearch.bootstrap.Bootstrap$5.(Bootstrap.java:233) ~[elasticsearch-5.6.4.jar:5.6.4]  
at org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:233) ~[elasticsearch-5.6.4.jar:5.6.4]  
at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:342) ~[elasticsearch-5.6.4.jar:5.6.4]  
at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:132) ~[elasticsearch-5.6.4.jar:5.6.4]  
... 6 more  
Caused by: java.lang.IllegalArgumentException: the [action.auto\_create\_index] setting value [.security,.monitoring\*,.watches,.triggered\_watches,.watcher-history\*,.ml\*] is too restrictive. disable [action.auto\_create\_index] or set it to [.security,.security-6]  
at org.elasticsearch.xpack.security.Security.validateAutoCreateIndex(Security.java:812) ~[?:?]  
at org.elasticsearch.xpack.security.Security.(Security.java:252) ~[?:?]  
at org.elasticsearch.xpack.XPackPlugin.(XPackPlugin.java:219) ~[?:?]  
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:?]  
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[?:?]  
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:?]  
at java.lang.reflect.Constructor.newInstance(Constructor.java:423) ~[?:1.8.0\_151]  
at org.elasticsearch.plugins.PluginsService.loadPlugin(PluginsService.java:427) ~[elasticsearch-5.6.4.jar:5.6.4]  
at org.elasticsearch.plugins.PluginsService.loadBundles(PluginsService.java:391) ~[elasticsearch-5.6.4.jar:5.6.4]  
at org.elasticsearch.plugins.PluginsService.(PluginsService.java:141) ~[elasticsearch-5.6.4.jar:5.6.4]  
at org.elasticsearch.node.Node.(Node.java:313) ~[elasticsearch-5.6.4.jar:5.6.4]  
at org.elasticsearch.node.Node.(Node.java:245) ~[elasticsearch-5.6.4.jar:5.6.4]  
at org.elasticsearch.bootstrap.Bootstrap$5.(Bootstrap.java:233) ~[elasticsearch-5.6.4.jar:5.6.4]  
at org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:233) ~[elasticsearch-5.6.4.jar:5.6.4]  
at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:342) ~[elasticsearch-5.6.4.jar:5.6.4]  
at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:132) ~[elasticsearch-5.6.4.jar:5.6.4]  
... 6 more

---

<div class="post-metadata">

**Author:** ![TimV](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/timv/32/13162_2.png) [@TimV](https://discuss.elastic.co/u/TimV)\
**Post date:** [December 20, 2017, 9:38pm UTC](https://discuss.elastic.co/t/failed-to-load-xpackplugin-please-help-urgent/112719/2 "2017-12-20T21:38:24Z")

</div>

> [@Derrick](#):
>
> IllegalArgumentException[the [action.auto\_create\_index] setting value [.security,.monitoring\*,.watches,.triggered\_watches,.watcher-history\*,.ml\*] is too restrictive. disable [action.auto\_create\_index] or set it to [.security,.security-6]];

This is the error that you need to solve.

In your `elasticsearch.yml` there is a setting for `action.auto_create_index`  
Try changing it to

```auto
action.auto_create_index: ".security*,.monitoring*,.watches,.triggered_watches,.watcher-history*,.ml*"

```

---

<div class="post-metadata">

**Author:** ![Derrick](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/derrick/32/49944_2.png) [@Derrick](https://discuss.elastic.co/u/Derrick)\
**Post date:** [December 20, 2017, 9:45pm UTC](https://discuss.elastic.co/t/failed-to-load-xpackplugin-please-help-urgent/112719/3 "2017-12-20T21:45:21Z")

</div>

Hi Tim,

I changed it as your suggestion, but still same problem, my es and xpack version is 5.6.4

---

<div class="post-metadata">

**Author:** ![TimV](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/timv/32/13162_2.png) [@TimV](https://discuss.elastic.co/u/TimV)\
**Post date:** [December 20, 2017, 10:39pm UTC](https://discuss.elastic.co/t/failed-to-load-xpackplugin-please-help-urgent/112719/4 "2017-12-20T22:39:08Z")

</div>

> [@Derrick](#):
>
> action.auto\_create\_index: ".security,.monitoring\*,.watches,.triggered\_watches,.watcher-history\*,.ml\*"

That still has the old value. What did you change?

---

<div class="post-metadata">

**Author:** ![Derrick](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/derrick/32/49944_2.png) [@Derrick](https://discuss.elastic.co/u/Derrick)\
**Post date:** [December 20, 2017, 10:52pm UTC](https://discuss.elastic.co/t/failed-to-load-xpackplugin-please-help-urgent/112719/5 "2017-12-20T22:52:31Z")

</div>

Changed it to .security,.security6, but same error

What value I should change to?

---

<div class="post-metadata">

**Author:** ![TimV](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/timv/32/13162_2.png) [@TimV](https://discuss.elastic.co/u/TimV)\
**Post date:** [December 20, 2017, 10:53pm UTC](https://discuss.elastic.co/t/failed-to-load-xpackplugin-please-help-urgent/112719/6 "2017-12-20T22:53:13Z")

</div>

Please change it to the value that I suggested in my earlier post.

---

<div class="post-metadata">

**Author:** ![Derrick](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/derrick/32/49944_2.png) [@Derrick](https://discuss.elastic.co/u/Derrick)\
**Post date:** [December 20, 2017, 11:24pm UTC](https://discuss.elastic.co/t/failed-to-load-xpackplugin-please-help-urgent/112719/7 "2017-12-20T23:24:39Z")

</div>

Is this value?

action.auto\_create\_index: ".security\*,.monitoring\*,.watches,.triggered\_watches,.watcher-history\*,.ml\*"

---

<div class="post-metadata">

**Author:** ![TimV](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/timv/32/13162_2.png) [@TimV](https://discuss.elastic.co/u/TimV)\
**Post date:** [December 20, 2017, 11:46pm UTC](https://discuss.elastic.co/t/failed-to-load-xpackplugin-please-help-urgent/112719/8 "2017-12-20T23:46:15Z")

</div>

Yes, that one

---

<div class="post-metadata">

**Author:** ![Derrick](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/derrick/32/49944_2.png) [@Derrick](https://discuss.elastic.co/u/Derrick)\
**Post date:** [December 21, 2017, 1:29am UTC](https://discuss.elastic.co/t/failed-to-load-xpackplugin-please-help-urgent/112719/9 "2017-12-21T01:29:07Z")

</div>

Thanks vm Tim,

it works now, I really appreciate it.

---

<div class="post-metadata">

**Author:** ![TimV](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/timv/32/13162_2.png) [@TimV](https://discuss.elastic.co/u/TimV)\
**Post date:** [December 21, 2017, 1:53am UTC](https://discuss.elastic.co/t/failed-to-load-xpackplugin-please-help-urgent/112719/10 "2017-12-21T01:53:23Z")

</div>

Please ask this question as a new topic in the #elasticsearch forum.

---

<div class="post-metadata">

**Author:** ![Derrick](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/derrick/32/49944_2.png) [@Derrick](https://discuss.elastic.co/u/Derrick)\
**Post date:** [December 21, 2017, 1:57am UTC](https://discuss.elastic.co/t/failed-to-load-xpackplugin-please-help-urgent/112719/11 "2017-12-21T01:57:47Z")

</div>

Thanks Tim,

I have resolved it.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [January 18, 2018, 1:57am UTC](https://discuss.elastic.co/t/failed-to-load-xpackplugin-please-help-urgent/112719/12 "2018-01-18T01:57:52Z")

</div>

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