OPNsense Forum

Archive => 23.1 Legacy Series => Topic started by: staticznld on March 09, 2023, 01:51:10 pm

Title: 23.1.2 system log full of errors Netdata
Post by: staticznld on March 09, 2023, 01:51:10 pm
After updating to 23.1.2 my system log is full of messages from apps.plugin.

Code: [Select]
2023-03-09T13:32:12
apps.plugin Cannot fetch process 71508 command line (command 'pgrep')
2023-03-09T13:30:20
apps.plugin Cannot fetch process 18869 command line (command 'pgrep')
2023-03-09T13:29:22
apps.plugin Cannot fetch process 23812 command line (command 'pgrep')
2023-03-09T13:29:13
apps.plugin Cannot fetch process 12741 command line (command 'pgrep')

When i tried to restart Netdata the folowing message appeared in the logs.

Code: [Select]
apps.plugin should either run as root (now running with uid 302, euid 302) or have special capabilities. Without these, apps.plugin cannot report disk I/O utilization of other processes. Your system does not support capabilities. To enable setuid to root run: sudo chown root:netdata /usr/local/libexec/netdata/plugins.d/apps.plugin; sudo chmod 4750 /usr/local/libexec/netdata/plugins.d/apps.plugin;
Is something changed in the permissions of Netdata?

Title: Re: 23.1.2 system log full of errors Netdata
Post by: Syon on March 11, 2023, 11:54:34 am
I also have this kind of messages.

Code: [Select]
2023-03-11T11:39:30 Error apps.plugin Cannot fetch process 43236 command line (command 'sh')
2023-03-11T11:39:30 Error apps.plugin Cannot fetch process 45219 command line (command 'tail')
2023-03-11T11:39:30 Error apps.plugin Cannot fetch process 44673 command line (command 'awk')
2023-03-11T11:36:26 Error apps.plugin Cannot fetch process 33784 command line (command 'sh')
2023-03-11T11:26:16 Error apps.plugin pid 32776 awk states parent 32251, but the later does not exist.
2023-03-11T11:26:15 Error apps.plugin pid 32776 awk states parent 32251, but the later does not exist.
2023-03-11T11:26:14 Error apps.plugin pid 32776 awk states parent 32251, but the later does not exist.
2023-03-11T11:26:14 Error apps.plugin Cannot fetch process 32776 command line (command 'awk')
2023-03-11T11:05:48 Error apps.plugin Cannot fetch process 72761 command line (command 'pfctl')
2023-03-11T10:56:52 Error apps.plugin Cannot fetch process 12937 command line (command 'sh')
Title: Re: 23.1.2 system log full of errors Netdata
Post by: mimugmail on March 12, 2023, 07:30:22 am
But so you get all graphs?
Title: Re: 23.1.2 system log full of errors Netdata
Post by: Syon on March 12, 2023, 07:32:24 am
Jep, looks good.
Title: Re: 23.1.2 system log full of errors Netdata
Post by: BlueHatDinuX on March 29, 2023, 03:55:38 am
Hi, i am also getting the same error messages.
Further checking, I found there are 2 netdata instances running from "top"; one of it in "pause" state and another was running in "kqread".

Code: [Select]
root@jlofw:/usr/local/etc/netdata # service status netdata
status does not exist in /etc/rc.d or the local startup directories (/usr/local/etc/rc.d), or is not executable

Code: [Select]
root@jlofw:/usr/local/etc/netdata # service netdata onestatus
netdata is running as pid 84739 85003.

Code: [Select]
top:
84739 netdata      42  52   19   243M   156M pause    0   0:14   1.41% /usr/local/sbin/netdata -u netdata -P /var/db/netdata/netdata.pid
85003 netdata       2  52   19    25M    11M kqread   0   0:00   0.00% /usr/local/sbin/netdata --special-spawn-server

Sorry for my limited linux experience. Could anyone help? Thanks.
Title: Re: 23.1.2 system log full of errors Netdata
Post by: rfox on September 07, 2023, 11:19:33 am
Same issue with latest version 23.7.3 - see attachment . . .