Introduction
If the lvestats database for CloudLinux appears to be corrupt, you can move it aside and recreate it.
A common symptom is the following message displayed on the Statistics tab in the LVE Manager:
NO STATISTICS FOUND FOR SELECTED PERIOD
Procedure
- Access your server using SSH as the root user
- Stop the lvestats service:
systemctl stop lvestats
- Make an archive of the current data for safety:
tar -zcvf /root/lveinfo_backup_$(date +%Y-%m-%d).tar.gz /var/lve/
- Move the lvestats database to a backup file:
mv /var/lve/lvestats2.db{,.$( date +%Y%m%d )} -v - Recreate an empty database:
lve-create-db --recreate
- Restart the lvestats service:
systemctl start lvestats
Comments
0 comments
Article is closed for comments.