Cpanel update failure in upcp

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 :
+-(root@cPanel)(04:51:50)
+-(~)->cat /etc/redhat-release
CentOS release 5.9 (Final)

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

+-(root@cPanel)(04:44:57)
+-(~)->/usr/local/cpanel/scripts/gensysinfo
/var/cpanel/sysinfo.config updated.

+-(root@cPanel)(04:45:35)
+-(~)->cat /var/cpanel/sysinfo.config
ises=2
lock=
release=5.9
rpm_arch=i386
rpm_dist=centos
rpm_dist_ver=5

Comments

Popular posts from this blog

KVM & Qemu

PHP Fatal error: Class 'JFactory' not found

docker.errors.APIError: 400 Client Error client is newer than server