GICT knowledge base
cPanel error viewing CloudLinux stats
Published
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.
Related guides
What Happens When Your CloudLinux License Expires?
What Happens When Your CloudLinux License Expires? If you are running a web server—especially one with a control panel like cPanel—CloudLinux is an essential tool for...
CloudLinux6 Best Linux Distros for Gaming and Playing Windows Games
Discover the 6 best Linux distros for gaming, learn their pros and cons, and optimize your gaming experience on Linux.
CloudLinuxCloudLinux NodeJS Support for cPanel
CloudLinux NodeJS Support for cPanelNode.js is an open-source, cross-stage JavaScript runtime environment for building up a different assortment of
CloudLinuxUpgrade MariaDB or MySQL Version in Linux
Upgrade MariaDB or MySQL Version in Linux. In this tutorial, you are going to upgrade your MariaDB version from 5.5 to 10.0/10.1/10.2 or MySQL from
