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).

  1. Stop the statistics service: service lvestats stop.
  2. Back up the current data: tar -zcvf /root/lveinfo_backup_$(date +%F).tar.gz /var/lve/.
  3. Move the damaged database away: mv /var/lve/lvestats2.db /var/lve/lvestats2.db.old.
  4. Create a new, empty database: lve-create-db --recreate.
  5. Start the service again: service lvestats start.
  6. 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.

Related services

KVM VPS hosting

NVMe SSD and full root access, with Free Basic Managed Support.

Managed cPanel VPS

cPanel included; we handle updates, security and monitoring.

Server management

on-demand administration, hardening, migrations and monitoring.

Was this answer helpful?

Still stuck? Open a ticket