Cpanel has a lot of supporting software that you may be using on your server. In case something goes amiss, here is a list of scripts that reinstall cpanel-provided software on your system. For most all of these, you can pass a –force as an argument to force a reinstall of the application.
Update: Most of the scripts that were previously mentioned in this post have been deprecated and/or change over time. We will do our best to keep this list updated.
Remove existing MySQL RPMS
/scripts/setupftpserver [pure-ftpd|proftpd] –force
Remove existing Exim RPMs
(Deprecated as of 11.54, cannot be installed)
/scripts/setupmailserver dovecot –force (See: Installing and Configuring Dovecot)
/scripts/setupnameserver [bind|nsd|mydns] –force
(Deprecated since 11.46, cannot be installed)
/scripts/reinstallmailman (will not remove list data)