Unable to update X-pack licensing (Elastic version 5.0)

I issue a command below to update xpack license (security, graph, watcher are disabled - i am just using monitoring)
curl -XPUT 'http://localhost:9200/_xpack/license?acknowledge=true' -H 'Content-Type: application/json' -d @/etc/x-pack/license.json

I get the error below
{"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}

xpack is installed i verified it by going to http://localhost:9200 (security, graph, watcher are disabled)

{
"build": {
"hash": "7763f8e",
"date": "2016-10-26T04:51:59.202Z"
},
"license": null,
"features": {
"graph": {
"description": "Graph Data Exploration for the Elastic Stack",
"available": true,
"enabled": false
},
"monitoring": {
"description": "Monitoring for the Elastic Stack",
"available": true,
"enabled": true
},
"security": {
"description": "Security for the Elastic Stack",
"available": true,
"enabled": false
},
"watcher": {
"description": "Alerting, Notification and Automation for the Elastic Stack",
"available": true,
"enabled": false
}
},
"tagline": "You know, for X"
}

2.x license no same ass 5.x.

i am using 5.x license only not 2.x - might not be related to this.

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