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

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

"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:

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

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

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

Archana (a5a)

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 :frowning:

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

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

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

1 Like

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