Author Topic: Faild Install last Version Netdata in CWP (Control Web Pannel) Centos 7  (Read 2505 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Hi Team,
unfortunately, the latest version of Netdata is not installed
I was able to check the log file and this information is there
https://github.com/netdata/netdata/issues/15079

I have done this many times before, but in the latest version, after clicking on NetData installation, the page refreshes, and the software is not installed.
FYI:
Only the NetData folder is created in the following two directories
/run/netdata
/usr/local/src/netdata
BR

Code: [Select]
System Info:
Linux localhost.localdomain 3.10.0-1160.90.1.el7.x86_64 0000001 SMP Thu May 4 15:21:22 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
/etc/centos-release:CentOS Linux release 7.9.2009 (Core)
/etc/os-release:NAME="CentOS Linux"
/etc/os-release:VERSION="7 (Core)"
/etc/os-release:ID="centos"
/etc/os-release:ID_LIKE="rhel fedora"
/etc/os-release:VERSION_ID="7"
/etc/os-release:PRETTY_NAME="CentOS Linux 7 (Core)"
/etc/os-release:ANSI_COLOR="0;31"
/etc/os-release:CPE_NAME="cpe:/o:centos:centos:7"
/etc/os-release:
/etc/os-release:CENTOS_MANTISBT_PROJECT="CentOS-7"
/etc/os-release:CENTOS_MANTISBT_PROJECT_VERSION="7"
/etc/os-release:REDHAT_SUPPORT_PRODUCT="centos"
/etc/os-release:REDHAT_SUPPORT_PRODUCT_VERSION="7"
/etc/os-release:
/etc/redhat-release:CentOS Linux release 7.9.2009 (Core)
/etc/system-release:CentOS Linux release 7.9.2009 (Core)

Code: [Select]
Log File:
# Fri May 19 23:47:50 +0330 2023
CFLAGS="-O2 -pipe" LDFLAGS="" ./netdata-installer.sh--disable-cloud--dont-wait
[root /usr/local/src/netdata]# /usr/bin/curl -q -sSL --connect-timeout 10 --retry 3 --output /tmp/netdata-protobuf-yCLH2G/protobuf-cpp-3.19.4.tar.gz https://github.com/protocolbuffers/protobuf/releases/download/v3.19.4/protobuf-cpp-3.19.4.tar.gz ... OK
[root /usr/local/src/netdata]# tar --no-same-owner -xf /tmp/netdata-protobuf-yCLH2G/protobuf-cpp-3.19.4.tar.gz -C /tmp/netdata-protobuf-yCLH2G ... OK
[root /usr/local/src/netdata]# mkdir -p /usr/local/src/netdata/externaldeps/protobuf ... OK
[root /usr/local/src/netdata]# cp -a /tmp/netdata-protobuf-yCLH2G/protobuf-3.19.4/src /usr/local/src/netdata/externaldeps/protobuf ... OK
[root /usr/local/src/netdata]# /usr/bin/curl -q -sSL --connect-timeout 10 --retry 3 --output /tmp/netdata-libbpf-ZX7cGg/v0.0.9_netdata-1.tar.gz https://github.com/netdata/libbpf/archive/v0.0.9_netdata-1.tar.gz ... OK
[root /usr/local/src/netdata]# tar --no-same-owner -xf /tmp/netdata-libbpf-ZX7cGg/v0.0.9_netdata-1.tar.gz -C /tmp/netdata-libbpf-ZX7cGg ... OK
[root /usr/local/src/netdata]# mkdir -p /usr/local/src/netdata/externaldeps/libbpf ... OK
[root /usr/local/src/netdata]# cp /tmp/netdata-libbpf-ZX7cGg/libbpf-0.0.9_netdata-1/usr/lib64/libbpf.a /usr/local/src/netdata/externaldeps/libbpf/libbpf.a ... OK
[root /usr/local/src/netdata]# cp -r /tmp/netdata-libbpf-ZX7cGg/libbpf-0.0.9_netdata-1/usr/include /usr/local/src/netdata/externaldeps/libbpf ... OK
[root /usr/local/src/netdata]# cp -r /tmp/netdata-libbpf-ZX7cGg/libbpf-0.0.9_netdata-1/include/uapi /usr/local/src/netdata/externaldeps/libbpf/include ... OK
[root /usr/local/src/netdata]# /usr/bin/curl -q -sSL --connect-timeout 10 --retry 3 --output /tmp/netdata-ebpf-co-re-zHj15y/netdata-ebpf-co-re-glibc-v1.1.2.tar.xz https://github.com/netdata/ebpf-co-re/releases/download/v1.1.2/netdata-ebpf-co-re-glibc-v1.1.2.tar.xz ... OK
[root /usr/local/src/netdata]# tar --no-same-owner -xf /tmp/netdata-ebpf-co-re-zHj15y/netdata-ebpf-co-re-glibc-v1.1.2.tar.xz -C /tmp/netdata-ebpf-co-re-zHj15y ... OK
[root /usr/local/src/netdata]# git fetch -t ... OK
[root /usr/local/src/netdata]# autoreconf -ivf ... OK
[root /usr/local/src/netdata]# ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --libexecdir=/usr/libexec --libdir=/usr/lib --with-zlib --with-math --with-user=netdata --disable-cloud --with-bundled-protobuf CFLAGS=-O2 -pipe LDFLAGS= ... OK
[root /usr/local/src/netdata]# make clean ... FAILED with exit code 2
[root /usr/local/src/netdata]# make -j32 ... FAILED with exit code 2

Log File When Run Is scripts:
/scripts/install_netdata


Code: [Select]
--- Cleanup compilation directory ---
[/usr/local/src/netdata]# make clean
Makefile:6085: httpd/h2o/deps/cloexec/.deps/libh2o_a-cloexec.Po: No such file or directory
Makefile:6086: httpd/h2o/deps/libgkc/.deps/libh2o_a-gkc.Po: No such file or directory
Makefile:6087: httpd/h2o/deps/libyrmcds/.deps/libh2o_a-close.Po: No such file or directory
Makefile:6088: httpd/h2o/deps/libyrmcds/.deps/libh2o_a-connect.Po: No such file or directory
Makefile:6089: httpd/h2o/deps/libyrmcds/.deps/libh2o_a-recv.Po: No such file or directory
Makefile:6090: httpd/h2o/deps/libyrmcds/.deps/libh2o_a-send.Po: No such file or directory
Makefile:6091: httpd/h2o/deps/libyrmcds/.deps/libh2o_a-send_text.Po: No such file or directory
Makefile:6092: httpd/h2o/deps/libyrmcds/.deps/libh2o_a-socket.Po: No such file or directory
Makefile:6093: httpd/h2o/deps/libyrmcds/.deps/libh2o_a-strerror.Po: No such file or directory
Makefile:6094: httpd/h2o/deps/libyrmcds/.deps/libh2o_a-text_mode.Po: No such file or directory
Makefile:6095: httpd/h2o/deps/picohttpparser/.deps/libh2o_a-picohttpparser.Po: No such file or directory
Makefile:6096: httpd/h2o/lib/.deps/libh2o_a-http1.Po: No such file or directory
Makefile:6097: httpd/h2o/lib/.deps/libh2o_a-tunnel.Po: No such file or directory
Makefile:6098: httpd/h2o/lib/common/.deps/libh2o_a-cache.Po: No such file or directory
Makefile:6099: httpd/h2o/lib/common/.deps/libh2o_a-file.Po: No such file or directory
Makefile:6100: httpd/h2o/lib/common/.deps/libh2o_a-filecache.Po: No such file or directory
Makefile:6101: httpd/h2o/lib/common/.deps/libh2o_a-hostinfo.Po: No such file or directory
Makefile:6102: httpd/h2o/lib/common/.deps/libh2o_a-http1client.Po: No such file or directory
Makefile:6103: httpd/h2o/lib/common/.deps/libh2o_a-memcached.Po: No such file or directory
Makefile:6104: httpd/h2o/lib/common/.deps/libh2o_a-memory.Po: No such file or directory
Makefile:6105: httpd/h2o/lib/common/.deps/libh2o_a-multithread.Po: No such file or directory
Makefile:6106: httpd/h2o/lib/common/.deps/libh2o_a-serverutil.Po: No such file or directory
Makefile:6107: httpd/h2o/lib/common/.deps/libh2o_a-socket.Po: No such file or directory
Makefile:6108: httpd/h2o/lib/common/.deps/libh2o_a-socketpool.Po: No such file or directory
Makefile:6109: httpd/h2o/lib/common/.deps/libh2o_a-string.Po: No such file or directory
Makefile:6110: httpd/h2o/lib/common/.deps/libh2o_a-time.Po: No such file or directory
Makefile:6111: httpd/h2o/lib/common/.deps/libh2o_a-timeout.Po: No such file or directory
Makefile:6112: httpd/h2o/lib/common/.deps/libh2o_a-url.Po: No such file or directory
Makefile:6113: httpd/h2o/lib/core/.deps/libh2o_a-config.Po: No such file or directory
Makefile:6114: httpd/h2o/lib/core/.deps/libh2o_a-configurator.Po: No such file or directory
Makefile:6115: httpd/h2o/lib/core/.deps/libh2o_a-context.Po: No such file or directory
Makefile:6116: httpd/h2o/lib/core/.deps/libh2o_a-headers.Po: No such file or directory
Makefile:6117: httpd/h2o/lib/core/.deps/libh2o_a-logconf.Po: No such file or directory
Makefile:6118: httpd/h2o/lib/core/.deps/libh2o_a-proxy.Po: No such file or directory
Makefile:6119: httpd/h2o/lib/core/.deps/libh2o_a-request.Po: No such file or directory
Makefile:6120: httpd/h2o/lib/core/.deps/libh2o_a-token.Po: No such file or directory
Makefile:6121: httpd/h2o/lib/core/.deps/libh2o_a-util.Po: No such file or directory
Makefile:6122: httpd/h2o/lib/handler/.deps/libh2o_a-access_log.Po: No such file or directory
Makefile:6123: httpd/h2o/lib/handler/.deps/libh2o_a-chunked.Po: No such file or directory
Makefile:6124: httpd/h2o/lib/handler/.deps/libh2o_a-compress.Po: No such file or directory
Makefile:6125: httpd/h2o/lib/handler/.deps/libh2o_a-errordoc.Po: No such file or directory
Makefile:6126: httpd/h2o/lib/handler/.deps/libh2o_a-expires.Po: No such file or directory
Makefile:6127: httpd/h2o/lib/handler/.deps/libh2o_a-fastcgi.Po: No such file or directory
Makefile:6128: httpd/h2o/lib/handler/.deps/libh2o_a-file.Po: No such file or directory
Makefile:6129: httpd/h2o/lib/handler/.deps/libh2o_a-headers.Po: No such file or directory
Makefile:6130: httpd/h2o/lib/handler/.deps/libh2o_a-headers_util.Po: No such file or directory
Makefile:6131: httpd/h2o/lib/handler/.deps/libh2o_a-http2_debug_state.Po: No such file or directory
Makefile:6132: httpd/h2o/lib/handler/.deps/libh2o_a-mimemap.Po: No such file or directory
Makefile:6133: httpd/h2o/lib/handler/.deps/libh2o_a-proxy.Po: No such file or directory
Makefile:6134: httpd/h2o/lib/handler/.deps/libh2o_a-redirect.Po: No such file or directory
Makefile:6135: httpd/h2o/lib/handler/.deps/libh2o_a-reproxy.Po: No such file or directory
Makefile:6136: httpd/h2o/lib/handler/.deps/libh2o_a-status.Po: No such file or directory
Makefile:6137: httpd/h2o/lib/handler/.deps/libh2o_a-throttle_resp.Po: No such file or directory
Makefile:6138: httpd/h2o/lib/handler/compress/.deps/libh2o_a-gzip.Po: No such file or directory
Makefile:6139: httpd/h2o/lib/handler/configurator/.deps/libh2o_a-access_log.Po: No such file or directory
Makefile:6140: httpd/h2o/lib/handler/configurator/.deps/libh2o_a-compress.Po: No such file or directory
Makefile:6141: httpd/h2o/lib/handler/configurator/.deps/libh2o_a-errordoc.Po: No such file or directory
Makefile:6142: httpd/h2o/lib/handler/configurator/.deps/libh2o_a-expires.Po: No such file or directory
Makefile:6143: httpd/h2o/lib/handler/configurator/.deps/libh2o_a-fastcgi.Po: No such file or directory
Makefile:6144: httpd/h2o/lib/handler/configurator/.deps/libh2o_a-file.Po: No such file or directory
Makefile:6145: httpd/h2o/lib/handler/configurator/.deps/libh2o_a-headers.Po: No such file or directory
Makefile:6146: httpd/h2o/lib/handler/configurator/.deps/libh2o_a-headers_util.Po: No such file or directory
Makefile:6147: httpd/h2o/lib/handler/configurator/.deps/libh2o_a-http2_debug_state.Po: No such file or directory
Makefile:6148: httpd/h2o/lib/handler/configurator/.deps/libh2o_a-proxy.Po: No such file or directory
Makefile:6149: httpd/h2o/lib/handler/configurator/.deps/libh2o_a-redirect.Po: No such file or directory
Makefile:6150: httpd/h2o/lib/handler/configurator/.deps/libh2o_a-reproxy.Po: No such file or directory
Makefile:6151: httpd/h2o/lib/handler/configurator/.deps/libh2o_a-status.Po: No such file or directory
Makefile:6152: httpd/h2o/lib/handler/configurator/.deps/libh2o_a-throttle_resp.Po: No such file or directory
Makefile:6153: httpd/h2o/lib/handler/status/.deps/libh2o_a-durations.Po: No such file or directory
Makefile:6154: httpd/h2o/lib/handler/status/.deps/libh2o_a-events.Po: No such file or directory
Makefile:6155: httpd/h2o/lib/handler/status/.deps/libh2o_a-requests.Po: No such file or directory
Makefile:6156: httpd/h2o/lib/http2/.deps/libh2o_a-cache_digests.Po: No such file or directory
Makefile:6157: httpd/h2o/lib/http2/.deps/libh2o_a-casper.Po: No such file or directory
Makefile:6158: httpd/h2o/lib/http2/.deps/libh2o_a-connection.Po: No such file or directory
Makefile:6159: httpd/h2o/lib/http2/.deps/libh2o_a-frame.Po: No such file or directory
Makefile:6160: httpd/h2o/lib/http2/.deps/libh2o_a-hpack.Po: No such file or directory
Makefile:6161: httpd/h2o/lib/http2/.deps/libh2o_a-http2_debug_state.Po: No such file or directory
Makefile:6162: httpd/h2o/lib/http2/.deps/libh2o_a-scheduler.Po: No such file or directory
Makefile:6163: httpd/h2o/lib/http2/.deps/libh2o_a-stream.Po: No such file or directory
make: *** No rule to make target `httpd/h2o/lib/http2/.deps/libh2o_a-stream.Po'.  Stop.
 FAILED  ''

 --- Compile netdata ---
[/usr/local/src/netdata]# make -j32
Makefile:6085: httpd/h2o/deps/cloexec/.deps/libh2o_a-cloexec.Po: No such file or directory
Makefile:6086: httpd/h2o/deps/libgkc/.deps/libh2o_a-gkc.Po: No such file or directory
Makefile:6087: httpd/h2o/deps/libyrmcds/.deps/libh2o_a-close.Po: No such file or directory
Makefile:6088: httpd/h2o/deps/libyrmcds/.deps/libh2o_a-connect.Po: No such file or directory
Makefile:6089: httpd/h2o/deps/libyrmcds/.deps/libh2o_a-recv.Po: No such file or directory
Makefile:6090: httpd/h2o/deps/libyrmcds/.deps/libh2o_a-send.Po: No such file or directory
Makefile:6091: httpd/h2o/deps/libyrmcds/.deps/libh2o_a-send_text.Po: No such file or directory
Makefile:6092: httpd/h2o/deps/libyrmcds/.deps/libh2o_a-socket.Po: No such file or directory
Makefile:6093: httpd/h2o/deps/libyrmcds/.deps/libh2o_a-strerror.Po: No such file or directory
Makefile:6094: httpd/h2o/deps/libyrmcds/.deps/libh2o_a-text_mode.Po: No such file or directory
Makefile:6095: httpd/h2o/deps/picohttpparser/.deps/libh2o_a-picohttpparser.Po: No such file or directory
Makefile:6096: httpd/h2o/lib/.deps/libh2o_a-http1.Po: No such file or directory
Makefile:6097: httpd/h2o/lib/.deps/libh2o_a-tunnel.Po: No such file or directory
Makefile:6098: httpd/h2o/lib/common/.deps/libh2o_a-cache.Po: No such file or directory
Makefile:6099: httpd/h2o/lib/common/.deps/libh2o_a-file.Po: No such file or directory
Makefile:6100: httpd/h2o/lib/common/.deps/libh2o_a-filecache.Po: No such file or directory
Makefile:6101: httpd/h2o/lib/common/.deps/libh2o_a-hostinfo.Po: No such file or directory
Makefile:6102: httpd/h2o/lib/common/.deps/libh2o_a-http1client.Po: No such file or directory
Makefile:6103: httpd/h2o/lib/common/.deps/libh2o_a-memcached.Po: No such file or directory
Makefile:6104: httpd/h2o/lib/common/.deps/libh2o_a-memory.Po: No such file or directory
Makefile:6105: httpd/h2o/lib/common/.deps/libh2o_a-multithread.Po: No such file or directory
Makefile:6106: httpd/h2o/lib/common/.deps/libh2o_a-serverutil.Po: No such file or directory
Makefile:6107: httpd/h2o/lib/common/.deps/libh2o_a-socket.Po: No such file or directory
Makefile:6108: httpd/h2o/lib/common/.deps/libh2o_a-socketpool.Po: No such file or directory
Makefile:6109: httpd/h2o/lib/common/.deps/libh2o_a-string.Po: No such file or directory
Makefile:6110: httpd/h2o/lib/common/.deps/libh2o_a-time.Po: No such file or directory
Makefile:6111: httpd/h2o/lib/common/.deps/libh2o_a-timeout.Po: No such file or directory
Makefile:6112: httpd/h2o/lib/common/.deps/libh2o_a-url.Po: No such file or directory
Makefile:6113: httpd/h2o/lib/core/.deps/libh2o_a-config.Po: No such file or directory
Makefile:6114: httpd/h2o/lib/core/.deps/libh2o_a-configurator.Po: No such file or directory
Makefile:6115: httpd/h2o/lib/core/.deps/libh2o_a-context.Po: No such file or directory
Makefile:6116: httpd/h2o/lib/core/.deps/libh2o_a-headers.Po: No such file or directory
Makefile:6117: httpd/h2o/lib/core/.deps/libh2o_a-logconf.Po: No such file or directory
Makefile:6118: httpd/h2o/lib/core/.deps/libh2o_a-proxy.Po: No such file or directory
Makefile:6119: httpd/h2o/lib/core/.deps/libh2o_a-request.Po: No such file or directory
Makefile:6120: httpd/h2o/lib/core/.deps/libh2o_a-token.Po: No such file or directory
Makefile:6121: httpd/h2o/lib/core/.deps/libh2o_a-util.Po: No such file or directory
Makefile:6122: httpd/h2o/lib/handler/.deps/libh2o_a-access_log.Po: No such file or directory
Makefile:6123: httpd/h2o/lib/handler/.deps/libh2o_a-chunked.Po: No such file or directory
Makefile:6124: httpd/h2o/lib/handler/.deps/libh2o_a-compress.Po: No such file or directory
Makefile:6125: httpd/h2o/lib/handler/.deps/libh2o_a-errordoc.Po: No such file or directory
Makefile:6126: httpd/h2o/lib/handler/.deps/libh2o_a-expires.Po: No such file or directory
Makefile:6127: httpd/h2o/lib/handler/.deps/libh2o_a-fastcgi.Po: No such file or directory
Makefile:6128: httpd/h2o/lib/handler/.deps/libh2o_a-file.Po: No such file or directory
Makefile:6129: httpd/h2o/lib/handler/.deps/libh2o_a-headers.Po: No such file or directory
Makefile:6130: httpd/h2o/lib/handler/.deps/libh2o_a-headers_util.Po: No such file or directory
Makefile:6131: httpd/h2o/lib/handler/.deps/libh2o_a-http2_debug_state.Po: No such file or directory
Makefile:6132: httpd/h2o/lib/handler/.deps/libh2o_a-mimemap.Po: No such file or directory
Makefile:6133: httpd/h2o/lib/handler/.deps/libh2o_a-proxy.Po: No such file or directory
Makefile:6134: httpd/h2o/lib/handler/.deps/libh2o_a-redirect.Po: No such file or directory
Makefile:6135: httpd/h2o/lib/handler/.deps/libh2o_a-reproxy.Po: No such file or directory
Makefile:6136: httpd/h2o/lib/handler/.deps/libh2o_a-status.Po: No such file or directory
Makefile:6137: httpd/h2o/lib/handler/.deps/libh2o_a-throttle_resp.Po: No such file or directory
Makefile:6138: httpd/h2o/lib/handler/compress/.deps/libh2o_a-gzip.Po: No such file or directory
Makefile:6139: httpd/h2o/lib/handler/configurator/.deps/libh2o_a-access_log.Po: No such file or directory
Makefile:6140: httpd/h2o/lib/handler/configurator/.deps/libh2o_a-compress.Po: No such file or directory
Makefile:6141: httpd/h2o/lib/handler/configurator/.deps/libh2o_a-errordoc.Po: No such file or directory
Makefile:6142: httpd/h2o/lib/handler/configurator/.deps/libh2o_a-expires.Po: No such file or directory
Makefile:6143: httpd/h2o/lib/handler/configurator/.deps/libh2o_a-fastcgi.Po: No such file or directory
Makefile:6144: httpd/h2o/lib/handler/configurator/.deps/libh2o_a-file.Po: No such file or directory
Makefile:6145: httpd/h2o/lib/handler/configurator/.deps/libh2o_a-headers.Po: No such file or directory
Makefile:6146: httpd/h2o/lib/handler/configurator/.deps/libh2o_a-headers_util.Po: No such file or directory
Makefile:6147: httpd/h2o/lib/handler/configurator/.deps/libh2o_a-http2_debug_state.Po: No such file or directory
Makefile:6148: httpd/h2o/lib/handler/configurator/.deps/libh2o_a-proxy.Po: No such file or directory
Makefile:6149: httpd/h2o/lib/handler/configurator/.deps/libh2o_a-redirect.Po: No such file or directory
Makefile:6150: httpd/h2o/lib/handler/configurator/.deps/libh2o_a-reproxy.Po: No such file or directory
Makefile:6151: httpd/h2o/lib/handler/configurator/.deps/libh2o_a-status.Po: No such file or directory
Makefile:6152: httpd/h2o/lib/handler/configurator/.deps/libh2o_a-throttle_resp.Po: No such file or directory
Makefile:6153: httpd/h2o/lib/handler/status/.deps/libh2o_a-durations.Po: No such file or directory
Makefile:6154: httpd/h2o/lib/handler/status/.deps/libh2o_a-events.Po: No such file or directory
Makefile:6155: httpd/h2o/lib/handler/status/.deps/libh2o_a-requests.Po: No such file or directory
Makefile:6156: httpd/h2o/lib/http2/.deps/libh2o_a-cache_digests.Po: No such file or directory
Makefile:6157: httpd/h2o/lib/http2/.deps/libh2o_a-casper.Po: No such file or directory
Makefile:6158: httpd/h2o/lib/http2/.deps/libh2o_a-connection.Po: No such file or directory
Makefile:6159: httpd/h2o/lib/http2/.deps/libh2o_a-frame.Po: No such file or directory
Makefile:6160: httpd/h2o/lib/http2/.deps/libh2o_a-hpack.Po: No such file or directory
Makefile:6161: httpd/h2o/lib/http2/.deps/libh2o_a-http2_debug_state.Po: No such file or directory
Makefile:6162: httpd/h2o/lib/http2/.deps/libh2o_a-scheduler.Po: No such file or directory
Makefile:6163: httpd/h2o/lib/http2/.deps/libh2o_a-stream.Po: No such file or directory
make: *** No rule to make target `httpd/h2o/lib/http2/.deps/libh2o_a-stream.Po'.  Stop.
 FAILED  ''

 ABORTED  Failed to build Netdata.

sed: can't read /usr/lib/netdata/conf.d/python.d/apache.conf: No such file or directory
sed: can't read /usr/lib/netdata/conf.d/python.d/apache.conf: No such file or directory
Redirecting to /bin/systemctl reload nginx.service
gpasswd: user 'netdata' does not exist
ERROR 1396 (HY000) at line 1: Operation CREATE USER failed for 'netdata'@'localhost'
sed: can't read /etc/netdata/netdata.conf: No such file or directory
Redirecting to /bin/systemctl restart netdata.service
Failed to restart netdata.service: Unit not found.
Redirecting to /bin/systemctl reload cwpsrv.service
You have mail in /var/spool/mail/root


Offline
*
Im having the same problem. Tried installing from the CWP UI but not working. I then used the recommended script form Netdata (wget -O /tmp/netdata-kickstart.sh https://my-netdata.io/kickstart.sh && sh /tmp/netdata-kickstart.sh --stable-channel --disable-telemetry) and it successfully installed but when I go to the installed address I get a 502 Bad Gateway error. Any help?

Offline
*
Re: Faild Install last Version Netdata in CWP (Control Web Pannel) Centos 7
« Reply #2 on: August 29, 2023, 04:29:08 AM »
There are dependencies missing from the original CWP "install_netdata" installation script. Geeee.....that's surprising. Okay, so the code below will add the dependencies needed so the installation is successful. It adds a line to the script so that they are installed.

!!!BE SURE TO BACKUP THE FILE BEFORE YOU RUN THIS & BE SURE TO REMOVE THE SPACES FROM "/ scripts / install_netdata" BEFORE YOU PRESS ENTER IN THE SSH TERMINAL!!!

Here is the fix:
Code: [Select]
sed -ie '/\tyum -y install libmnl-devel libuv-devel --enablerepo=epel/a \\tyum -y install json-c-devel libatomic libyaml-devel lz4-devel systemd-devel' / scripts / install_netdata
if everything went fine then you will just come back to a prompt after pressing enter.

Here is the original code:
Code: [Select]
        # new centos 8 stream
        cd / usr / local / src
        wget https://github.com/libuv/libuv/archive/refs/tags/v1.41.0.zip
        unzip v1.41.0.zip
        cd libuv-1.41.0
        ## important to run 2 times:
        sh autogen.sh
        sh autogen.sh
        . / configure
        make
        make install
else
        yum -y install curl gcc make autoconf autoconf-archive autogen automake --enablerepo=epel
        yum -y install MySQL-python python python-yaml python-psycopg2 nodejs lm_sensors --enablerepo=epel
        yum -y install nmap-ncat git zlib-devel libuuid-devel --enablerepo=epel
        yum -y install libmnl-devel libuv-devel --enablerepo=epel
fi

Here is the new code with the added line marked:
Code: [Select]
        # new centos 8 stream
        cd / usr / local / src
        wget https://github.com/libuv/libuv/archive/refs/tags/v1.41.0.zip
        unzip v1.41.0.zip
        cd libuv-1.41.0
        ## important to run 2 times:
        sh autogen.sh
        sh autogen.sh
        . / configure
        make
        make install
else
        yum -y install curl gcc make autoconf autoconf-archive autogen automake --enablerepo=epel
        yum -y install MySQL-python python python-yaml python-psycopg2 nodejs lm_sensors --enablerepo=epel
        yum -y install nmap-ncat git zlib-devel libuuid-devel --enablerepo=epel
        yum -y install libmnl-devel libuv-devel --enablerepo=epel
        yum -y install json-c-devel libatomic libyaml-devel lz4-devel systemd-devel    <-----------HERE
fi

After you have ran the above one-liner fix or corrected the script yourself. Just start the install from the Web Dashboard again and wait for the page to refresh. It can take quite a while to install so be patient and wait for it to refresh.
« Last Edit: August 29, 2023, 04:32:13 AM by LPJon »
If they wanted it fixed...then you wouldn't have to fight so hard for them to fix it. Money is made on problems.....problems that you pay them to fix....but they created themselves. Why should you pay CWP to fix their own software? Is that their business model?

Offline
*
Re: Faild Install last Version Netdata in CWP (Control Web Pannel) Centos 7
« Reply #3 on: August 29, 2023, 06:24:04 AM »
I found another problem here I'm working on now. Apparently when the server is restarted the netdata service is not able to start due to a missing directory it can't create for the socket file. I will report back when I have a solution for it. It looks like the directory is deleted each reboot so it needs a little help.
If they wanted it fixed...then you wouldn't have to fight so hard for them to fix it. Money is made on problems.....problems that you pay them to fix....but they created themselves. Why should you pay CWP to fix their own software? Is that their business model?

Offline
*
Re: Faild Install last Version Netdata in CWP (Control Web Pannel) Centos 7
« Reply #4 on: August 29, 2023, 06:48:39 AM »
okay here is the second piece of code needed to keep netdata running after reboots.

Code: [Select]
echo 'd /var/run/netdata 0755 root root' > /usr/lib/tmpfiles.d/netdata.conf
this will make systemd create the directory /var/run/netdata on each reboot so the netdata service can use it for the socket file.

If you want to edit the "install_netdata" script file here is the code that will make the script do this automatically from the start.
Code: [Select]
sed -ie '/# restart netdata/a echo "d /var/run/netdata 0755 root root" > /usr/lib/tmpfiles.d/netdata.conf' /scripts/install_netdata
« Last Edit: August 29, 2023, 06:50:26 AM by LPJon »
If they wanted it fixed...then you wouldn't have to fight so hard for them to fix it. Money is made on problems.....problems that you pay them to fix....but they created themselves. Why should you pay CWP to fix their own software? Is that their business model?

Offline
*
Re: Faild Install last Version Netdata in CWP (Control Web Pannel) Centos 7
« Reply #5 on: August 29, 2023, 07:01:36 AM »
So just to make some things easier I'm posting a link to my Github with a working netdata installer as of 8/29/23. This would be a drop-in replacement for the script already in the server at
Code: [Select]
/scripts/install_netdataIf you just replace the scripts and then run the netdata installer from the Web GUI Dashboard it should install and work correctly.

https://raw.githubusercontent.com/LPJon/cwpfixes/main/install_netdata
If they wanted it fixed...then you wouldn't have to fight so hard for them to fix it. Money is made on problems.....problems that you pay them to fix....but they created themselves. Why should you pay CWP to fix their own software? Is that their business model?

Offline
****
Re: Faild Install last Version Netdata in CWP (Control Web Pannel) Centos 7
« Reply #6 on: August 29, 2023, 02:32:39 PM »
This is great -- your contributions seem valuable, resolving longstanding little niggling bugs. Please contribute your code directly to the devs, as they may miss your forum posts and Github code repository. They do appreciate code like this -- they accepted my patch script back in my early days of CWP where I fixed post-migration issues with the cPanel -> CWP migration routine (basic functionality worked, but some cleanup was needed).

Offline
*
Re: Faild Install last Version Netdata in CWP (Control Web Pannel) Centos 7
« Reply #7 on: August 29, 2023, 10:17:11 PM »
This is great -- your contributions seem valuable, resolving longstanding little niggling bugs. Please contribute your code directly to the devs, as they may miss your forum posts and Github code repository. They do appreciate code like this -- they accepted my patch script back in my early days of CWP where I fixed post-migration issues with the cPanel -> CWP migration routine (basic functionality worked, but some cleanup was needed).

Where and how do I submit the code to them? Is there a specific place to do that?
If they wanted it fixed...then you wouldn't have to fight so hard for them to fix it. Money is made on problems.....problems that you pay them to fix....but they created themselves. Why should you pay CWP to fix their own software? Is that their business model?

Offline
****
Re: Faild Install last Version Netdata in CWP (Control Web Pannel) Centos 7
« Reply #8 on: August 30, 2023, 02:03:00 AM »
I opened a support ticket about my migration issues and I included my cleanup script there.

Here's the bugs link on the newer Control Web Panel site: https://bugs.control-webpanel.com/login_page.php
(Seems as though the CentOS branding is going to die off -- makes sense to abstract it for all EL8/EL9 distributions.)

There's also the bug forum that they may tend to peruse more than the overall board generally:
https://forum.centos-webpanel.com/index.php?board=19.0

Offline
*
Re: Faild Install last Version Netdata in CWP (Control Web Pannel) Centos 7
« Reply #9 on: August 30, 2023, 03:17:51 AM »
I opened a support ticket about my migration issues and I included my cleanup script there.

Here's the bugs link on the newer Control Web Panel site: https://bugs.control-webpanel.com/login_page.php
(Seems as though the CentOS branding is going to die off -- makes sense to abstract it for all EL8/EL9 distributions.)

There's also the bug forum that they may tend to peruse more than the overall board generally:
https://forum.centos-webpanel.com/index.php?board=19.0

Well...I tried to setup an account at bugs.control-webpanel.com with the link you gave me above. Turns out I can't get a confirmation email for the account. So I submitted a support ticket instead informing them of it there and posted it in the bugs section of the forum you suggested above at the link below. Just cross referencing it everywhere so it's all linked together for anyone looking into it.

Bugs report section of this forum:
https://forum.centos-webpanel.com/index.php?topic=13060.0
If they wanted it fixed...then you wouldn't have to fight so hard for them to fix it. Money is made on problems.....problems that you pay them to fix....but they created themselves. Why should you pay CWP to fix their own software? Is that their business model?