Peter_Boer
(Peter Boer)
December 1, 2017, 3:05pm
1
When installing the licence using:
curl -XPUT -u elastic 'http://:/_xpack/license' -H "Content-Type: application/json" -d @license.json
I get this error:
{"error":"Incorrect HTTP method for uri [/_xpack/license] and method [PUT], allowed: [POST]","status":405}
Should I modify a specific file sothat I can use the PUT methode? What am I missing here?
I am using Elastic Stack 6.0
ikakavas
(Ioannis Kakavas)
December 1, 2017, 3:57pm
2
Hi,
Indeed strange, as PUT is the correct verb
Can you please share the output of
curl -XGET http://<host>:<port> -u elastic
and
curl -XGET http://<host>:<port>/_cat/plugins?v -u elastic
TimV
(Tim Vernum)
December 1, 2017, 9:22pm
3
It looks like you have not installed the X-Pack plugin on the server, or you didn't restart the node after installation.
Running the commands that @ikakavas recommended should confirm that.
system
(system)
Closed
December 29, 2017, 9:22pm
4
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.