问题
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
toNODE=/usr/bin/nodejs
Node path can be found by
which node
command
来源:https://stackoverflow.com/questions/28781718/cant-run-bin-kibana-on-ubuntu-14