SOLVED cPanel & WHM update failure in upcp script

mojiba2

Member
Nov 12, 2014
6
0
51
cPanel Access Level
Website Owner
Hi,

I'm getting the following email in the last days:

Maintenance ended; however, it did not exit cleanly (256). The following events were logged: “scripts/rpmup”. Review the update logs to determine why the update failed.

Update log preview:
...
...
[2019-06-17 06:00:21 -0300] E [/usr/local/cpanel/scripts/rpmup] The “/usr/local/cpanel/scripts/rpmup” command (process 11003) reported error number 1 when it ended.
...
[2019-06-17 06:00:35 -0300] - Processing command `/usr/local/cpanel/bin/cloudlinux_update`
[2019-06-17 06:00:35 -0300] - Finished command `/usr/local/cpanel/bin/cloudlinux_update` in 0.053 seconds
[2019-06-17 06:00:35 -0300] Processing: Updating plugins data cache
[2019-06-17 06:00:35 -0300] - Processing command `/usr/local/cpanel/bin/refresh_plugin_cache`
[2019-06-17 06:00:35 -0300] - Finished command `/usr/local/cpanel/bin/refresh_plugin_cache` in 0.034 seconds
[2019-06-17 06:00:35 -0300] Processing: Ensuring SSL certificate information for CCS is up to date.
[2019-06-17 06:00:35 -0300] - Processing command `/usr/local/cpanel/scripts/ccs-check --run --ssl`
[2019-06-17 06:00:35 -0300] - Finished command `/usr/local/cpanel/scripts/ccs-check --run --ssl` in 0.006 seconds
[2019-06-17 06:00:35 -0300] Processing: Ensure cpanel-plugins yum repo exists
[2019-06-17 06:00:35 -0300] - Finished in 0.010 seconds
[2019-06-17 06:00:35 -0300] Processing: Checking and provisioning LiteSpeed if licensed
[2019-06-17 06:00:35 -0300] - Processing command `/usr/local/cpanel/scripts/litespeed-check --run`
[2019-06-17 06:00:36 -0300] [/usr/local/cpanel/scripts/litespeed-check] No license found for LiteSpeed Web Server in cPanel Store.
[2019-06-17 06:00:36 -0300] - Finished command `/usr/local/cpanel/scripts/litespeed-check --run` in 1.621 seconds
[2019-06-17 06:00:36 -0300] Processing: Checking End Of Life for current version.
[2019-06-17 06:00:37 -0300] - Finished in 0.388 seconds
[2019-06-17 06:00:37 -0300] Processing:
[2019-06-17 06:00:37 -0300] Maintenance complete.
=> Log closed Mon Jun 17 06:00:37 2019
----------------------------------------------------------------------------------------------------
=> Log opened from cPanel Update (upcp) - Slave (10967) at Mon Jun 17 06:00:37 2019​
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,261
463
Hello @mojiba2,

Can you manually execute both the /scripts/rpmup command and the yum update command on the affected system? Let us know of any specific errors in the command output.

Thank you.
 

mojiba2

Member
Nov 12, 2014
6
0
51
cPanel Access Level
Website Owner
Hi @cPanelMichael,

right after this thread I used this commands on the server: "yum install git --disableexcludes=main --skip-broken" and "/usr/local/cpanel/scripts/rpmup" from another topic here in the forum.

That seems to stopped the error messages.

Now after your advice:

"# /scripts/rpmup
checkyum version 22.3 (excludes: bind-chroot kernel perl ruby)
info [rpmup] Starting yum execution “--assumeyes --config /etc/yum.conf update”.
Loaded plugins: fastestmirror, security, universal-hooks
Setting up Update Process
Loading mirror speeds from cached hostfile
* EA4: 67.205.110.4
* EA4-experimental: 67.205.110.4
* cpanel-addons-production-feed: 67.205.110.4
* cpanel-plugins: 67.205.110.4
* base: centos.mirror.colo-serv.net
* extras: centos.mirror.colo-serv.net
* updates: centos.mirror.colo-serv.net
No Packages marked for Update
info [rpmup] Completed yum execution “--assumeyes --config /etc/yum.conf update”: in 3.749 second(s).
checkyum version 22.3 (excludes: bind-chroot perl ruby)

# yum update
Loaded plugins: fastestmirror, security, universal-hooks
Setting up Update Process
Loading mirror speeds from cached hostfile
* EA4: 67.205.110.4
* EA4-experimental: 67.205.110.4
* cpanel-addons-production-feed: 67.205.110.4
* cpanel-plugins: 67.205.110.4
* base: centos.mirror.colo-serv.net
* extras: centos.mirror.colo-serv.net
* updates: centos.mirror.colo-serv.net
EA4 | 2.9 kB 00:00 ...
EA4-experimental | 2.9 kB 00:00 ...
cpanel-addons-production-feed | 2.9 kB 00:00 ...
cpanel-plugins | 2.9 kB 00:00 ...
MariaDB102 | 2.9 kB 00:00
base | 3.7 kB 00:00
extras | 3.4 kB 00:00
kernelcare | 2.6 kB 00:00
updates | 3.4 kB 00:00
Resolving Dependencies
--> Running transaction check
---> Package kernel.x86_64 0:2.6.32-754.15.3.el6 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
=============================================================================================================================
Package Arch Version Repository Size
=============================================================================================================================
Installing:
kernel x86_64 2.6.32-754.15.3.el6 updates 32 M
Transaction Summary
=============================================================================================================================
Install 1 Package(s)
Total download size: 32 M
Installed size: 133 M
Is this ok [y/N]: y
Downloading Packages:
kernel-2.6.32-754.15.3.el6.x86_64.rpm | 32 MB 00:03
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : kernel-2.6.32-754.15.3.el6.x86_64 1/1
Verifying : kernel-2.6.32-754.15.3.el6.x86_64 1/1
Installed:
kernel.x86_64 0:2.6.32-754.15.3.el6
Complete!"
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,261
463