OPNsense Forum
Archive => 23.1 Legacy Series => Topic started 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.
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.
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?
-
I also have this kind of messages.
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')
-
But so you get all graphs?
-
Jep, looks good.
-
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".
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
root@jlofw:/usr/local/etc/netdata # service netdata onestatus
netdata is running as pid 84739 85003.
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.
-
Same issue with latest version 23.7.3 - see attachment . . .