Fault phenomenon

There is no data in the Proxmox performance display interface, and the time is 1970-01-01

Solution

  1. ** Synchronize system time and hardware time **: First ensure that the system time and hardware time are correct and synchronized:

    # 设置正确的系统时间(例如:2025-01-13 10:00:00)
    date -s "2025-01-13 10:00:00"
    
    # 同步系统时间到硬件时钟
    hwclock -w
    
    # 检查硬件时钟时间
    hwclock
  2. ** Restart PVE service **: After modifying the time, restart related services to ensure normal operation:

    systemctl restart pve-cluster
    systemctl restart pveproxy
    systemctl restart pvedaemon
  3. ** Clean up the rrd data cache ** (optional): If the time error is serious, you may need to clean up and rebuild the RRD data:

    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
  4. ** Verification NTP configuration **: Use NTP service to ensure automatic system time synchronization:

    apt update
    apt install ntp
    systemctl enable ntp
    systemctl start ntp
    ntpq -p

    如果不需要 NTP,可以手动设置时间,但建议保持系统和硬件时钟同步。

  5. ** Refresh the Web interface **: Log in to the Proxmox Web UI again and check whether the memory chart returns to normal.