Cpanel update failure in upcp

bltst2

Member
Jun 10, 2008
6
0
51
I'm getting the following error when CPanel tries to update. I'm not seeing much info on this error and I'm stuck. Any ideas?

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

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,202
363
Hello :)

Please run the following commands and post the output:
Code:
# cat /etc/redhat-release
# cat /var/cpanel/sysinfo.config
Check to make sure "rpm_dist_ver" is not configured as "unknown". It should match the major version of the OS.

Thank you.
 

bltst2

Member
Jun 10, 2008
6
0
51
Looks good! Thanks for the quick help. I'll post my fix in case anyone else gets this error.

Here are my results. All fixed:
Code:
+-([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
 

anasone

Member
Oct 27, 2013
6
0
1
cPanel Access Level
Root Administrator
also me same problem. i had tons of emails
Code:
Cpanel update failure in upcp
and
Cpanel update failure during updatenow
Code:
[email protected] [~]# cat /etc/redhat-release
CentOS release 6.4 (Final)

[email protected] [~]# cat /var/cpanel/sysinfo.config

# This values in this file are calculated and updated if necessary nightly. If you wish to override
# these values, populate lock= with a comma delimited list of keys you don't want updated.
# This will allow you to change those values to suit your needs.
#
# Example: if you set lock like this, then rpm_dist and rpm_arch will not be updated nightly:
# lock=rpm_dist,rpm_arch
#
ises=2
lock=
release=6.4
rpm_arch=x86_64
rpm_dist=centos
rpm_dist_ver=6