lvestats-server: class sqlite3.OperationalError: no such table: history

Sometimes on a Cloudlinux server, you may receive following error in /var/log/messages

lvestats-server: <class 'sqlite3.OperationalError'>: no such table: history

The error is due to inconsistent lvestats database missing some fields and it can be recreated by

# /etc/init.d/lvestats stop

# mv /var/lve/lveinfo.db /var/lve/lveinfo.db_bad

# /etc/init.d/lvestats start

Bookmark the permalink.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.