Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

SOLVED cPanel & WHM update failure in upcp script

Discussion in 'General Discussion' started by mojiba2, Jun 17, 2019.

Tags:
  1. mojiba2

    mojiba2 Member

    Joined:
    Nov 12, 2014
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    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​
     
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    47,528
    Likes Received:
    2,180
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. mojiba2

    mojiba2 Member

    Joined:
    Nov 12, 2014
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    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!"
     
  4. cPanelMichael

    cPanelMichael Technical Support Community Manager Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    47,528
    Likes Received:
    2,180
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice