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
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

cPanel & WHM Version 74 Now in STABLE

cPanel has released cPanel & WHM Version 74 to the STABLE tier. It includes updates for some...

Installing cpanel on google cloud

Create a new CentOS 7 instance on your google cloud engine. From the cPanel & WHM System...

Install Free SSL Let’s Encrypt plugin in cPanel

Let’s Encrypt is a trusted, open source certificate authority that offers free SSL certificates...

Replace MySQL with Percona in cPanel Server

Percona Server is an enhanced drop-in replacement for MySQL. If you are a web hosting service...

Install nginx as a reverse proxy cPanel plugin

Install Nginx on your cPanel/WHM server using the Engintron cPanel Plugin as a reverse proxy. It...

Powered by WHMCompleteSolution