Problem installing X-pack


(Venkata Sreekanth Bhagavatula) #1

I am trying to install x-pack offline. I don't know why it is failing. I put the same url in the browser and it downloaded the file.

D:\kibana-5.1.2-windows-x86\bin>kibana-plugin.bat install file:///D:/x-pack-5.1.
2.zip
Attempting to transfer from file:///D:/x-pack-5.1.2.zip
Error: ENOTFOUND
Attempting to transfer from https://artifacts.elastic.co/downloads/kibana-plugin
s/file:///D:/x-pack-5.1.2.zip/file:///D:/x-pack-5.1.2.zip-5.1.2.zip
Plugin installation was unsuccessful due to error "No valid url specified."


(Luca Wintergerst) #2

Hello,
the problem is most likely that for Kibana you only need two slashes after file:

Let me know if this works for you. I just noticed that our docs do not reflect this, so we'll change it as soon as possible.

Luca


(Venkata Sreekanth Bhagavatula) #3

It worked thanks


(Venkata Sreekanth Bhagavatula) #4

After installing xpack and starting kibana. I cannot access kibana anymore. The logs show
log [20:15:03.362] [warning][license][xpack] License information could not b
e obtained from Elasticsearch. [illegal_argument_exception] No endpoint or opera
tion is available at [_xpack] :: {"path":"/_xpack","statusCode":400,"response":"
{"error":{"root_cause":[{"type":"illegal_argument_exception","reason":
"No endpoint or operation is available at [_xpack]"}],"type":"illegal_argum
ent_exception","reason":"No endpoint or operation is available at [_xpack]"
},"status":400}"}
Unhandled rejection [illegal_argument_exception] No endpoint or operation is ava
ilable at [_xpack] :: {"path":"/_xpack","statusCode":400,"response":"{"error":
{"root_cause":[{"type":"illegal_argument_exception","reason":"No endpoi
nt or operation is available at [_xpack]"}],"type":"illegal_argument_excepti
on","reason":"No endpoint or operation is available at [_xpack]"},"status
":400}"}
at respond (D:\kibana-5.1.2-windows-x86\node_modules\elasticsearch\src\lib\t
ransport.js:289:15)
at checkRespForFailure (D:\kibana-5.1.2-windows-x86\node_modules\elasticsear
ch\src\lib\transport.js:248:7)
at HttpConnector. (D:\kibana-5.1.2-windows-x86\node_modules\elast
icsearch\src\lib\connectors\http.js:164:7)
at IncomingMessage.wrapper (D:\kibana-5.1.2-windows-x86\node_modules\elastic
search\node_modules\lodash\lodash.js:4968:19)
at emitNone (events.js:91:20)
at IncomingMessage.emit (events.js:185:7)
at endReadableNT (_stream_readable.js:974:12)
at _combinedTickCallback (internal/process/next_tick.js:74:11)
at process._tickDomainCallback (internal/process/next_tick.js:122:9)


(Luca Wintergerst) #5

It looks like you did not install x-pack in Elasticsearch, but only in Kibana.

Install it in Elasticsearch as well and restart Elasticsearch. The command should be almost identical. It could be that you do need three slashes for the path here


(Venkata Sreekanth Bhagavatula) #6

fixed this after re-starting elastic search


(system) #7

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