upcp errors on your cpanel update

Most of time cpanel update won’t get any errors and shows like cpanel update failure in upcp. If you getting the following error when cPanel tries to update.

 Running `/usr/local/cpanel/scripts/updatenow –upcp –log=/var/cpanel/updatelogs/update.12522061.log` failed, exited with code 25 (signal = 0)

Check the following files which is OS version and cpanel sysinfo configuration.

cat /etc/redhat-release

cat /var/cpanel/sysinfo.config

open your /var/cpanel/sysinfo.config file and  make sure “rpm_dist_ver” is not configured as “unknown”.  It should match the major version of the OS.

change like rpm_dist_ver=5  if you OS is 5.9.

For example :

+-([email protected])(04:51:50)
+-(~)->cat /etc/redhat-release
CentOS release 5.9 (Final)

+-([email protected])(04:44:19)
+-(~)->cat /var/cpanel/sysinfo.config
ises=2
lock=
release=5.9
rpm_arch=
rpm_dist=centos
rpm_dist_ver=unknown

+-([email protected])(04:44:57)
+-(~)->/usr/local/cpanel/scripts/gensysinfo
/var/cpanel/sysinfo.config updated.

+-([email protected])(04:45:35)
+-(~)->cat /var/cpanel/sysinfo.config
ises=2
lock=
release=5.9
rpm_arch=i386
rpm_dist=centos
rpm_dist_ver=5
5.00 avg. rating (96% score) - 2 votes
Website Pin Facebook Twitter Myspace Friendfeed Technorati del.icio.us Digg Google StumbleUpon Premium Responsive