Kibana-4.4.1 installation issue


(subodh kant) #1

Hello,

I am trying to install ELK. I have already installed “elasticsearch-2.2.0” and “logstash-2.2.2” and both working fine for me. I am installing on RHEL7.1.

Now I am trying to install “kibana-4.4.1”. But I am getting below error. Can you please help me on this.
Error:-
……………………………………………………………..
[root@VCCDBLDCM24 kibana-4.4.1-linux-x64]# ./bin/kibana
module.js:341
throw err;
^

Error: Cannot find module './$.array-species-create'
at Function.Module._resolveFilename (module.js:339:15)
at Function.Module._load (module.js:290:25)
at Module.require (module.js:367:17)
at require (internal/module.js:16:19)
at Object. (/root/elk-files/kibana-4.4.1-linux-x64/kibana-4.4.1-linux-x64/node_modules/babel-core/node_modules/core-js/modules/$.array-methods.js:12:16)
at Module._compile (module.js:413:34)
at Object.Module._extensions..js (module.js:422:10)
at Module.load (module.js:357:32)
at Function.Module._load (module.js:314:12)
at Module.require (module.js:367:17)
……………………………………………………………..

I have install latest node js “node-v5.7.1”.

[root@VCCDBLDCM24 kibana-4.4.1-linux-x64]# node -v
v5.7.1
[root@VCCDBLDCM24 kibana-4.4.1-linux-x64]# npm -v
3.6.0

Thanks
Subodh.


(Court Ewing) #2

Did you install Kibana via the official download, or are you trying to run it from the git source? The official releases of Kibana come bundled with the appropriate version of node, so you don't need to set it up yourself.

Kibana 4.4.1 comes bundled with 0.12.10.


(subodh kant) #3

Hello,

I am installing Kibana via the official download. When I was installing kibana without installing NodeJs, I was getting this error "unable to find usable node.js executable.".

Then I install nodejs "0.12.10", I was getting the same error "Error: Cannot find module './$.array-species-create'".

Then I installed nodejs v5.7.1, but error was same.

Is there any rpm available for kibana?

Subodh


(Court Ewing) #4

The official download of Kibana comes with node.js, so if it can't find the binary, there is a problem. I'd recommend working on finding a solution to that problem first.

In your official download, can you provide the output of:

./node/bin/node -v


(subodh kant) #5

Hello,

There is no bin directory in node.

[root@VCCDBLDCM24 kibana-4.4.1-linux-x64]# ./node/bin/node -v
-bash: ./node/bin/node: No such file or directory

[root@VCCDBLDCM24 kibana-4.4.1-linux-x64]# ls ./node/
lib

Subodh


(subodh kant) #6

Hello,

And "npm" is avalable.

[root@VCCDBLDCM24 kibana-4.4.1-linux-x64]# cd lib/
[root@VCCDBLDCM24 lib]# ls
node_modules
[root@VCCDBLDCM24 lib]# cd node_modules/
[root@VCCDBLDCM24 node_modules]# ls
npm
[root@VCCDBLDCM24 node_modules]# npm -v
3.6.0

Subodh


(subodh kant) #7

Hello,

Please help on this. Not able to move at all.

Thanks
Subodh


(subodh kant) #8

Hello,

Anybody, please help me.

Thanks
Subodh


(Court Ewing) #9

Where did you download Kibana from? It sounds like whatever you downloaded is completely broken.


(subodh kant) #10

Hello Court,

I have downloaded from "https://www.elastic.co/downloads/kibana" LINUX 64-BIT .

Is there any other option to download?

Or is rpm is available for kibana?

Please help me.
Subodh


(Court Ewing) #11

That's the correct place, though it sounds like you only got a partial archive. I'd recommend downloading it again and making sure to verify the sha of the file to make sure you got the file we uploaded in entirety.

Kibana is also available via apt or yum: https://www.elastic.co/guide/en/kibana/current/setup.html#setup-repositories


(subodh kant) #12

Yeah, you are right :slightly_smiling:

I downloaded again and that works fine.

Thanks a lot
Subodh


(system) #13