How to Force Reinstall cPanel & WHM
As with software on desktop computers, you may often find it necessary or useful to reinstall the operating system on your Web server. The cPanel control panel can be reinstalled with a series of functions in the command line. This requires secure shell (SSH) access if attempting to connect to the website remotely. SSH allows you to gain command line access as if you were on the computer in person.
Instructions
-
-
1
Log in to your Web server via SSH.
-
2
Type "mkdir /tempreinstall" and press "Enter." Type "cd /tempreinstall" and press "Enter."
-
-
3
Type "yum reinstall *" and press "Enter." Type "cd /" and press "Enter." Then type "rm /tempreinstall" and press "Enter."
-
4
Type "/scripts/upcp --force" and press "Enter."
-
5
Type /usr/local/cpanel/bin/update-roundcube --force" and press "Enter." Type "/usr/local/cpanel/bin/update-horde ---force" and press "Enter." Type "/usr/local/cpanel/bin/update-squirrelmail ---force" and press "Enter." Type "/scripts/mysqlup --force" and press "Enter."
-
1