升级后 NetData 未显示正确的版本

升级后 NetData 未显示正确的版本

我前段时间安装了 netdata,根据官方说明,如果 .envoronment 文件不可用,那么只需重新安装旧文件即可。

完成此操作后,我遇到以下问题:

/opt/netdata/bin/netdata -version Says: netdata 1.11.1_rolling

但如果我尝试升级我的系统则显示:

netdata is already the newest version (1.9.0+dfsg-1)

systemctl status netdata

演出:

root@vps344333:~# systemctl status netdata
● netdata.service - netdata - Real-time performance monitoring
   Loaded: loaded (/lib/systemd/system/netdata.service; enabled; vendor preset: enabled)
  Drop-In: /etc/systemd/system/netdata.service.d
           └─limits.conf
   Active: active (running) since Mon 2021-07-19 14:58:07 CEST; 17min ago
     Docs: man:netdata
           file:///usr/share/doc/netdata/html/index.html
           https://github.com/firehol/netdata
 Main PID: 20040 (netdata)
    Tasks: 14 (limit: 4587)
   CGroup: /system.slice/netdata.service
           ├─20040 /usr/sbin/netdata -D
           ├─20071 bash /usr/lib/x86_64-linux-gnu/netdata/plugins.d/tc-qos-helper.sh 3
           └─20075 /usr/lib/x86_64-linux-gnu/netdata/plugins.d/apps.plugin 3

Jul 19 14:58:08 vps344333 netdata[20040]: 2021-07-19 14:58:08: netdata ERROR: PLUGINSD: '/usr/lib/x86_64-linux-gnu/netdata/plugins.d/node.d.plugin' exited wi
Jul 19 14:58:08 vps344333 netdata[20040]: 2021-07-19 14:58:08: netdata INFO : PLUGINSD: '/usr/lib/x86_64-linux-gnu/netdata/plugins.d/node.d.plugin' thread ex
Jul 19 14:58:38 vps344333 netdata[20040]: 2021-07-19 14:58:38: netdata INFO : PLUGINSD: '/usr/lib/x86_64-linux-gnu/netdata/plugins.d/charts.d.plugin' thread
Jul 19 14:58:40 vps344333 netdata[20040]: 2021-07-19 14:58:40: cgroup-name.sh: INFO: cgroup 'system.slice_lxd.socket' is called 'system.slice_lxd.socket'
Jul 19 14:58:40 vps344333 netdata[20040]: sh: 1: exec: /usr/lib/x86_64-linux-gnu/netdata/plugins.d/cgroup-network: not found
Jul 19 14:58:40 vps344333 netdata[20040]: 2021-07-19 14:58:40: netdata ERROR: child pid 20270 exited with code 127. (errno 9, Bad file descriptor)
Jul 19 14:58:40 vps344333 netdata[20040]: 2021-07-19 14:58:40: cgroup-name.sh: INFO: cgroup 'system.slice_lxcfs.service' is called 'system.slice_lxcfs.servic
Jul 19 14:58:40 vps344333 netdata[20040]: 2021-07-19 14:58:40: cgroup-name.sh: INFO: cgroup 'system.slice_snapd.socket' is called 'system.slice_snapd.socket'
Jul 19 14:58:40 vps344333 netdata[20040]: sh: 1: exec: /usr/lib/x86_64-linux-gnu/netdata/plugins.d/cgroup-network: not found
Jul 19 14:58:40 vps344333 netdata[20040]: 2021-07-19 14:58:40: netdata ERROR: child pid 20279 exited with code 127. (errno 9, Bad file descriptor)`

如果您有任何解决此问题的想法,我们将不胜感激。

非常感谢

答案1

也许您使用包管理器而不是 kickstart.sh 脚本安装了 Netdata?如果是这样,最好通过包管理器将其删除,然后运行 ​​bash <(curl -Sshttps://my-netdata.io/kickstart.sh

相关内容