Netdata Community

Installation problem: creating /var/cache/netdata

Environment

Amazon Linux 2

Problem Diagnose

Installation using curl from https://my-netdata.io/kickstart.sh yields:

systemctl status netdata.service

● netdata.service - Real time performance monitoring

Loaded: loaded (/usr/lib/systemd/system/netdata.service; enabled; vendor preset: disabled)

Active: inactive (dead) (Result: exit-code) since Wed 2021-04-14 23:58:40 UTC; 52min ago

Process: 7996 ExecStartPre=/bin/mkdir -p /var/cache/netdata **(code=exited, status=226/NAMESPACE)**

Main PID: 1421 (code=exited, status=0/SUCCESS)

Apr 14 23:58:40 ip-172-31-162-162.ec2.internal systemd[1]: **Failed to start Real time performance monitoring.**

Apr 14 23:58:40 ip-172-31-162-162.ec2.internal systemd[1]: **Unit netdata.service entered failed state.**

Apr 14 23:58:40 ip-172-31-162-162.ec2.internal systemd[1]: **netdata.service failed.**

Apr 14 23:58:40 ip-172-31-162-162.ec2.internal systemd[1]: Stopped Real time performance monitoring.

It seems like it cannot create the /var/cache/netdata folder, even if cleaned via rm -rf or through the uninstaller.

The install process also cannot start the service via systemctl and reverts back to executing /usr/sbin/netdata directly.

Folder DOES get created, but it seems there might be either a timing or validation issue upon service start

@Gonzalo_Vasquez did you manage to fix the problem? I see Upgrading from an old version: v1.14.0-rc0-20-nightly - #6 by Gonzalo_Vasquez is resolved

not exactly @ilyam8 those are other servers, with different symptoms