Base class package Cpanel::Easy::Utils::CloudLinux is empty

While executing EasyApache on one of my servers, I  was getting the error “Base class package “Cpanel::Easy::Utils::CloudLinux” is empty”  and I tried executing upcp  and /scripts/checkperlmodules –full –force but of no avail.

Further investigating on this, I have found that the file /var/cpanel/perl/easy/Cpanel/Easy/Utils/CloudLinux.pm was empty and hence EasyApache throwing the error “Base class package “Cpanel::Easy::Utils::CloudLinux” is empty”.

This can be easily fixed by following  the below simple steps ::

root@server~[#] cd /var/cpanel/perl/easy/Cpanel/Easy/Utils
root@server~[#] mv CloudLinux.pm CloudLinux.pm-ORI

and execute the below command to  re-sync the files ::

root@server~[#] /usr/local/cpanel/scripts/cpanel_easy_sanity_check

That’s all and now EasyApache working fine as expected.