Updated: 28 September 2026 · Applies to: CloudLinux OS with lve-stats 2
On CloudLinux servers, the lveinfo command and the statistics in CloudLinux Manager read from the lve-stats database. If they show nothing or print a database error (for example database disk image is malformed), the database file is damaged and can be recreated. This is a task for the server administrator (root).
- Stop the statistics service:
service lvestats stop. - Back up the current data:
tar -zcvf /root/lveinfo_backup_$(date +%F).tar.gz /var/lve/. - Move the damaged database away:
mv /var/lve/lvestats2.db /var/lve/lvestats2.db.old. - Create a new, empty database:
lve-create-db --recreate. - Start the service again:
service lvestats start. - After a few minutes, check with
lveinfo.
Statistics collected before the rebuild are not in the new database. If the problem returns, check free disk space (df -h /var) and contact CloudLinux support.
Note: Ucartz shared hosting runs on CloudLinux and is maintained by our team. As a hosting customer you see your resource usage in cPanel under Metrics › Resource Usage; you do not need to run these commands.