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 :

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

Related Articles

cPHulk Brute Force Protection

WHM/cPanel has a service, protected from Brute Force attack, which is called “cPHulk Brute Force...

Enable SSH key authorized login without root password

You need to generate SSH Key ( the private key )on your cpanel server and then update remote...

How can I Redirect URLs in cPanel

Login your cpanel 1. Click the Redirects button on the front page under the “domains” 2. Enter...

Enable Custom php.ini for Fast CGI

With fast-cgi, custom php.ini needs to be in the cgi-bin folder. 1) Move php.ini to cgi-bin...

ConfigServer Firewall CSF installation

ConfigServer firewall is a popular linux firewall security suite. It is easy to install, flexible...

Powered by WHMCompleteSolution