# Installation problem: creating /var/cache/netdata

**URL:** <https://community.netdata.cloud/t/installation-problem-creating-var-cache-netdata/1188>\
**Category:** Help\
**Tags:** agent, agent-installation\
**Created:** [April 15, 2021, 1:00am UTC](https://community.netdata.cloud/t/installation-problem-creating-var-cache-netdata/1188 "2021-04-15T01:00:34Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gonzalo\_Vasquez](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.netdata.cloud/gonzalo_vasquez/32/705_2.png) [@Gonzalo\_Vasquez](https://community.netdata.cloud/u/Gonzalo_Vasquez)\
**Post date:** [April 15, 2021, 1:00am UTC](https://community.netdata.cloud/t/installation-problem-creating-var-cache-netdata/1188/1 "2021-04-15T01:00:34Z")

</div>

# 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

---

<div class="post-metadata">

**Author:** ![ilyam8](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.netdata.cloud/ilyam8/32/134_2.png) [@ilyam8](https://community.netdata.cloud/u/ilyam8)\
**Post date:** [April 15, 2021, 2:58pm UTC](https://community.netdata.cloud/t/installation-problem-creating-var-cache-netdata/1188/2 "2021-04-15T14:58:32Z")

</div>

@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](https://community.netdata.cloud/t/upgrading-from-an-old-version-v1-14-0-rc0-20-nightly/1187/6) is resolved

---

<div class="post-metadata">

**Author:** ![Gonzalo\_Vasquez](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.netdata.cloud/gonzalo_vasquez/32/705_2.png) [@Gonzalo\_Vasquez](https://community.netdata.cloud/u/Gonzalo_Vasquez)\
**Post date:** [April 15, 2021, 6:08pm UTC](https://community.netdata.cloud/t/installation-problem-creating-var-cache-netdata/1188/3 "2021-04-15T18:08:33Z")

</div>

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