# Error when installing basic license for x-pack on ES 5.6.2

**URL:** https://discuss.elastic.co/t/error-when-installing-basic-license-for-x-pack-on-es-5-6-2/103731
**Category:** Elasticsearch
**Created:** [October 12, 2017, 1:22pm UTC](https://discuss.elastic.co/t/error-when-installing-basic-license-for-x-pack-on-es-5-6-2/103731 "2017-10-12T13:22:09Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![moriol](https://avatars.discourse-cdn.com/v4/letter/m/439d5e/32.png) [@moriol](https://discuss.elastic.co/u/moriol)
#### Post date: [October 12, 2017, 1:22pm UTC](https://discuss.elastic.co/t/error-when-installing-basic-license-for-x-pack-on-es-5-6-2/103731/1 "2017-10-12T13:22:10Z")

</div>

I get the following when trying to install x-pack on ES 5.6.2

```auto
"error":{"root_cause":[{"type":"action_not_found_transport_exception","reason":"No handler for action [cluster:admin/xpack/license/put]"}],"type":"action_not_found_transport_exception","reason":"No handler for action [cluster:admin/xpack/license/put]"},"status":500}

```

I used the following command:

```auto
curl -XPUT -u elastic 'http://localhost:9200/_xpack/license?acknowledge=true' -H "Content-Type: application/json" -d @license.json

```

I moved my license to license.json file

---

<div class="post-metadata">

### Author: ![a5a](https://avatars.discourse-cdn.com/v4/letter/a/a87d85/32.png) [@a5a](https://discuss.elastic.co/u/a5a)
#### Post date: [October 20, 2017, 7:36pm UTC](https://discuss.elastic.co/t/error-when-installing-basic-license-for-x-pack-on-es-5-6-2/103731/2 "2017-10-20T19:36:40Z")

</div>

Hi Olga,

This looks like x-pack is not installed correctly. Can you double check the installation? Maybe you need to stop/restart elasticsearch.

Can you also check the output of

```auto
curl -XGET http://localhost:9200/_cat/plugins?v

```

Archana (a5a)

---

<div class="post-metadata">

### Author: ![rschirin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rschirin/32/45283_2.png) [@rschirin](https://discuss.elastic.co/u/rschirin)
#### Post date: [October 23, 2017, 5:20pm UTC](https://discuss.elastic.co/t/error-when-installing-basic-license-for-x-pack-on-es-5-6-2/103731/3 "2017-10-23T17:20:07Z")

</div>

Hi Olga  
I had the same error and since I was in a cluster infrastructure I have restarted services on every nodes.  
after that, using

```
curl -XGET http://localhost:9200/_cat/plugins?v

```

I was able to see the x-pack plugin installed.  
so it is a step forward. unfortunately, not enough to make it works ☹

---

<div class="post-metadata">

### Author: ![moriol](https://avatars.discourse-cdn.com/v4/letter/m/439d5e/32.png) [@moriol](https://discuss.elastic.co/u/moriol)
#### Post date: [October 26, 2017, 3:11pm UTC](https://discuss.elastic.co/t/error-when-installing-basic-license-for-x-pack-on-es-5-6-2/103731/4 "2017-10-26T15:11:41Z")

</div>

I am in clustered environment as well, so this might be a step forward. Thank you for your response.

---

<div class="post-metadata">

### Author: ![rschirin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rschirin/32/45283_2.png) [@rschirin](https://discuss.elastic.co/u/rschirin)
#### Post date: [October 27, 2017, 6:53pm UTC](https://discuss.elastic.co/t/error-when-installing-basic-license-for-x-pack-on-es-5-6-2/103731/5 "2017-10-27T18:53:07Z")

</div>

remember also to add the standard username in your kibana configuration file.

---

<div class="post-metadata">

### Author: ![a5a](https://avatars.discourse-cdn.com/v4/letter/a/a87d85/32.png) [@a5a](https://discuss.elastic.co/u/a5a)
#### Post date: [October 31, 2017, 5:37pm UTC](https://discuss.elastic.co/t/error-when-installing-basic-license-for-x-pack-on-es-5-6-2/103731/7 "2017-10-31T17:37:11Z")

</div>

Can you make sure you have x-pack installed on all nodes in your cluster?

---

<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: [November 28, 2017, 5:37pm UTC](https://discuss.elastic.co/t/error-when-installing-basic-license-for-x-pack-on-es-5-6-2/103731/8 "2017-11-28T17:37:22Z")

</div>

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