故障现象 Proxmox 性能显示界面无数据,且时间为1970-01-01 解决方法 同步系统时间和硬件时间: 先确保系统时间和硬件时间是正确且同步的: # 设置正确的系统时间(例如:2025-01-13 10:00:00) date -s "2025-01-13 10:00:00" 1. 同步系统时间到硬件时钟 hwclock -w 1. 检查硬件时钟时间 hwclock 重启 PVE 服务: 修改时间后,重启相关服务以确保正常运行: systemctl restart pve-cluster systemctl restart pveproxy systemctl restart pvedaemon 清理 rrd 数据缓存(可选): 如果时间错乱严重,可能需要清理并重建 RRD 数据: systemctl stop pve-cluster rm -rf /var/lib/rrdcached/db/pve2-node/ rm -rf /var/lib/rrdcached/db/pve2-storage/ rm -rf /var/lib/rrdcached/db/pve2-vm/ systemctl start pve-cluster 验证 NTP 配置: 使用 NTP 服务确保系统时间自动同步: apt update apt install ntp systemctl enable ntp systemctl start ntp ntpq -p 如果不需要 NTP,可以手动设置时间,但建议保持系统和硬件时钟同步。 刷新 Web 界面: 重新登录 Proxmox 的 Web UI,查看内存图表是否恢复正常。

February 2, 2025 0comments 195hotness 0likes Read all