Netdata Community

netdata-installer.sh exited with error (CentOS 6.8)

[root@host ~]# cat /etc/centos-release
CentOS release 6.8 (Final)
[root@host ~]# uname -a
Linux host 2.6.32-642.el6.x86_64 #1 SMP Tue May 10 17:27:01 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

Using current ./kickstart.sh

[root@host ~]# ./kickstart.sh
System            : Linux
Operating System  : GNU/Linux
Machine           : x86_64
BASH major version:
 --- Fetching script to detect required packages... ---
[/tmp/netdata-kickstart-Z3HN34Dxxf]# curl -q -sSL --connect-timeout 10 --retry 3 --output /tmp/netdata-kickstart-Z3HN34Dxxf/install-required-packages.sh https://raw.githubusercontent.com/netdata/netdata/master/packaging/installer/install-required-packages.sh  OK

 --- Running downloaded script to detect required packages... ---
[/tmp/netdata-kickstart-Z3HN34Dxxf]# /bin/bash /tmp/netdata-kickstart-Z3HN34Dxxf/install-required-packages.sh netdata Cannot find an os-release file ...
Cannot find valid distribution with lsb-release
Loading /etc/centos-release ...
 > CentOS Version: 6.8 ...
 > Detected CentOS 6.x ...
 > Checking for Okay ...

We detected these:
Distribution    : CentOS
Version         : 6.8
Codename        : Final
Package Manager : install_yum
Packages Tree   : centos
Detection Method: /etc/centos-release
Default Python v: 2 (will install python3 too)

Searching for distro_sdk ...
Searching for autoconf_archive ...
WARNING
package autoconf-archive is not available in this system.
You may try to install without it.

Searching for autogen ...
WARNING
package autogen is not available in this system.
You may try to install without it.

Searching for libz_dev ...
 > Checking if package 'zlib-devel' is installed...
Searching for libuuid_dev ...
 > Checking if package 'libuuid-devel' is installed...
Searching for libmnl_dev ...
 > Checking if package 'libmnl-devel' is installed...
Searching for json_c_dev ...
 > Checking if package 'json-c-devel' is installed...
Searching for libuv ...
 > Checking if package 'libuv-devel' is installed...
Searching for lz4 ...
 > Checking if package 'lz4-devel' is installed...
Searching for openssl ...
 > Checking if package 'openssl-devel' is installed...
Searching for judy ...
Searching for libelf ...
 > Checking if package 'elfutils-libelf-devel' is installed...
Searching for python3 ...
WARNING
package python3 is not available in this system.
You may try to install without it.


All required packages are already installed. Now proceed to the next step.

But fails while compiling. Full output: netdata_install.log · GitHub

EPEL and OKay repos are enabled.

[root@host ~]# yum install autoconf automake curl gcc git libmnl-devel libuuid-devel openssl-devel libuv-devel lz4-devel Judy-devel elfutils-libelf-devel make nc pkgconfig python zlib-devel cmake
Loaded plugins: fastestmirror
Setting up Install Process
Loading mirror speeds from cached hostfile
Package autoconf-2.69-12.el6.noarch already installed and latest version
Package automake-1.14-1.el6.x86_64 already installed and latest version
Package curl-7.29.0-46.el6.x86_64 already installed and latest version
Package gcc-4.4.7-17.el6.x86_64 already installed and latest version
Package git-1.7.1-4.el6_7.1.x86_64 already installed and latest version
Package libmnl-devel-1.0.2-3.el6.x86_64 already installed and latest version
Package libuuid-devel-2.17.2-12.24.el6_8.3.x86_64 already installed and latest version
Package openssl-devel-1.0.1e-48.el6_8.4.x86_64 already installed and latest version
Package 1:libuv-devel-1.9.1-4.el6.x86_64 already installed and latest version
Package lz4-devel-r131-1.el6.x86_64 already installed and latest version
Package Judy-devel-1.0.5-1.el6.x86_64 already installed and latest version
Package elfutils-libelf-devel-0.164-2.el6.x86_64 already installed and latest version
Package 1:make-3.81-23.el6.x86_64 already installed and latest version
Package nc-1.84-24.el6.x86_64 already installed and latest version
Package 1:pkgconfig-0.23-9.1.el6.x86_64 already installed and latest version
Package python-2.6.6-66.el6_8.x86_64 already installed and latest version
Package zlib-devel-1.2.3-29.el6.x86_64 already installed and latest version
Package cmake-2.8.12.2-4.el6.x86_64 already installed and latest version

Any ideas?

Hey @DJM0 , I’d like to confirm that our engineers are looking into your question and will follow up soon.
I’ve noticed you are on an older CentOS version, which may cause some issues. Is there any particular reason you cannot move to a newer version?

Thanks. Yes, it’s an older version of CentOS now. They are a client’s servers so I don’t have much control over them. I wouldn’t have expected it to work honestly, but it was working fine a couple of months ago. I had to reinstall to get cloud support and this is when it failed, I then tried to uninstall and reinstall fresh but can’t. So the other servers are stuck on a slightly older version of Netdata which works, but with no cloud support.

Hey @DJM0, sorry for the belated answer.
I think that installing the kickstart-static64 would resolve the issue.
Could you please try that out and let me know how this works for you?