Failed to install kibana 7.17.2 on Amazon Linux 2

I I downloaded kibana 7.17.2 as rpm package.

Unfortunately, when trying to run it, it fails with those errors:

~ $ sudo /usr/share/kibana/bin/kibana
/usr/share/kibana/bin/../node/bin/node: /lib/libstdc++.so.6: version `GLIBCXX_3.4.14' not found (required by /usr/share/kibana/bin/../node/bin/node)
/usr/share/kibana/bin/../node/bin/node: /lib/libstdc++.so.6: version `GLIBCXX_3.4.18' not found (required by /usr/share/kibana/bin/../node/bin/node)
/usr/share/kibana/bin/../node/bin/node: /lib/libstdc++.so.6: version `CXXABI_1.3.5' not found (required by /usr/share/kibana/bin/../node/bin/node)
/usr/share/kibana/bin/../node/bin/node: /lib/libstdc++.so.6: version `GLIBCXX_3.4.15' not found (required by /usr/share/kibana/bin/../node/bin/node)

This is the system where it fails:

~ $ lsb_release -a
LSB Version:    :core-4.1-amd64:core-4.1-noarch
Distributor ID: Amazon
Description:    Amazon Linux release 2 (Karoo)
Release:        2
Codename:       Karoo
~ $ uname -a
Linux cal0661ca036 4.14.248-189.473.amzn2.x86_64 #1 SMP Mon Sep 27 05:52:26 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
~ $ cat /etc/os-release
	NAME="Amazon Linux"
	VERSION="2"
	ID="amzn"
	ID_LIKE="centos rhel fedora"
	VERSION_ID="2"
	PRETTY_NAME="Amazon Linux 2"
	ANSI_COLOR="0;33"
	CPE_NAME="cpe:2.3:o:amazon:amazon_linux:2"
	HOME_URL="https://amazonlinux.com/"

According to my research Amazon Linux 2 should be based on CentOS7 and that one should be still supported according to the product matrix: Unterstützungsmatrix | Elastic

So what to do?

Thanks,
Chris

Hi @chrisbra ,

Could you confirm which glibc version you have currently installed? I believe you need 2.28+ to use the version of node shipped there.

Meanwhile I've created a Github issue to proper investigate and track this: Kibana 7.17.2 rpm install fails on Amazon Linux 2 · Issue #130813 · elastic/kibana · GitHub

Cheers

Thanks, I'll check the referenced issue as well.

Here is the information regarding glibc which I can provide:

[root@cal0661ca036 prometheus]# ldd --version
ldd (GNU libc) 2.26
Copyright (C) 2017 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Written by Roland McGrath and Ulrich Drepper.
[root@cal0661ca036 prometheus]# rpm -q glibc
glibc-2.26-54.amzn2.x86_64
glibc-2.26-54.amzn2.i686

Interestingly, I just spin up another AWS instance and cannot reproduce it there with same kernel and glibc version, but I do not really know what kind of an AMI image the customer has been using.

Thanks,
Chris

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