# Es and kibana install x-pack

**URL:** <https://discuss.elastic.co/t/es-and-kibana-install-x-pack/213579>\
**Category:** Elastic en Español\
**Tags:** elastic-stack-monitoring\
**Created:** [January 2, 2020, 1:21pm UTC](https://discuss.elastic.co/t/es-and-kibana-install-x-pack/213579 "2020-01-02T13:21:11Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ZY2zZ](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/zy2zz/32/60160_2.png) [@ZY2zZ](https://discuss.elastic.co/u/ZY2zZ)\
**Post date:** [January 2, 2020, 1:21pm UTC](https://discuss.elastic.co/t/es-and-kibana-install-x-pack/213579/1 "2020-01-02T13:21:11Z")

</div>

hi,I encountered a problem，i had installed x-pack on es and kibana,but it dosen't work(there is not a login page but i can still use es and kibana normally).I had added 'xpack.security.enabled: true' to the elasticsearch.yml,but it is useless.All versions are 5.5.3.  
What's more,when the es starting,the log printed the fllowing error:

```
> [2020-01-02T15:18:26,494][ERROR][o.e.x.m.c.n.NodeStatsCollector] [node-1] collector [node-stats] failed to collect data
> java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
> at java.util.ArrayList.rangeCheck(ArrayList.java:657) ~[?:1.8.0_231]
> at java.util.ArrayList.get(ArrayList.java:433) ~[?:1.8.0_231]
> at org.elasticsearch.xpack.monitoring.collector.node.NodeStatsCollector.doCollect(NodeStatsCollector.java:83) ~[x-pack-5.5.3.jar:5.5.3]
> at org.elasticsearch.xpack.monitoring.collector.Collector.collect(Collector.java:83) [x-pack-5.5.3.jar:5.5.3]
> at org.elasticsearch.xpack.monitoring.MonitoringService$MonitoringExecution$1.doRun(MonitoringService.java:195) [x-pack-5.5.3.jar:5.5.3]
> at org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:37) [elasticsearch-5.5.3.jar:5.5.3]
> at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_231]
> at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_231]
> at org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingRunnable.run(ThreadContext.java:569) [elasticsearch-5.5.3.jar:5.5.3]
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_231]
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_231]
> at java.lang.Thread.run(Thread.java:748) [?:1.8.0_231]
> [2020-01-02T15:18:30,771][INFO][o.e.t.TransportService] [node-1] publish_address {192.168.16.128:9300}, bound_addresses {192.168.16.128:9300}

```

What should i do，thank you very much.

---

<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 30, 2020, 1:21pm UTC](https://discuss.elastic.co/t/es-and-kibana-install-x-pack/213579/2 "2020-01-30T13:21:15Z")

</div>

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