Can't run ./bin/kibana on ubuntu 14

假装没事ソ 提交于 2019-12-08 06:48:10

问题


I try to install Kibana 4 on Ubuntu 14.10 but whe i run ./bin/kibana, I have many error :

./../node/bin/node: 1: ./../node/bin/node:ELF: not found ./../node/bin/node: 2: ./../node/bin/node: W: not found ./../node/bin/node: 2: ./../node/bin/node: -NE: not found ./../node/bin/node: 4: ./../node/bin/node: Syntax error: "(" unexpected

Java 8, Elasticsearch and nodejs are installed,

Can you help me please ? Thanks.


回答1:


This problem occurs if the wrong architecture is used. E.g.

I first downloaded and installed "kibana-4*-linux-x64.tar.gz" blindly following a tutorial, while "uname -a" displayed :

"Linux xubuntu-VirtualBox 3.2.0-90-generic #128-Ubuntu SMP Fri Aug 14 21:44:10 UTC 2015 i686 i686 i386 GNU/Linux"

After replacing the kibana installation with the 32-bit version, everything worked fine.




回答2:


This can be easily solved using below steps

  • Install nodejs, npm (nodejs has arm repositories)
  • Dowload kibana binary and extract it
  • change node path in bin/kibana to NODE=/usr/bin/nodejs

Node path can be found by which node command



来源:https://stackoverflow.com/questions/28781718/cant-run-bin-kibana-on-ubuntu-14

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!