I have installed netdata today but it doesn't work.
My Dietpi version is 6.28
The netdata service is inactive and I cannot start it
root@DietPi:~# dietpi-services status netdata
DietPi-Services
─────────────────────────────────────────────────────
Mode: status netdata
[ INFO ] DietPi-Services | netdata inactive (dead)
root@DietPi:~# dietpi-services start netdata
DietPi-Services
─────────────────────────────────────────────────────
Mode: start netdata
[ OK ] DietPi-Services | start : netdata
root@DietPi:~# dietpi-services status netdata
DietPi-Services
─────────────────────────────────────────────────────
Mode: status netdata
[ INFO ] DietPi-Services | netdata inactive (dead
I have checked that the /etc/netdata/netdata.conf directory does not exist
Is there any incompatibility with other software that prevents netdata from working?
I also have "rpimonitor" installed and it works
Thanks in advance.
Netdata does not work Topic is solved
Re: Netdata does not work
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
Re: Netdata does not work
Hi,
root@DietPi:~# journalctl -u netdata.service
-- No entries --
root@DietPi:~#
Thanks
root@DietPi:~# journalctl -u netdata.service
-- No entries --
root@DietPi:~#
Thanks
Re: Netdata does not work
hmm ok.
pls can you restart netdata service as follow
and have a look to the netdata logs afterwards. They are located on /var/log/netdata. Maybe the error.log contains some useful information.
pls can you restart netdata service as follow
Code: Select all
systemctl restart netdata.service
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
Re: Netdata does not work
Thanks!
root@DietPi:~# systemctl restart netdata.service
root@DietPi:~# dietpi-services status netdata
DietPi-Services
─────────────────────────────────────────────────────
Mode: status netdata
[ INFO ] DietPi-Services | netdata inactive (dead)
root@DietPi:~# journalctl -u netdata.service
-- No entries --
root@DietPi:~#
root@DietPi:~# cd /var/log
root@DietPi:/var/log# cd netdata
-bash: cd: netdata: No such file or directory
root@DietPi:/var/log# cat netdata
cat: netdata: No such file or directory
root@DietPi:/var/log#
root@DietPi:~# systemctl restart netdata.service
root@DietPi:~# dietpi-services status netdata
DietPi-Services
─────────────────────────────────────────────────────
Mode: status netdata
[ INFO ] DietPi-Services | netdata inactive (dead)
root@DietPi:~# journalctl -u netdata.service
-- No entries --
root@DietPi:~#
root@DietPi:~# cd /var/log
root@DietPi:/var/log# cd netdata
-bash: cd: netdata: No such file or directory
root@DietPi:/var/log# cat netdata
cat: netdata: No such file or directory
root@DietPi:/var/log#
Re: Netdata does not work
strange, something seams to be wrong with your installation. At least the netdata log folder should exist because without, netdata is not able to start. pla can you try to start netdata manually
Code: Select all
/usr/sbin/netdata -D
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
Re: Netdata does not work
Thanks
root@DietPi:/usr/sbin# netdata -D
-bash: netdata: command not found
root@DietPi:/usr/sbin# ls n*
netfilter-persistent newusers nfnl_osf nologin
root@DietPi:/usr/sbin#
I tried yesterday to install, uninstall, install
root@DietPi:/usr/sbin# netdata -D
-bash: netdata: command not found
root@DietPi:/usr/sbin# ls n*
netfilter-persistent newusers nfnl_osf nologin
root@DietPi:/usr/sbin#
I tried yesterday to install, uninstall, install
Re: Netdata does not work
you are missing the netdata executable. Pls can you try to reinstall
Code: Select all
dietpi-software reinstall 65
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
Re: Netdata does not work
Thanks!
Mode: Installing Netdata: real-time performance monitoring
...
[ OK ] DietPi-Software | wget https://dietpi.com/downloads/binaries/stretch/ne tdata_armv7l.7z -O 65.7z
[ OK ] DietPi-Software | 7zr x -y 65.7z
[ OK ] DietPi-Software | rm 65.7z
dpkg: unrecoverable fatal error, aborting:
unknown user 'netdata' in statoverride file
...
Mode: Installing Netdata: real-time performance monitoring
...
[ OK ] DietPi-Software | wget https://dietpi.com/downloads/binaries/stretch/ne tdata_armv7l.7z -O 65.7z
[ OK ] DietPi-Software | 7zr x -y 65.7z
[ OK ] DietPi-Software | rm 65.7z
dpkg: unrecoverable fatal error, aborting:
unknown user 'netdata' in statoverride file
...
Last edited by tec13 on Sun Apr 05, 2020 11:09 pm, edited 1 time in total.
Re: Netdata does not work
ah ok you are still on debian stretch. Looks like uninstall - reinstall caused some inconsistency on your system. pls can you do the following
once done pls create the following 2 files and copy the content from attached zip file
once done restart netdata and check status
Code: Select all
sed -i '/netdata/d' /var/lib/dpkg/statoverride
dietpi-software reinstall 65
Code: Select all
nano /etc/netdata/netdata.conf
nano /etc/netdata/edit-config
once done restart netdata and check status
Code: Select all
systemctl restart netdata.service
systemctl status netdata.service
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team