Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Mar 2023 14:55:17 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 269629] net-mgmt/netdata: Netdata 1.38.0 complains about permissions using default config
Message-ID:  <bug-269629-7788-O5ntFLm3aT@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-269629-7788@https.bugs.freebsd.org/bugzilla/>
References:  <bug-269629-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D269629

--- Comment #9 from Graham Perrin <grahamperrin@freebsd.org> ---
(In reply to Daniel Engberg from comment #8)

Thanks, I tried that already.=20

Retry:=20

----

root@mowa219-gjp4-8570p-freebsd:~ # date=20
Sun Mar 19 14:20:14 GMT 2023
root@mowa219-gjp4-8570p-freebsd:~ # service netdata stop
Stopping netdata.
Waiting for PIDS: 15502 15503, 15502 15503, 15502 15503, 15502 15503, 15502
15503.
root@mowa219-gjp4-8570p-freebsd:~ # service netdata status
netdata is not running.
root@mowa219-gjp4-8570p-freebsd:~ # pkg delete --quiet --yes netdata
=3D=3D> You should manually remove the "netdata" user.=20
=3D=3D> You should manually remove the "netdata" group=20
You may need to manually remove /usr/local/etc/netdata/netdata.conf if it i=
s no
longer needed.
root@mowa219-gjp4-8570p-freebsd:~ # rm
/usr/local/libexec/netdata/plugins.d/apps.plugin
rm: /usr/local/libexec/netdata/plugins.d/apps.plugin: No such file or direc=
tory
root@mowa219-gjp4-8570p-freebsd:~ # pkg install --quiet --yes netdata
=3D=3D=3D> Creating groups.
Using existing group 'netdata'.
=3D=3D=3D> Creating users
Using existing user 'netdata'.
=3D=3D=3D> Creating homedir(s)
=3D=3D=3D=3D=3D
Message from netdata-1.38.1:

--
Quick start for local-only use:

1. sysrc netdata_enable=3D"YES"
2. service netdata start
3. Go to http://localhost:19999/
4. <Optional> Connect to Netdata Cloud using the netdata-claim.sh script:
   https://learn.netdata.cloud/docs/agent/claim#claiming-script
root@mowa219-gjp4-8570p-freebsd:~ # ls -hln
/usr/local/libexec/netdata/plugins.d/apps.plugin
-rwsr-x---  1 0  302   117K Mar 13 01:57
/usr/local/libexec/netdata/plugins.d/apps.plugin
root@mowa219-gjp4-8570p-freebsd:~ # date ; service netdata start
Sun Mar 19 14:23:37 GMT 2023
Starting netdata.
root@mowa219-gjp4-8570p-freebsd:~ #=20

----


Then:=20

----

% tail -f -n 0 /var/log/messages
Mar 19 14:23:39 mowa219-gjp4-8570p-freebsd apps.plugin[78013]: PROCFILE: Ca=
nnot
open file '/usr/local/etc/netdata/apps_groups.conf'
Mar 19 14:30:09 mowa219-gjp4-8570p-freebsd apps.plugin[78013]: Cannot fetch
process 78634 command line (command 'python3.9')
Mar 19 14:35:51 mowa219-gjp4-8570p-freebsd apps.plugin[78013]: Cannot fetch
process 80348 command line (command 'sh')
Mar 19 14:35:52 mowa219-gjp4-8570p-freebsd apps.plugin[78013]: Cannot fetch
process 80958 command line (command 'sh')
Mar 19 14:35:59 mowa219-gjp4-8570p-freebsd apps.plugin[78013]: Cannot fetch
process 81586 command line (command 'cat')
Mar 19 14:36:06 mowa219-gjp4-8570p-freebsd apps.plugin[78013]: Cannot fetch
process 82186 command line (command 'sh')
Mar 19 14:36:06 mowa219-gjp4-8570p-freebsd apps.plugin[78013]: Cannot fetch
process 82188 command line (command 'gsed')
Mar 19 14:40:14 mowa219-gjp4-8570p-freebsd apps.plugin[78013]: Cannot fetch
process 82829 command line (command 'python3.9')
Mar 19 14:46:00 mowa219-gjp4-8570p-freebsd apps.plugin[78013]: Cannot fetch
process 83745 command line (command 'python3.9')
Mar 19 14:46:00 mowa219-gjp4-8570p-freebsd apps.plugin[78013]: Cannot fetch
process 83748 command line (command 'cc')
Mar 19 14:46:12 mowa219-gjp4-8570p-freebsd apps.plugin[78013]: Cannot fetch
process 83978 command line (command 'c++')
Mar 19 14:46:14 mowa219-gjp4-8570p-freebsd apps.plugin[78013]: Cannot fetch
process 84021 command line (command 'sccache')
Mar 19 14:47:51 mowa219-gjp4-8570p-freebsd apps.plugin[78013]: Cannot fetch
process 84882 command line (command 'sysctl')
Mar 19 14:48:25 mowa219-gjp4-8570p-freebsd apps.plugin[78013]: heartbeat cl=
ock:
woke up 504757 microseconds later than expected (can be due to system load =
or
the CLOCK_REALTIME set to the future).
Mar 19 14:50:01 mowa219-gjp4-8570p-freebsd apps.plugin[78013]: Cannot fetch
process 85232 command line (command 'gfortran12')
Mar 19 14:50:03 mowa219-gjp4-8570p-freebsd apps.plugin[78013]: Cannot fetch
process 85258 command line (command 'sh')
^C
%

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-269629-7788-O5ntFLm3aT>