cPanel :: upcp failed, exited with code 25
I noticed below error while updating cPanel to latest one of the server:
Running `/usr/local/cpanel/scripts/updatenow --upcp --log=/var/cpanel/updatelogs/update.9320814564.log` failed, exited with code 25 (signal = 0)
Below was the OS installed on the server :
Further found that the cPanel config had the OS information missing as below :
[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:
[email protected] [~]#
I corrected the OS rpm_dist_ver under the config file and the upcp worked fine :