You may come across this error after server upgrades or server migrations. This may appear while loading WHM or you may experience this while running easyapache script or /scripts/rebuildhttpdconf

The exact error that comes in easy apache case with few preceding lines is below :


Updating Apache configuration
Distilled successfully
read error at /usr/local/cpanel/Cpanel/Locale/Utils.pm line 126

This is usually caused by corruption or problems with /var/cpanel/locale and can be fixed be renaming the locale folder followed by upgrade cpanel script. i.e. you can fixed it by issuing below commands :


mv /var/cpanel/locale /var/cpanel/locale.old
/scripts/upcp --force

Once the upcp script finishes the problem should be solved.

Tags: , , , ,

Leave a Reply