From 77a848ce63f05151350b49aa71b94d6523b701b8 Mon Sep 17 00:00:00 2001 From: Marius Sturm Date: Fri, 19 Aug 2016 09:46:30 +0200 Subject: [PATCH] prevent permission denied for nxlog cache data --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index e5a197e7..baf903ee 100644 --- a/README.md +++ b/README.md @@ -80,6 +80,7 @@ Install the NXLog package from the offical download [page](https://nxlog.org/pro $ sudo /etc/init.d/nxlog stop $ sudo update-rc.d -f nxlog remove $ sudo gpasswd -a nxlog adm + $ sudo chown -R nxlog.nxlog /var/spool/collector-sidecar/nxlog $ sudo dpkg -i collector-sidecar_0.0.9-1_amd64.deb ``` @@ -97,6 +98,7 @@ Edit `/etc/graylog/collector-sidecar/collector_sidecar.yml`accordingly. $ sudo service nxlog stop $ sudo chkconfig --del nxlog $ sudo gpasswd -a nxlog root + $ sudo chown -R nxlog.nxlog /var/spool/collector-sidecar/nxlog $ sudo rpm -i collector-sidecar-0.0.9-1.x86_64.rpm ```