cPanel error viewing CloudLinux stats

cPanel error viewing CloudLinux stats

When cpanel + cloudlinux lvestats within cpanel shows the below error :

Modification of non-creatable array value attempted, subscript -1 at /usr/local/cpanel/Cpanel/LVEInfo.pm line 573.
...caught at cpanel.pl line 1813.
at cpanel.pl line 1813.
cpanel::cpanel::_api1("LVEInfo", "lveinfo", "print_usage_overview()", "print_usage_overview", ARRAY(0x6e46278), "safe_html_encode") called at /usr/local/cpanel/Cpanel/Template/Plugin/Api1.pm line 94
eval {...} called at /usr/local/cpanel/Cpanel/Template/Plugin/Api1.pm line 94

The fix is to reset the lveinfo.db db. However, this will reset the stats so on the next page load there will not be stats for the last 24 hours.

To reset the db:

$ service lvestats stop
$ mv /var/lve/lveinfo.db /root
$ service lvestats restart; cldetect --update-license


If you need any further assistance please contact our support department.
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Advantages of CloudLinux

Advantages of CloudLinux The CloudLinux OS enhances server strength, security, adaptability, and...

CloudLinux NodeJS Support for cPanel

CloudLinux NodeJS Support for cPanel Node.js is an open-source, cross-stage JavaScript runtime...

How to Enable Xcache via cPanel-CloudLinux

How to Enable Xcache via cPanel-CloudLinux You can manage the PHP directives on a CloudLinux...

How to Install CloudLinux OS on CentOS Server with cPanel

How to Install CloudLinux OS on CentOS Server with cPanel In this tutorial, we can check how to...

Install DNF in RHEL/CentOS 7

Install DNF in RHEL/CentOS 7 DNF stands for Dandified yum. DNF is a software package manager for...