Kibana and Solaris

May be it's very easy question, but i'm still stupid :smile: . We're trying to install Kibana(v.4.1.0) on Solaris 10 and have an error:

./bin/kibana: /u/user/kibana-4.1.0/node/bin/node: cannot execute

Something about our Solaris:

#uname -a
SunOS -s 5.10 Generic_150400-18 sun4v sparc sun4v
#isainfo -k
sparcv9
#file /node/bin/node
node/bin/node:          ELF 64-bit LSB executable AMD64 Version 1, dynamically linked, not stripped

What's wrong? Can you suggest a solution for our little problem?
Thanks.
P.S.: sorry for my English)

Did you build Kibana 4.1 from source to run on Solaris? I don't believe Solaris is currently officially supported with any of the shipping binaries: https://github.com/elastic/kibana/issues/4025

We just downloaded linux-archive with kibana. Big thanks for the answer

Or may be my understanding of your question was wrong :flushed:

But a Linux/x86-64 binary won't work on Solaris/SPARC. You'll have to replace the Node.js distribution with one that runs on Solaris/SPARC.

1 Like

Hello @magnusbaeck /@Voldemar,

Is there any solution . do we have this build hosted somewhere from where it can be downloaded

Thanks,
Yukti

Well, Node.js is available for Solaris. I haven't tested it, but I don't see why it wouldn't be possible to patch a Solaris distribution of Node.js into a Kibana distribution (replacing the existing x86 one) and have it run.

Hi @magnusbaeck http://discuss.elastic.co/users/magnusbaeck /@Voldemar
http://discuss.elastic.co/users/voldemar,

Possible to detail steps for building platform specific build

Thanks,
Yukti

Just wanted to clean this up, for anyone else wanting to run Kibana on Solaris.

Using SPARC isn't going to work; Node.js doesn't run on SPARC, and that's very unlikely to change.

It's possible to run Kibana on Solaris (x86) if you download one of the Linux builds and then delete the node directory and slot in a Solaris build of Node.js.

(As of today, the version is v4.4.7 - it would be nice if the downloads mentioned which version of Node they bundle.)

If you're on a reasonably current illumos, then the binary SunOS downloads on the nodejs site will work.

If you're on Solaris 10 or 11 (and remember, has to be x86 not sparc) then I have some builds available here that might help:

http://petertribble.co.uk/Solaris/node.html

Thank's Peter for the binaries. Just wanted to clarify, that you can easily find out the bundled Node.js version in node/CHANGELOG.md