netdata-kickstart.sh --reinstall-clean --static-only a few oddities

Because the netdata version present in the package system of “Ubuntu 18.04.4 LTS” is outdated and is not updated anymore, I have installed with
“wget -O /tmp/netdata-kickstart.sh https://my-netdata.io/kickstart.sh && sh /tmp/netdata-kickstart.sh --reinstall-clean --static-only”

installed the latest version. netdata v1.40.0-181-g07bee1025
This actually worked, both local:19999 and in the netdata cloud the new version shows up and diligently produces charts.
However, there are a few oddities:
There should be a netdata under /usr/sbin/ so that /etc/init.d/netdata start/status/stop still works, wasn’t it?
There is nothing of netdata in /usr/sbin.

Then I notice that “Containers & VMs” is completely missing, don’t know if this is an extra problem. Enough to display would be there anyway.
some extra information in error.log

2023-07-17 10:25:08: netdata ERROR : ACLK_MAIN : Cloud returned EC="GYUHC4NbKB-1485933", Msg-Key:"ErrAgentAlreadyConnected", Msg:"delay retry 5m0s: agent already connected", BlockRetry:false, Backoff:300s (-1 unset by cloud) (errno 2, No such file or directory)
2023-07-17 10:25:08: netdata ERROR : ACLK_MAIN : Error getting challenge
2023-07-17 10:25:08: netdata ERROR : ACLK_MAIN : Error passing Challenge/Response to get OTP
2023-07-17 10:29:00: netdata ERROR : MAIN : Cannot adjust netdata scheduling policy to batch (3), with priority 0. Falling back to nice. (errno 38, Function not implemented)
2023-07-17 10:29:00: netdata ERROR : MAIN : Cannot get my current process scheduling policy. (errno 38, Function not implemented)
2023-07-17 10:29:00: netdata ERROR : PD[perf] : child pid 24764 exited with code 1.
2023-07-17 10:29:00: netdata ERROR : PD[perf] : PLUGINSD: 'host:vb02', '/opt/netdata/usr/libexec/netdata/plugins.d/perf.plugin' (pid 24764) exited with error code 1 and haven't collected any data. Disabling it. (errno 22, Invalid argument)
2023-07-17 10:29:00: netdata ERROR : PD[ioping] : child pid 24767 exited with code 1.
2023-07-17 10:29:00: netdata ERROR : PD[ioping] : PLUGINSD: 'host:vb02', '/opt/netdata/usr/libexec/netdata/plugins.d/ioping.plugin' (pid 24767) exited with error code 1 and haven't collected any data. Disabling it. (errno 22, Invalid argument)
2023-07-17 10:29:01: netdata ERROR : ACLK_MAIN : ACLK_OTP Challenge HTTP code not 200 OK (got 409) (errno 22, Invalid argument)
2023-07-17 10:29:01: netdata ERROR : ACLK_MAIN : Cloud returned EC="FNBNohKW13-1490230", Msg-Key:"ErrAgentAlreadyConnected", Msg:"delay retry 5m0s: agent already connected", BlockRetry:false, Backoff:300s (-1 unset by cloud) (errno 2, No such file or directory)
2023-07-17 10:29:01: netdata ERROR : ACLK_MAIN : Error getting challenge
2023-07-17 10:29:01: netdata ERROR : ACLK_MAIN : Error passing Challenge/Response to get OTP

./netdatacli aclk-state
ACLK Available: Yes
ACLK Version: 2
Protocols Supported: Protobuf
Protocol Used: Protobuf
MQTT Version: 5
Claimed: Yes
Claimed Id: b29ebe62-a91d-11ed-ae12-XYZ
Cloud URL: https://app.netdata.cloud
Online: No
Reconnect count: 0
Banned By Cloud: No
Next Connection Attempt At: 2023-07-17 10:49:04
Last Backoff: 300.000

But not sure if it helps. If you do need more infos let me know.

Hi @Bernd

The --static-only flag installs a static version of netdata, and installs it under /opt/netdata (typical for such binary packages).

Not sure about the error you get in the log. It appears the cloud believes the agent is already connected (is it? you mention cloud works) ?

Yes it is installed below /opt
the log was /opt/netdata/var/log/netdata/error.log
Yes the cloud is working.
I tried to copy the old dbengine contents, this results in
Alerts (2) netdata.dbengine_global_errors 10min_dbengine_global_io_errors 20 errors
but this is a minor issue.

How about the >

There should be a netdata under /usr/sbin/ so that /etc/init.d/netdata start/status/stop still works, wasn’t it?
There is nothing of netdata in /usr/sbin.

shall I copy the /opt/netdata/bin/srv/netdata to /usr/sbin ?

I’m not sure, but doesn’t Ubuntu 18.04 use systemd? The kickstart script should have installed a proper systemd unit file to launch it from /opt. What are the contents of /lib/systemd/system/netdata.service ?

Then you should just need to use systemctl start netdata.

Fortunately, I have an almost identical server. This is a virtualbox, but same operating system and again netdata is under /opt.
“Ubuntu 18.04.6 LTS”
netdata v1.40.0-181-g07bee1025

~# service netdata status
● netdata.service - Real time performance monitoring
   Loaded: loaded (/lib/systemd/system/netdata.service; enabled; vendor preset: enabled)
   Active: active (running) since Mon 2023-07-17 08:22:00 CEST; 1 day 1h ago
  Process: 344 ExecStartPre=/bin/chown -R netdata /run/netdata (code=exited, status=0/SUCCESS)
  Process: 343 ExecStartPre=/bin/mkdir -p /run/netdata (code=exited, status=0/SUCCESS)
  Process: 341 ExecStartPre=/bin/chown -R netdata /opt/netdata/var/cache/netdata (code=exited, status=0/SUCCESS)
  Process: 331 ExecStartPre=/bin/mkdir -p /opt/netdata/var/cache/netdata (code=exited, status=0/SUCCESS)
 Main PID: 345 (netdata)
    Tasks: 106 (limit: 4915)
   CGroup: /system.slice/netdata.service
           ├─  345 /opt/netdata/bin/srv/netdata -P /run/netdata/netdata.pid -D
           ├─  355 /opt/netdata/bin/srv/netdata --special-spawn-server
           ├─  579 /opt/netdata/usr/libexec/netdata/plugins.d/apps.plugin 1
           ├─  611 /opt/netdata/usr/libexec/netdata/plugins.d/go.d.plugin 1
           ├─  635 /opt/netdata/usr/libexec/netdata/plugins.d/ebpf.plugin 1
           ├─17805 /opt/netdata/usr/libexec/netdata/plugins.d/debugfs.plugin 1
           ├─17931 /opt/netdata/usr/libexec/netdata/plugins.d/nfacct.plugin 1
           └─22348 bash /opt/netdata/usr/libexec/netdata/plugins.d/tc-qos-helper.sh 1

Jul 18 08:22:00 gvcs1 [635]: thread with task id 673 finished
Jul 18 08:22:00 gvcs1 [635]: thread with task id 670 finished
Jul 18 08:22:00 gvcs1 [635]: thread with task id 668 finished
Jul 18 08:22:01 gvcs1 [635]: thread with task id 665 finished
Jul 18 08:22:01 gvcs1 [635]: thread with task id 669 finished
Jul 18 08:22:01 gvcs1 [635]: thread with task id 667 finished
Jul 18 08:22:01 gvcs1 [635]: thread with task id 666 finished
Jul 18 08:22:02 gvcs1 [635]: thread with task id 675 finished
Jul 18 08:22:06 gvcs1 [17805]: Zswap is disabled
Jul 18 08:22:15 gvcs1 [2641]: NFACCT process exiting

my problem is this one
Ubuntu 18.04.4 LTS
Watch: netdatactl is not in the PATH

~# /opt/netdata/bin/netdatacli version
netdata v1.40.0-181-g07bee1025
service netdata start
Failed to start netdata.service: Unit netdata.service is masked.
# service netdata status
● netdata.service
   Loaded: masked (/dev/null; bad)
   Active: inactive (dead) since Mon 2023-07-17 08:45:11 CEST; 1 day 1h ago
 Main PID: 38021 (code=exited, status=0/SUCCESS)

Jul 16 03:59:12 vb2 nfacct.plugin[41978]: NFACCT process exiting
Jul 16 07:59:14 vb2 nfacct.plugin[27571]: NFACCT process exiting
Jul 16 11:59:17 vb2 nfacct.plugin[11904]: NFACCT process exiting
Jul 16 15:59:19 vb2 nfacct.plugin[44930]: NFACCT process exiting
Jul 16 19:59:21 vb2 nfacct.plugin[29060]: NFACCT process exiting
Jul 16 23:59:23 vb2 nfacct.plugin[13336]: NFACCT process exiting
Jul 17 03:59:25 vb2 nfacct.plugin[46309]: NFACCT process exiting
Jul 17 07:59:27 vb2 nfacct.plugin[31879]: NFACCT process exiting
Jul 17 08:45:06 vb2 systemd[1]: Stopping Real time performance monitoring...
Jul 17 08:45:11 vb2 systemd[1]: Stopped Real time performance monitoring.

This installation is somewhat mystic

# ps -uafx|grep netdata
vbadm      686 14.1  6.7 16442228 2218388 ?    Sl   Apr13 19579:51  \_ /usr/lib/virtualbox/VBoxHeadless --comment netdata --startvm cb36bc52-fd57-4891-8c3b-2bb4f44679e2 --vrde config
root      6185  0.0  0.0  14780  1108 pts/0    S+   10:00   0:00                      \_ grep --color=auto netdata
netdata  37284  2.4  0.3 574020 105832 ?       SNl  Jul17  35:21 /opt/netdata/bin/srv/netdata status
netdata  37286  0.0  0.0  20876  3976 ?        SNl  Jul17   0:00  \_ /opt/netdata/bin/srv/netdata --special-spawn-server
netdata  37530  0.4  0.1 117560 33940 ?        SNl  Jul17   7:05  \_ /usr/bin/python3 /opt/netdata/usr/libexec/netdata/plugins.d/python.d.plugin 1
netdata  37550  2.4  0.0   9752  5144 ?        SNl  Jul17  35:11  \_ /opt/netdata/usr/libexec/netdata/plugins.d/apps.plugin 1
netdata  37555  0.4  0.1 774904 54216 ?        SNl  Jul17   5:52  \_ /opt/netdata/usr/libexec/netdata/plugins.d/go.d.plugin 1
netdata  42051  0.0  0.0   5164  1032 ?        SN   09:37   0:00  \_ /opt/netdata/usr/libexec/netdata/plugins.d/debugfs.plugin 1
root     42155  0.0  0.0   5152     8 ?        SN   09:37   0:00  \_ /opt/netdata/usr/libexec/netdata/plugins.d/nfacct.plugin 1
netdata  42670  0.2  0.0   1932  1500 ?        SN   09:38   0:03  \_ bash /opt/netdata/usr/libexec/netdata/plugins.d/tc-qos-helper.sh 1
netdata  38600  2.5  0.3 573776 107864 ?       SNl  Jul17  36:51 /opt/netdata/bin/srv/netdata stop
netdata  38602  0.0  0.0  20876  3984 ?        SNl  Jul17   0:00  \_ /opt/netdata/bin/srv/netdata --special-spawn-server
netdata  38866  2.3  0.0   9796  5136 ?        SNl  Jul17  34:13  \_ /opt/netdata/usr/libexec/netdata/plugins.d/apps.plugin 1
netdata  38867  0.4  0.1 117332 34000 ?        SNl  Jul17   6:56  \_ /usr/bin/python3 /opt/netdata/usr/libexec/netdata/plugins.d/python.d.plugin 1
netdata  38878  0.3  0.1 774904 53328 ?        SNl  Jul17   5:27  \_ /opt/netdata/usr/libexec/netdata/plugins.d/go.d.plugin 1
netdata  43171  0.0  0.0   5164  1032 ?        SN   09:39   0:00  \_ /opt/netdata/usr/libexec/netdata/plugins.d/debugfs.plugin 1
root     43274  0.0  0.0   5152     8 ?        SN   09:39   0:00  \_ /opt/netdata/usr/libexec/netdata/plugins.d/nfacct.plugin 1
netdata  43592  0.2  0.0   1932  1500 ?        SN   09:40   0:02  \_ bash /opt/netdata/usr/libexec/netdata/plugins.d/tc-qos-helper.sh 1
netdata  41521  2.4  0.3 575300 111212 ?       SNl  Jul17  35:26 /opt/netdata/bin/srv/netdata start
netdata  41523  0.0  0.0  20876  3980 ?        SNl  Jul17   0:00  \_ /opt/netdata/bin/srv/netdata --special-spawn-server
netdata  41753  0.4  0.1 117308 33976 ?        SNl  Jul17   6:52  \_ /usr/bin/python3 /opt/netdata/usr/libexec/netdata/plugins.d/python.d.plugin 1
netdata  41780  0.3  0.1 775160 54224 ?        SNl  Jul17   5:35  \_ /opt/netdata/usr/libexec/netdata/plugins.d/go.d.plugin 1
netdata  41785  2.3  0.0   9732  5136 ?        SNl  Jul17  34:54  \_ /opt/netdata/usr/libexec/netdata/plugins.d/apps.plugin 1
netdata  46185  0.0  0.0   5164  1032 ?        SN   09:44   0:00  \_ /opt/netdata/usr/libexec/netdata/plugins.d/debugfs.plugin 1
root     46288  0.0  0.0   5152     8 ?        SN   09:45   0:00  \_ /opt/netdata/usr/libexec/netdata/plugins.d/nfacct.plugin 1
netdata  46599  0.2  0.0   1932  1500 ?        SN   09:45   0:02  \_ bash /opt/netdata/usr/libexec/netdata/plugins.d/tc-qos-helper.sh 1
netdata  42070  2.3  0.3 577860 113764 ?       SNl  Jul17  34:21 /opt/netdata/bin/srv/netdata status
netdata  42072  0.0  0.0  20876  3976 ?        SNl  Jul17   0:00  \_ /opt/netdata/bin/srv/netdata --special-spawn-server
netdata  42327  0.4  0.1 117316 33764 ?        SNl  Jul17   6:53  \_ /usr/bin/python3 /opt/netdata/usr/libexec/netdata/plugins.d/python.d.plugin 1
netdata  42347  0.3  0.1 775160 53412 ?        SNl  Jul17   5:37  \_ /opt/netdata/usr/libexec/netdata/plugins.d/go.d.plugin 1
netdata  42352  2.3  0.0   9740  5128 ?        SNl  Jul17  34:12  \_ /opt/netdata/usr/libexec/netdata/plugins.d/apps.plugin 1
netdata  46239  0.0  0.0   5164  1032 ?        SN   09:45   0:00  \_ /opt/netdata/usr/libexec/netdata/plugins.d/debugfs.plugin 1
netdata  46669  0.2  0.0   1932  1500 ?        SN   09:45   0:02  \_ bash /opt/netdata/usr/libexec/netdata/plugins.d/tc-qos-helper.sh 1
root     47467  0.0  0.0   5152     8 ?        SN   09:47   0:00  \_ /opt/netdata/usr/libexec/netdata/plugins.d/nfacct.plugin 1
netdata  24493  2.4  0.3 572300 109584 ?       SNl  Jul17  34:34 srv/netdata status
netdata  24495  0.0  0.0  20876  3976 ?        SNl  Jul17   0:00  \_ /opt/netdata/bin/srv/netdata --special-spawn-server
netdata  24757  0.4  0.1 117300 33888 ?        SNl  Jul17   6:48  \_ /usr/bin/python3 /opt/netdata/usr/libexec/netdata/plugins.d/python.d.plugin 1
netdata  24760  2.1  0.0   9648  5072 ?        SNl  Jul17  30:14  \_ /opt/netdata/usr/libexec/netdata/plugins.d/apps.plugin 1
netdata  24769  0.3  0.1 774904 53152 ?        SNl  Jul17   5:17  \_ /opt/netdata/usr/libexec/netdata/plugins.d/go.d.plugin 1
netdata  24781  0.0  0.0   5164  1032 ?        SN   Jul17   0:13  \_ /opt/netdata/usr/libexec/netdata/plugins.d/debugfs.plugin 1
netdata  23735  0.0  0.0      0     0 ?        ZN   Jul17   0:07  \_ [bash] <defunct>
root     24115  0.0  0.0  13820  4224 ?        SNl  Jul17   0:09  \_ /opt/netdata/usr/libexec/netdata/plugins.d/ebpf.plugin 1

edit:


ll /lib/systemd/system/netdata.service
-rw-r--r-- 1 root root 3105 Jul 17 02:27 /lib/systemd/system/netdata.service

I’m not sure why it’s masked. Can you try to unmask the unit file? systemd - systemctl, how to unmask - Ask Ubuntu

on both systems is the same situation, no link to dev/null but an ascii text
I*ll look tomorror a bit deeper,. anyway thank you for your care

I did an update ofrnetdata:

root@vbhost02:/opt/netdata# usr/libexec/netdata/netdata-updater.sh 
Mi 19. Jul 08:40:46 CEST 2023 : INFO: netdata-updater.sh:  Checking if a newer version of the updater script is available.
Mi 19. Jul 08:40:46 CEST 2023 : INFO: netdata-updater.sh:  Downloading newest version of updater script.
Mi 19. Jul 08:40:47 CEST 2023 : INFO: netdata-updater.sh:  Entering /tmp/netdata-updater-8sKxHlZPez
Mi 19. Jul 08:40:48 CEST 2023 : INFO: netdata-updater.sh:  Current Version: 00104000000181
Mi 19. Jul 08:40:48 CEST 2023 : INFO: netdata-updater.sh:  Latest Version: 00104000000241
Mi 19. Jul 08:40:48 CEST 2023 : INFO: netdata-updater.sh:  Update available

  ^
  |.-.   .-.   .-.   .-.   .  netdata
  |   '-'   '-'   '-'   '-'   real-time performance monitoring, done right!
  +----+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+--->

  (C) Copyright 2017-2023, Costa Tsaousis
  All rights reserved
  Released under GPL v3+

  You are about to install netdata to this system.
  netdata will be installed at:

                    /opt/netdata

  The following changes will be made to your system:

  # USERS / GROUPS
  User 'netdata' and group 'netdata' will be added, if not present.

  # LOGROTATE
  This file will be installed if logrotate is present.

   - /etc/logrotate.d/netdata

  # SYSTEM INIT
  If a supported init system is detected, appropriate configuration will be
  installed to allow Netdata to run as a system service. We currently support
  systemd, OpenRC, LSB init scripts, and traditional init.d setups, as well as
  having experimental support for runit.


  This package can also update a netdata installation that has been
  created with another version of it.

  Your netdata configuration will be retained.
  After installation, netdata will be (re-)started.

  netdata re-distributes a lot of open source software components.
  Check its full license at:
  https://github.com/netdata/netdata/blob/master/LICENSE
Creating directory /opt/netdata
Verifying archive integrity...  100%   MD5 checksums are OK. All good.
Uncompressing netdata, the real-time performance and health monitoring system  100%  
 --- Attempt to create user/group netdata/netadata --- 
Group 'netdata' already exists.
User 'netdata' already exists.
 --- Add user netdata to required user groups --- 
Group 'docker' does not exist.
Group 'nginx' does not exist.
Group 'varnish' does not exist.
Group 'haproxy' does not exist.
User 'netdata' is already in group 'adm'.
Group 'nsd' does not exist.
User 'netdata' is already in group 'proxy'.
Group 'squid' does not exist.
Group 'ceph' does not exist.
Group 'nobody' does not exist.
Group 'I2C' does not exist.
 --- Install logrotate configuration for netdata --- 
[/opt/netdata]# chmod 644 /etc/logrotate.d/netdata 
 OK  ''

 --- Telemetry configuration --- 
You can opt out from anonymous statistics via the --disable-telemetry option, or by creating an empty file /opt/netdata/etc/netdata/.opt-out-from-anonymous-statistics 

 --- Install netdata at system init --- 
Installing systemd service...
Synchronizing state of netdata.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install enable netdata
Failed to enable unit: Unit file /etc/systemd/system/netdata.service is masked.
WARNING: Failed to enable Netdata service.
 --- Install (but not enable) netdata updater tool --- 
cat: /system/systemd/netdata-updater.timer: No such file or directory
cat: /system/systemd/netdata-updater.service: No such file or directory
Update script is located at /opt/netdata/usr/libexec/netdata/netdata-updater.sh

 --- creating quick links --- 
[/opt/netdata]# rm sbin 
 OK  ''

[/opt/netdata]# ln -s bin sbin 
 OK  ''

[/opt/netdata/usr]# rm bin 
 OK  ''

[/opt/netdata/usr]# ln -s ../bin bin 
 OK  ''

[/opt/netdata/usr]# rm sbin 
 OK  ''

[/opt/netdata/usr]# ln -s ../bin sbin 
 OK  ''

[/opt/netdata/usr]# rm local 
 OK  ''

[/opt/netdata/usr]# ln -s . local 
 OK  ''

[/opt/netdata]# rm netdata-configs 
 OK  ''

[/opt/netdata]# ln -s etc/netdata netdata-configs 
 OK  ''

[/opt/netdata]# rm netdata-web-files 
 OK  ''

[/opt/netdata]# ln -s usr/share/netdata/web netdata-web-files 
 OK  ''

[/opt/netdata]# rm netdata-plugins 
 OK  ''

[/opt/netdata]# ln -s usr/libexec/netdata netdata-plugins 
 OK  ''

[/opt/netdata]# rm netdata-dbs 
 OK  ''

[/opt/netdata]# ln -s var/lib/netdata netdata-dbs 
 OK  ''

[/opt/netdata]# rm netdata-metrics 
 OK  ''

[/opt/netdata]# ln -s var/cache/netdata netdata-metrics 
 OK  ''

[/opt/netdata]# rm netdata-logs 
 OK  ''

[/opt/netdata]# ln -s var/log/netdata netdata-logs 
 OK  ''

[/opt/netdata/etc/netdata]# rm orig 
 OK  ''

[/opt/netdata/etc/netdata]# ln -s ../../usr/lib/netdata/conf.d orig 
 OK  ''

 --- fix permissions --- 
[/opt/netdata]# chmod g+rx,o+rx /opt 
 OK  ''

[/opt/netdata]# find /opt/netdata -type d -exec chmod go+rx {} + 
 OK  ''

[/opt/netdata]# chown -R netdata:netdata /opt/netdata/var 
 OK  ''

[/opt/netdata]# chown -R root:netdata /opt/netdata/usr/libexec/netdata/plugins.d/ebpf.d 
 OK  ''

 --- changing plugins ownership and permissions --- 
[/opt/netdata]# chown root:netdata usr/libexec/netdata/plugins.d/apps.plugin 
 OK  ''

[/opt/netdata]# chown root:netdata usr/libexec/netdata/plugins.d/perf.plugin 
 OK  ''

[/opt/netdata]# chown root:netdata usr/libexec/netdata/plugins.d/slabinfo.plugin 
 OK  ''

[/opt/netdata]# chown root:netdata usr/libexec/netdata/plugins.d/debugfs.plugin 
 OK  ''

[/opt/netdata]# chown root:netdata usr/libexec/netdata/plugins.d/ioping 
 OK  ''

[/opt/netdata]# chown root:netdata usr/libexec/netdata/plugins.d/cgroup-network 
 OK  ''

[/opt/netdata]# chown root:netdata usr/libexec/netdata/plugins.d/local-listeners 
 OK  ''

[/opt/netdata]# chown root:netdata usr/libexec/netdata/plugins.d/ebpf.plugin 
 OK  ''

[/opt/netdata]# chown root:netdata usr/libexec/netdata/plugins.d/nfacct.plugin 
 OK  ''

[/opt/netdata]# chown root:netdata usr/libexec/netdata/plugins.d/python.d.plugin 
 OK  ''

[/opt/netdata]# chown root:netdata usr/libexec/netdata/plugins.d/charts.d.plugin 
 OK  ''

[/opt/netdata]# chown root:netdata usr/libexec/netdata/plugins.d/go.d.plugin 
 OK  ''

[/opt/netdata]# chown root:netdata usr/libexec/netdata/plugins.d/ioping.plugin 
 OK  ''

[/opt/netdata]# chown root:netdata usr/libexec/netdata/plugins.d/cgroup-network-helper.sh 
 OK  ''

[/opt/netdata]# setcap cap_dac_read_search,cap_sys_ptrace=ep usr/libexec/netdata/plugins.d/apps.plugin 
 OK  ''

[/opt/netdata]# setcap cap_dac_read_search=ep usr/libexec/netdata/plugins.d/slabinfo.plugin 
 OK  ''

[/opt/netdata]# setcap cap_dac_read_search=ep usr/libexec/netdata/plugins.d/debugfs.plugin 
 OK  ''

[/opt/netdata]# setcap cap_sys_admin=ep usr/libexec/netdata/plugins.d/perf.plugin 
 OK  ''

[/opt/netdata]# setcap cap_net_admin,cap_net_raw=eip usr/libexec/netdata/plugins.d/go.d.plugin 
 OK  ''

[/opt/netdata]# chmod 4750 usr/libexec/netdata/plugins.d/ioping 
 OK  ''

[/opt/netdata]# chmod 4750 usr/libexec/netdata/plugins.d/cgroup-network 
 OK  ''

[/opt/netdata]# chmod 4750 usr/libexec/netdata/plugins.d/local-listeners 
 OK  ''

[/opt/netdata]# chmod 4750 usr/libexec/netdata/plugins.d/ebpf.plugin 
 OK  ''

[/opt/netdata]# chmod 4750 usr/libexec/netdata/plugins.d/nfacct.plugin 
 OK  ''

Configure TLS certificate paths
Using /etc/ssl for TLS configuration and certificates
Save install options
 --- starting netdata --- 
 --- Restarting netdata instance --- 

Stopping all netdata threads
[/opt/netdata]# stop_all_netdata 
 OK  ''

Starting netdata using command 'systemctl start netdata'
[/opt/netdata]# systemctl start netdata 
Failed to start netdata.service: Unit netdata.service is masked.
 FAILED  ''

Attempting another netdata start using command 'systemctl start netdata'
[/opt/netdata]# systemctl start netdata 
Failed to start netdata.service: Unit netdata.service is masked.
 FAILED  ''

 WARNING  Netdata service still not started, attempting another forced restart by running '/opt/netdata/bin/netdata '

[/opt/netdata]# stop_all_netdata 
 OK  ''

[/opt/netdata]# /opt/netdata/bin/netdata 
 OK  ''


  ^
  |.-.   .-.   .-.   .-.   .-.   .  netdata  .-.   .-.   .-.   .-.   .-.   .-
  |   '-'   '-'   '-'   '-'   '-'               '-'   '-'   '-'   '-'   '-'   
  +----+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+--->

[/opt/netdata]# chmod 0644 /opt/netdata/etc/netdata/netdata.conf 
 OK  ''

Mi 19. Jul 08:41:06 CEST 2023 : INFO: netdata-updater.sh:  Switching back to /tmp/netdata-updater-7VaY6jJM4G
root@vbhost02:/opt/netdata# bin/netdatacli version
netdata v1.40.0-241-g3f82ffbb7

processes

ps -uafx|grep netdata
vbadm      686 14.1  6.7 16443048 2219376 ?    Sl   Apr13 19772:52  \_ /usr/lib/virtualbox/VBoxHeadless --comment netdata --startvm cb36bc52-fd57-4891-8c3b-2bb4f44679e2 --vrde config
root     17728  0.0  0.0  14780  1092 pts/0    S+   08:51   0:00                      \_ grep --color=auto netdata
netdata  37284  2.4  0.3 570852 108544 ?       SNl  Jul17  69:06 /opt/netdata/bin/srv/netdata status
netdata  37286  0.0  0.0  20884  3984 ?        SNl  Jul17   0:00  \_ /opt/netdata/bin/srv/netdata --special-spawn-server
netdata  37530  0.5  0.1 118632 35316 ?        SNl  Jul17  14:10  \_ /usr/bin/python3 /opt/netdata/usr/libexec/netdata/plugins.d/python.d.plugin 1
netdata  37550  2.3  0.0   9904  5204 ?        SNl  Jul17  66:26  \_ /opt/netdata/usr/libexec/netdata/plugins.d/apps.plugin 1
netdata  37555  0.4  0.1 774904 54012 ?        SNl  Jul17  11:37  \_ /opt/netdata/usr/libexec/netdata/plugins.d/go.d.plugin 1
netdata  42051  0.0  0.0   5164  1032 ?        SN   Jul18   0:14  \_ /opt/netdata/usr/libexec/netdata/plugins.d/debugfs.plugin 1
root     30677  0.0  0.0   5152     8 ?        SN   05:38   0:02  \_ /opt/netdata/usr/libexec/netdata/plugins.d/nfacct.plugin 1
netdata   8564  0.2  0.0   1932  1500 ?        SN   08:39   0:01  \_ bash /opt/netdata/usr/libexec/netdata/plugins.d/tc-qos-helper.sh 1
netdata  38867  0.3  0.1 119988 34832 ?        SNl  Jul17   9:26 /usr/bin/python3 /opt/netdata/usr/libexec/netdata/plugins.d/python.d.plugin 1
netdata  41521  2.4  0.3 572444 112876 ?       SNl  Jul17  70:20 /opt/netdata/bin/srv/netdata start
netdata  41523  0.0  0.0  20876  3980 ?        SNl  Jul17   0:00  \_ /opt/netdata/bin/srv/netdata --special-spawn-server
netdata  41753  0.4  0.1 118604 35320 ?        SNl  Jul17  14:05  \_ /usr/bin/python3 /opt/netdata/usr/libexec/netdata/plugins.d/python.d.plugin 1
netdata  41780  0.3  0.1 775160 54240 ?        SNl  Jul17  10:50  \_ /opt/netdata/usr/libexec/netdata/plugins.d/go.d.plugin 1
netdata  41785  2.3  0.0   9932  5256 ?        SNl  Jul17  67:01  \_ /opt/netdata/usr/libexec/netdata/plugins.d/apps.plugin 1
netdata  46185  0.0  0.0   5164  1032 ?        SN   Jul18   0:13  \_ /opt/netdata/usr/libexec/netdata/plugins.d/debugfs.plugin 1
root     33628  0.0  0.0   5152     8 ?        SN   05:45   0:02  \_ /opt/netdata/usr/libexec/netdata/plugins.d/nfacct.plugin 1
netdata  14116  0.2  0.0   1932  1500 ?        SN   08:46   0:00  \_ bash /opt/netdata/usr/libexec/netdata/plugins.d/tc-qos-helper.sh 1
netdata  42070  2.3  0.3 572368 111844 ?       SNl  Jul17  66:41 /opt/netdata/bin/srv/netdata status
netdata  42072  0.0  0.0  20884  3984 ?        SNl  Jul17   0:00  \_ /opt/netdata/bin/srv/netdata --special-spawn-server
netdata  42327  0.4  0.1 118620 35132 ?        SNl  Jul17  13:49  \_ /usr/bin/python3 /opt/netdata/usr/libexec/netdata/plugins.d/python.d.plugin 1
netdata  42347  0.4  0.1 775160 54252 ?        SNl  Jul17  11:24  \_ /opt/netdata/usr/libexec/netdata/plugins.d/go.d.plugin 1
netdata  42352  2.3  0.0   9792  5172 ?        SNl  Jul17  65:10  \_ /opt/netdata/usr/libexec/netdata/plugins.d/apps.plugin 1
netdata  46239  0.0  0.0   5164  1032 ?        SN   Jul18   0:11  \_ /opt/netdata/usr/libexec/netdata/plugins.d/debugfs.plugin 1
root     34537  0.0  0.0   5152     8 ?        SN   05:47   0:02  \_ /opt/netdata/usr/libexec/netdata/plugins.d/nfacct.plugin 1
netdata  14204  0.2  0.0   1932  1500 ?        SN   08:46   0:00  \_ bash /opt/netdata/usr/libexec/netdata/plugins.d/tc-qos-helper.sh 1
netdata  24493  2.4  0.3 574568 112000 ?       SNl  Jul17  67:50 srv/netdata status
netdata  24495  0.0  0.0  20884  3984 ?        SNl  Jul17   0:00  \_ /opt/netdata/bin/srv/netdata --special-spawn-server
netdata  24757  0.4  0.1 118588 35236 ?        SNl  Jul17  13:50  \_ /usr/bin/python3 /opt/netdata/usr/libexec/netdata/plugins.d/python.d.plugin 1
netdata  24760  2.1  0.0   9816  5164 ?        SNl  Jul17  58:35  \_ /opt/netdata/usr/libexec/netdata/plugins.d/apps.plugin 1
netdata  24769  0.3  0.1 774904 52664 ?        SNl  Jul17  10:24  \_ /opt/netdata/usr/libexec/netdata/plugins.d/go.d.plugin 1
netdata  10488  0.2  0.0  10188  2976 ?        SN   08:41   0:01  \_ bash /opt/netdata/usr/libexec/netdata/plugins.d/tc-qos-helper.sh 1
root     10489  0.0  0.0    420     8 ?        SN   08:41   0:00  \_ /opt/netdata/usr/libexec/netdata/plugins.d/nfacct.plugin 1
netdata  10490  0.0  0.0    444   252 ?        SN   08:41   0:00  \_ /opt/netdata/usr/libexec/netdata/plugins.d/debugfs.plugin 1
netdata  43171  0.0  0.0   5164  1032 ?        SN   Jul18   0:12 /opt/netdata/usr/libexec/netdata/plugins.d/debugfs.plugin 1
netdata   9973  2.7  0.2 538812 76036 ?        SNl  08:41   0:17 /opt/netdata/bin/srv/netdata
netdata   9976  0.0  0.0  19392  3588 ?        SNl  08:41   0:00  \_ /opt/netdata/bin/srv/netdata --special-spawn-server
netdata  10213  0.2  0.0   1932  1504 ?        SN   08:41   0:01  \_ bash /opt/netdata/usr/libexec/netdata/plugins.d/tc-qos-helper.sh 1
netdata  10227  0.0  0.0    444   256 ?        SN   08:41   0:00  \_ /opt/netdata/usr/libexec/netdata/plugins.d/debugfs.plugin 1
netdata  10228  0.6  0.0 115720 32348 ?        SNl  08:41   0:03  \_ /usr/bin/python3 /opt/netdata/usr/libexec/netdata/plugins.d/python.d.plugin 1
netdata  10230  0.4  0.1 774904 52388 ?        SNl  08:41   0:03  \_ /opt/netdata/usr/libexec/netdata/plugins.d/go.d.plugin 1
netdata  10247  2.6  0.0   5164  4228 ?        SNl  08:41   0:17  \_ /opt/netdata/usr/libexec/netdata/plugins.d/apps.plugin 1
root     10248  0.0  0.0    420     8 ?        SN   08:41   0:00  \_ /opt/netdata/usr/libexec/netdata/plugins.d/nfacct.plugin 1
root     10993  0.4  0.0  10252  3496 ?        SNl  08:41   0:02  \_ /opt/netdata/usr/libexec/netdata/plugins.d/ebpf.plugin 1
root@vb2:/opt/netdata# 

The cloud is working continous. showing old version v1.40.0-181
local on 19999 too.
So the netdata could not restartet
(as reported obove) How about force deinstallation, but saving the claimed keys and try a fresh install?

There a appears to be multiple instances of netdata running… ? Could you restart the vm ?

Ok, have to claim a maintenance window

to make the story short.
made a new try after reboot the host. Did install with the provided wget url.
After setting systemctl unmask netdata.service and killing all netdata processes I was able to use
service netdata start/status/stop
Now it is running.

I did yesterday a restore of the dbengine whitch I saved bevor the static update installation begun, with seems the reason for this:

Alerts (1)
netdata.dbengine_global_errors
10min_dbengine_global_io_errors
48 errors

How can I fix this? Simply stop netdata, remove dbendin* and start?
ohh, the problem is vanished…