tec13
5 April 2020 01:05
1
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.
Hi,
pls can you post following
journalctl -u netdata.service
tec13
5 April 2020 17:24
3
Hi,
root@DietPi:~# journalctl -u netdata.service
– No entries –
root@DietPi:~#
Thanks
hmm ok.
pls can you restart netdata service as follow
systemctl restart netdata.service
and have a look to the netdata logs afterwards. They are located on /var/log/netdata. Maybe the error.log contains some useful information.
tec13
5 April 2020 18:40
5
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#
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
/usr/sbin/netdata -D
tec13
5 April 2020 19:56
7
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
you are missing the netdata executable. Pls can you try to reinstall
dietpi-software reinstall 65
tec13
5 April 2020 21:04
9
Thanks!
Mode: Installing Netdata: real-time performance monitoring
[ OK ] DietPi-Software | wget https://dietpi.com/downloads/binaries/stretch/netdata_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
ah ok you are still on debian stretch. Looks like uninstall - reinstall caused some inconsistency on your system. pls can you do the following
sed -i '/netdata/d' /var/lib/dpkg/statoverride
dietpi-software reinstall 65
once done pls create the following 2 files and copy the content from attached zip file
nano /etc/netdata/netdata.conf
nano /etc/netdata/edit-config
netdata.zip (1.45 KB)
once done restart netdata and check status
systemctl restart netdata.service
systemctl status netdata.service
tec13
6 April 2020 11:23
11
42/5000
Thanks, it almost works!
I have this error:
Apr 06 13:18:10 DietPi netdata[1168]: 2020-04-06 13:18:10: netdata ERROR : MAIN
: child pid 1181 exited with code 7.
\
root@DietPi:~# systemctl status netdata.service
● netdata.service - netdata - Real-time performance monitoring
Loaded: loaded (/lib/systemd/system/netdata.service; disabled; vendor preset:
enabled)
Active: active (running) since Mon 2020-04-06 13:18:10 CEST; 1min
34s ago
Docs: man:netdata
file:///usr/share/doc/netdata/html/index.html
The fastest path to AI-powered full stack observability, even for lean teams.
Main PID: 1168 (netdata)
Tasks: 17 (limit: 4915)
CGroup: /system.slice/netdata.service
├─1168 /usr/sbin/netdata -D
├─1226 bash /usr/lib/netdata/plugins.d/tc-qos-helper.sh 1
└─1231 /usr/lib/netdata/plugins.d/apps.plugin 1
Apr 06 13:18:10 DietPi systemd[1]: Started netdata - Real-time performance monit
oring.
Apr 06 13:18:10 DietPi netdata[1168]: /usr/lib/netdata/plugins.d/anonymous-stati
stics.sh ‘START’ ‘-’ ‘-’
Apr 06 13:18:10 DietPi netdata[1168]: 2020-04-06 13:18:10: netdata INFO : MAIN
: /usr/lib/netdata/plugins.d/anonymous-statistics.sh ‘START’ ‘-’ ‘-’
Apr 06 13:18:10 DietPi netdata[1168]: child pid 1181 exited with code 7.
Apr 06 13:18:10 DietPi netdata[1168]: 2020-04-06 13:18:10: netdata ERROR : MAIN
: child pid 1181 exited with code 7.
root@DietPi:~#
yes I have seen it as well on my test system but did not find a way around yet. Did it impact your system? are you able to access Netdata?
tec13
6 April 2020 20:10
13
Great, it works !!!
Thanks!
I had to edit the file /etc/netdata/netdata.conf and change the line bind socket to IP = 127.0.0.1 to match the local network IP
2 Likes
hm strange, because the netdata.conf file was the original one that was created right after first installation. But anyway it’s working now.
I also had some issues this evening.
Seems the executable wasn’t installed until i re-installed as per posts on page 1 and then I did not get working net data until I followed tec13 and changed the bind address to local server ip.
I guess you are on Debian Stretch as well. On Buster this should not happen. At least that how it was on my tests
weil DietPi is not an own OS. It is a set of script on top of a Debian base image. For example on Raspberry Pi the base image is Raspbian Lite. For other boards it’s Armbian. Stretch and Baster are the Debian versions. Where Buster is the current version and Stretch the one before.
ok, I kinda knew that DietPi was a version of Debian. Anyway, mine was downloaded a week ago - the version for Odroid HC1
Can you let me know the image you downloaded exactly? The current official one is based on Debian Stretch but there was already a new Debian Buster image created. It still has the testing flag but should work already. On Buster the issue should be gone.
opened 09:18PM - 10 Jul 19 UTC
closed 05:45PM - 24 Jun 20 UTC
Image Request
Solution available
Buster
Image update
### Note to testers:
Many thanks for testing one of our new images.
Please giv… e us some feedback whether the board boots fine, including all first run setup steps, when you face some issues and as well when not. This helps us to evaluate whether an image can be considered as stable.
____________
**All stable images: https://dietpi.com/downloads/images/
All testing images: https://dietpi.com/downloads/images/testing/**
- [x] **VirtualBox** => Buster, stable!
- [x] **VMware** => Buster, stable!
- [x] **x86_64 PC BIOS** => Buster, stable!
- [x] **x86_64 PC UEFI** => Buster: #1171, stable!
- [x] **RPi** => Buster: #2935, stable!
- [x] **ROCK Pi 4** => Buster: #2445, stable!
- [x] **ASUS Tinker Board** => Buster: #2977, stable!
- [x] **Firefly RK3399** => Buster: #1986
- [x] **ROCK64** => Buster: #3051, stable!
- Might solve: #2522
- [x] **PINE A64** => Buster, stable!
- [x] **ROCKPro64** => Buster, stable!
- [x] **Pinebook** => Buster, stable!
- [x] **NanoPC T4** => Buster: #2142, stable!
- [x] **NanoPi M3/T3/F3** => Buster: #3221, stable!
- [x] **Sparky SBC** => Stretch, stable!
- Might solve: #2610
- Debian Buster requires min Linux 3.16 (vs 3.10)
- [x] **Odroid N2** => Buster, stable!
- [x] **Odroid N1** => Buster, stable!
- [x] **Odroid XU3/XU4/MC1/HC1/HC2** => Buster, stable!
- Might solve: #2584
- Fixed: #2990
- [x] **Odroid C2** => Buster, stable!
- [x] **Odroid C1** => Buster, stable!
- [x] **NanoPi M1 Plus** => Buster, stable!
- [x] **NanoPi K1 Plus** => Buster, stable!
- [x] **NanoPi M1/T1** => Buster, stable!
- [x] **NanoPi NEO** => Buster, stable!
- [x] **NanoPi NEO Air** => Buster, stable!
- Probably solves: #2270
- [x] **NanoPi M2/T2** => Stretch, stable!
- Not supported by Armbian, not even a testing/dev image available, not supported by Armbian build tools as well: https://github.com/armbian/build/tree/master/config/boards
- FriendlyARM provides only outdated Linux 3.4 images, where even Stretch-support is critical, hence Buster will most likely cause more issues then benefits.
- Build scripts for Linux 4.4 available, requires testing: https://github.com/friendlyarm/debian_nanopi2
- [x] **NanoPi NEO2** => Buster, stable!
- Works for NEO2 Black (2020 version) as well? #3333
- **EDIT: It does, but does not support boot from eMMC. New image for NEO2 Black created below.**
- Might solve: #2683
~- [ ] **RPi AlloGUI**~
~- [ ] **Sparky SBC AlloGUI**~
__________
#### New images: https://dietpi.com/downloads/images/
- [x] **NanoPi NEO2 Black**
- #3333 Does is allow boot from eMMC? **EDIT: It does!**
- [x] **NanoPi M4/NEO4** => stable!
- [x] **NanoPi M4V2**: Separate image required due to DDR4 vs DDR3 (NEO4/M4/T4) => stable!
- [x] **ROCK Pi S**: #3365
- [x] **PINE H64**: #3286
- [x] **Odroid C4**: #3500