1168 字
6 分钟
解决 PVE 监控图表信息无法显示的问题
前言
偶然间发现软路由的 PVE 监控图表无法显示(图片为解决后截图)。

查看系统日志,rddcached 一直在报错,重启 PVE 无法解决。

Jan 28 20:45:00 pve systemd[1]: Starting Proxmox VE replication runner...Jan 28 20:45:01 pve systemd[1]: pvesr.service: Succeeded.Jan 28 20:45:01 pve systemd[1]: Started Proxmox VE replication runner.Jan 28 20:45:03 pve pmxcfs[744]: [status] notice: RRDC update error /var/lib/rrdcached/db/pve2-node/pve: -1Jan 28 20:45:03 pve pmxcfs[744]: [status] notice: RRD update error /var/lib/rrdcached/db/pve2-node/pve: /var/lib/rrdcached/db/pve2-node/pve: illegal attempt to update using time 1611837903 when last update time is 1611848739 (minimum one second step)Jan 28 20:45:03 pve pmxcfs[744]: [status] notice: RRDC update error /var/lib/rrdcached/db/pve2-vm/100: -1Jan 28 20:45:03 pve pmxcfs[744]: [status] notice: RRD update error /var/lib/rrdcached/db/pve2-vm/100: /var/lib/rrdcached/db/pve2-vm/100: illegal attempt to update using time 1611837903 when last update time is 1611848739 (minimum one second step)Jan 28 20:45:04 pve pmxcfs[744]: [status] notice: RRDC update error /var/lib/rrdcached/db/pve2-storage/pve/local-lvm: -1Jan 28 20:45:04 pve pmxcfs[744]: [status] notice: RRD update error /var/lib/rrdcached/db/pve2-storage/pve/local-lvm: /var/lib/rrdcached/db/pve2-storage/pve/local-lvm: illegal attempt to update using time 1611837903 when last update time is 1611848609 (minimum one second step)Jan 28 20:45:04 pve pmxcfs[744]: [status] notice: RRDC update error /var/lib/rrdcached/db/pve2-storage/pve/local: -1Jan 28 20:45:04 pve pmxcfs[744]: [status] notice: RRD update error /var/lib/rrdcached/db/pve2-storage/pve/local: /var/lib/rrdcached/db/pve2-storage/pve/local: illegal attempt to update using time 1611837903 when last update time is 1611848739 (minimum one second step)Jan 28 20:45:13 pve pmxcfs[744]: [status] notice: RRDC update error /var/lib/rrdcached/db/pve2-node/pve: -1Jan 28 20:45:13 pve pmxcfs[744]: [status] notice: RRD update error /var/lib/rrdcached/db/pve2-node/pve: /var/lib/rrdcached/db/pve2-node/pve: illegal attempt to update using time 1611837913 when last update time is 1611848739 (minimum one second step)Jan 28 20:45:13 pve pmxcfs[744]: [status] notice: RRDC update error /var/lib/rrdcached/db/pve2-vm/100: -1Jan 28 20:45:13 pve pmxcfs[744]: [status] notice: RRD update error /var/lib/rrdcached/db/pve2-vm/100: /var/lib/rrdcached/db/pve2-vm/100: illegal attempt to update using time 1611837913 when last update time is 1611848739 (minimum one second step)Jan 28 20:45:13 pve pmxcfs[744]: [status] notice: RRDC update error /var/lib/rrdcached/db/pve2-storage/pve/local: -1Jan 28 20:45:13 pve pmxcfs[744]: [status] notice: RRD update error /var/lib/rrdcached/db/pve2-storage/pve/local: /var/lib/rrdcached/db/pve2-storage/pve/local: illegal attempt to update using time 1611837913 when last update time is 1611848739 (minimum one second step)Jan 28 20:45:13 pve pmxcfs[744]: [status] notice: RRDC update error /var/lib/rrdcached/db/pve2-storage/pve/local-lvm: -1Jan 28 20:45:13 pve pmxcfs[744]: [status] notice: RRD update error /var/lib/rrdcached/db/pve2-storage/pve/local-lvm: /var/lib/rrdcached/db/pve2-storage/pve/local-lvm: illegal attempt to update using time 1611837913 when last update time is 1611848609 (minimum one second step)Jan 28 20:45:23 pve pmxcfs[744]: [status] notice: RRDC update error /var/lib/rrdcached/db/pve2-node/pve: -1Jan 28 20:45:23 pve pmxcfs[744]: [status] notice: RRD update error /var/lib/rrdcached/db/pve2-node/pve: /var/lib/rrdcached/db/pve2-node/pve: illegal attempt to update using time 1611837923 when last update time is 1611848739 (minimum one second step)Jan 28 20:45:23 pve pmxcfs[744]: [status] notice: RRDC update error /var/lib/rrdcached/db/pve2-vm/100: -1Jan 28 20:45:23 pve pmxcfs[744]: [status] notice: RRD update error /var/lib/rrdcached/db/pve2-vm/100: /var/lib/rrdcached/db/pve2-vm/100: illegal attempt to update using time 1611837923 when last update time is 1611848739 (minimum one second step)Jan 28 20:45:23 pve pmxcfs[744]: [status] notice: RRDC update error /var/lib/rrdcached/db/pve2-storage/pve/local-lvm: -1Jan 28 20:45:23 pve pmxcfs[744]: [status] notice: RRD update error /var/lib/rrdcached/db/pve2-storage/pve/local-lvm: /var/lib/rrdcached/db/pve2-storage/pve/local-lvm: illegal attempt to update using time 1611837923 when last update time is 1611848609 (minimum one second step)Jan 28 20:45:23 pve pmxcfs[744]: [status] notice: RRDC update error /var/lib/rrdcached/db/pve2-storage/pve/local: -1Jan 28 20:45:23 pve pmxcfs[744]: [status] notice: RRD update error /var/lib/rrdcached/db/pve2-storage/pve/local: /var/lib/rrdcached/db/pve2-storage/pve/local: illegal attempt to update using time 1611837923 when last update time is 1611848739 (minimum one second step)Jan 28 20:45:33 pve pmxcfs[744]: [status] notice: RRDC update error /var/lib/rrdcached/db/pve2-node/pve: -1Jan 28 20:45:33 pve pmxcfs[744]: [status] notice: RRD update error /var/lib/rrdcached/db/pve2-node/pve: /var/lib/rrdcached/db/pve2-node/pve: illegal attempt to update using time 1611837933 when last update time is 1611848739 (minimum one second step)Jan 28 20:45:33 pve pmxcfs[744]: [status] notice: RRDC update error /var/lib/rrdcached/db/pve2-vm/100: -1Jan 28 20:45:33 pve pmxcfs[744]: [status] notice: RRD update error /var/lib/rrdcached/db/pve2-vm/100: /var/lib/rrdcached/db/pve2-vm/100: illegal attempt to update using time 1611837933 when last update time is 1611848739 (minimum one second step)Jan 28 20:45:33 pve pmxcfs[744]: [status] notice: RRDC update error /var/lib/rrdcached/db/pve2-storage/pve/local: -1Jan 28 20:45:33 pve pmxcfs[744]: [status] notice: RRD update error /var/lib/rrdcached/db/pve2-storage/pve/local: /var/lib/rrdcached/db/pve2-storage/pve/local: illegal attempt to update using time 1611837933 when last update time is 1611848739 (minimum one second step)Jan 28 20:45:33 pve pmxcfs[744]: [status] notice: RRDC update error /var/lib/rrdcached/db/pve2-storage/pve/local-lvm: -1Jan 28 20:45:33 pve pmxcfs[744]: [status] notice: RRD update error /var/lib/rrdcached/db/pve2-storage/pve/local-lvm: /var/lib/rrdcached/db/pve2-storage/pve/local-lvm: illegal attempt to update using time 1611837933 when last update time is 1611848609 (minimum one second step)Jan 28 20:45:43 pve pmxcfs[744]: [status] notice: RRDC update error /var/lib/rrdcached/db/pve2-node/pve: -1Jan 28 20:45:43 pve pmxcfs[744]: [status] notice: RRD update error /var/lib/rrdcached/db/pve2-node/pve: /var/lib/rrdcached/db/pve2-node/pve: illegal attempt to update using time 1611837943 when last update time is 1611848739 (minimum one second step)Jan 28 20:45:43 pve pmxcfs[744]: [status] notice: RRDC update error /var/lib/rrdcached/db/pve2-vm/100: -1Jan 28 20:45:43 pve pmxcfs[744]: [status] notice: RRD update error /var/lib/rrdcached/db/pve2-vm/100: /var/lib/rrdcached/db/pve2-vm/100: illegal attempt to update using time 1611837943 when last update time is 1611848739 (minimum one second step)Jan 28 20:45:44 pve pmxcfs[744]: [status] notice: RRDC update error /var/lib/rrdcached/db/pve2-storage/pve/local: -1Jan 28 20:45:44 pve pmxcfs[744]: [status] notice: RRD update error /var/lib/rrdcached/db/pve2-storage/pve/local: /var/lib/rrdcached/db/pve2-storage/pve/local: illegal attempt to update using time 1611837943 when last update time is 1611848739 (minimum one second step)Jan 28 20:45:44 pve pmxcfs[744]: [status] notice: RRDC update error /var/lib/rrdcached/db/pve2-storage/pve/local-lvm: -1Jan 28 20:45:44 pve pmxcfs[744]: [status] notice: RRD update error /var/lib/rrdcached/db/pve2-storage/pve/local-lvm: /var/lib/rrdcached/db/pve2-storage/pve/local-lvm: illegal attempt to update using time 1611837943 when last update time is 1611848609 (minimum one second step)Jan 28 20:45:53 pve pmxcfs[744]: [status] notice: RRDC update error /var/lib/rrdcached/db/pve2-node/pve: -1Jan 28 20:45:53 pve pmxcfs[744]: [status] notice: RRD update error /var/lib/rrdcached/db/pve2-node/pve: /var/lib/rrdcached/db/pve2-node/pve: illegal attempt to update using time 1611837953 when last update time is 1611848739 (minimum one second step)Jan 28 20:45:53 pve pmxcfs[744]: [status] notice: RRDC update error /var/lib/rrdcached/db/pve2-vm/100: -1Jan 28 20:45:53 pve pmxcfs[744]: [status] notice: RRD update error /var/lib/rrdcached/db/pve2-vm/100: /var/lib/rrdcached/db/pve2-vm/100: illegal attempt to update using time 1611837953 when last update time is 1611848739 (minimum one second step)Jan 28 20:45:53 pve pmxcfs[744]: [status] notice: RRDC update error /var/lib/rrdcached/db/pve2-storage/pve/local: -1Jan 28 20:45:53 pve pmxcfs[744]: [status] notice: RRD update error /var/lib/rrdcached/db/pve2-storage/pve/local: /var/lib/rrdcached/db/pve2-storage/pve/local: illegal attempt to update using time 1611837953 when last update time is 1611848739 (minimum one second step)Jan 28 20:45:53 pve pmxcfs[744]: [status] notice: RRDC update error /var/lib/rrdcached/db/pve2-storage/pve/local-lvm: -1Jan 28 20:45:53 pve pmxcfs[744]: [status] notice: RRD update error /var/lib/rrdcached/db/pve2-storage/pve/local-lvm: /var/lib/rrdcached/db/pve2-storage/pve/local-lvm: illegal attempt to update using time 1611837953 when last update time is 1611848609 (minimum one second step)Jan 28 20:46:00 pve systemd[1]: Starting Proxmox VE replication runner...Jan 28 20:46:01 pve systemd[1]: pvesr.service: Succeeded.解决方法
经过搜索 PVE 官方社区,获得解决方法,记录一下,供大家参考。
首先查看 PVE 系统时间是否正确,不正确请先校时。
然后执行以下命令:
systemctl stop rrdcachedcd /var/lib/mv rrdcached rrdcached.bcksystemctl start rrdcachedsystemctl restart pve-cluster提示
解决 PVE 监控图表信息无法显示的问题
https://blog.devnak.win/posts/fix_pve_monitor_chart_cannot_be_displayed/