Since the release of cPanel 11.32, the cPanel update process has
extended OS checks to ensure that you are only updating cPanel on a
compatible system. Specifically, you can no longer upgrade past version
11.32 on CentOS 4, or 11.30 on Redhat 9. Trying to do so will verbosely
inform you that the upgrade is not possible.
However, if you’re running CentOS or RHEL 5 or 6 and still either see
this error or a cryptic “exited with code 6400″ message as shown below,
it’s usually a simple fix.
Running `/usr/local/cpanel/scripts/updatenow --upcp
--log=/var/cpanel/updatelogs/update.1xxxxxx.log --force` failed, exited
with code 6400
Firstly, if you run the updatenow command directly, you’ll see the error in its true form:
/usr/local/cpanel/scripts/updatenow –upcp
Results in:
Only Distro versions 5 and 6 supported in this version of cPanel & WHM
But, as you’ve already established, you are running version 5 or 6,
but upcp doesn’t seem to recognize that. To fix this, simply edit
/var/cpanel/sysinfo.config and change the value of
rpm_dist_ver to the major OS version you are running. For example, if you run CentOS/RHEL 6, you would do: