How to fix cPanel problems with MD5 and upgrade cpanel
These few commands are definitely worth trying if you are having problems with cPanel and WHM (slow loading, error messages).
rm -f /usr/local/cpanel/cpanel /scripts/installgd /scripts/cleanmd5 /scripts/upcp
This will - delete the main cpanel program (causing it to be reinstalled completely), reinstall the GD perl graphics library, fix any MD5 problems (a common cause of problems on cPanel) and then do a cPanel upgrade.
Make sure you let all commands complete successfully, this may take a while!
