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 process failed

Discussion in 'General Discussion' started by JustinValceanu, Oct 17, 2017.

  1. JustinValceanu

    JustinValceanu Registered

    Joined:
    Nov 13, 2013
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Code:
    [2017-10-18 00:17:05 +0300] Checking that the RPM DB is OK...
    [2017-10-18 00:17:05 +0300] glibc-2.17-157.el7_3.1.x86_64
    [2017-10-18 00:17:05 +0300] OK: RPM DB is responding to queries
    [2017-10-18 00:17:05 +0300] Testing if rpm_is_working RPM is installed
    [2017-10-18 00:17:05 +0300] package rpm_is_working is not installed
    [2017-10-18 00:17:05 +0300] Testing if it's possible to install a simple RPM
    [2017-10-18 00:17:05 +0300] Preparing... ########################################
    [2017-10-18 00:17:05 +0300] Updating / installing...
    [2017-10-18 00:17:05 +0300] rpm_is_working-1.0-0 ########################################
    [2017-10-18 00:17:09 +0300] Switching to version '11.66.0.26' of updatenow to perform sync.
    [2017-10-18 00:17:09 +0300] checkyum version 22.3
    [2017-10-18 00:17:12 +0300] checkyum version 22.3
    [2017-10-18 00:17:12 +0300] Loaded plugins: fastestmirror, universal-hooks
    [2017-10-18 00:17:15 +0300] Loading mirror speeds from cached hostfile
    [2017-10-18 00:17:15 +0300] * cpanel-addons-production-feed: 192.99.194.164
    [2017-10-18 00:17:15 +0300] No package ncurses-term available.
    [2017-10-18 00:17:15 +0300] E Error: Nothing to do
    [2017-10-18 00:17:15 +0300] E (XID 6jn4d8) The system failed to execute yum with the arguments “--assumeyes --config /etc/yum.conf install ncurses-term --disablerepo=epel” because of an error: The “/usr/bin/yum” command (process 368140) reported error number 1 when it ended. : Error: Nothing to do
    [2017-10-18 00:17:15 +0300] checkyum version 22.3
    [2017-10-18 00:17:16 +0300] E Sysup: Needed system RPMs were not installed: ncurses-term
    [2017-10-18 00:17:16 +0300] ***** FATAL: Cannot proceed. Needed system RPMs were not installed.
    [2017-10-18 00:17:16 +0300] The Administrator will be notified to review this output when this script completes
    => Log closed Wed Oct 18 00:17:16 2017
    [2017-10-18 00:17:16 +0300] 17% complete
    [2017-10-18 00:17:16 +0300] E Running `/usr/local/cpanel/scripts/updatenow --upcp --log=/var/cpanel/updatelogs/update.1508275021.log` failed, exited with code 18 (signal = 0)

    Code:
    # yum clean all
    Loaded plugins: fastestmirror, universal-hooks
    Cleaning repos: cpanel-addons-production-feed cpanel-plugins epel kernelcare letsencrypt-cpanel
    Cleaning up everything
    Cleaning up list of fastest mirrors
    

    Code:
    # yum update
    Loaded plugins: fastestmirror, universal-hooks
    cpanel-addons-production-feed                                                                                                                    | 2.9 kB  00:00:00
    cpanel-plugins                                                                                                                                   | 2.9 kB  00:00:00
    epel/x86_64/metalink                                                                                                                             |  24 kB  00:00:00
    epel                                                                                                                                             | 4.3 kB  00:00:00
    kernelcare                                                                                                                                       | 2.6 kB  00:00:00
    letsencrypt-cpanel                                                                                                                               | 2.9 kB  00:00:00
    (1/7): epel/x86_64/group_gz                                                                                                                      | 170 kB  00:00:00
    (2/7): epel/x86_64/primary_db                                                                                                                    | 4.8 MB  00:00:00
    (3/7): epel/x86_64/updateinfo                                                                                                                    | 841 kB  00:00:00
    (4/7): cpanel-addons-production-feed/7/x86_64/primary_db                                                                                         |  10 kB  00:00:00
    (5/7): cpanel-plugins/primary_db                                                                                                                 |  38 kB  00:00:00
    (6/7): kernelcare/7/x86_64/primary_db                                                                                                            | 8.4 kB  00:00:00
    (7/7): letsencrypt-cpanel/primary_db                                                                                                             | 4.1 kB  00:00:01
    Determining fastest mirrors
     * cpanel-addons-production-feed: 185.69.232.245
     * epel: mirror.wiuwiu.de
    No packages marked for update
    

    Code:
    # /scripts/upcp --force
    [2017-10-18 00:49:38 +0300]   Detected cron=0 (--force passed on command line)
    ----------------------------------------------------------------------------------------------------
    => Log opened from cPanel Update (upcp) - Slave (370296) at Wed Oct 18 00:49:38 2017
    [2017-10-18 00:49:38 +0300]   Detected cron=0 (--force passed on command line)
    [2017-10-18 00:49:38 +0300]   1% complete
    [2017-10-18 00:49:38 +0300]   Running Standardized hooks
    [2017-10-18 00:49:38 +0300]   2% complete
    [2017-10-18 00:49:38 +0300]   mtime on upcp is 1492031899 (Thu Apr 13 00:18:19 2017)
    ----------------------------------------------------------------------------------------------------
    => Log opened from /usr/local/cpanel/scripts/updatenow (370298) at Wed Oct 18 00:49:38 2017
    [2017-10-18 00:49:38 +0300]   Detected version '11.64.0.40' from version file.
    [2017-10-18 00:49:38 +0300]   Running version '11.64.0.40' of updatenow.
    [2017-10-18 00:49:38 +0300]   --force passed on command line. Upgrade will disregard update config settings.
    [2017-10-18 00:49:38 +0300]   Target version set to '11.66.0.26'
    [2017-10-18 00:49:38 +0300]   Switching to 11.66.0.26 to determine if we can reach that version without failure.
    [2017-10-18 00:49:38 +0300]   Retrieving and staging /cpanelsync/11.66.0.26/cpanel/scripts/updatenow.static.bz2
    [2017-10-18 00:49:38 +0300]   Using mirror '185.69.232.245' for host 'httpupdate.cpanel.net'.
    [2017-10-18 00:49:38 +0300]   Successfully verified signature for cpanel (key types: release).
    [2017-10-18 00:49:38 +0300]   Set permissions on /usr/local/cpanel/scripts/updatenow.static-cpanelsync to 0700
    [2017-10-18 00:49:38 +0300]   Become an updatenow.static for version: 11.66.0.26
    => Log closed Wed Oct 18 00:49:38 2017
    ----------------------------------------------------------------------------------------------------
    => Log opened from /usr/local/cpanel/scripts/updatenow.static-cpanelsync (370298) at Wed Oct 18 00:49:39 2017
    [2017-10-18 00:49:39 +0300]   Detected version '11.64.0.40' from version file.
    [2017-10-18 00:49:39 +0300]   Running version '11.66.0.26' of updatenow.
    [2017-10-18 00:49:39 +0300]   --force passed on command line. Upgrade will disregard update config settings.
    [2017-10-18 00:49:39 +0300]   Target version set to '11.66.0.26'
    [2017-10-18 00:49:39 +0300]   Checking license
    [2017-10-18 00:49:39 +0300]   License file check complete
    [2017-10-18 00:49:39 +0300]   Checking that the RPM DB is OK...
    [2017-10-18 00:49:39 +0300]   glibc-2.17-157.el7_3.1.x86_64
    [2017-10-18 00:49:39 +0300]   OK: RPM DB is responding to queries
    [2017-10-18 00:49:39 +0300]   Testing if rpm_is_working RPM is installed
    [2017-10-18 00:49:39 +0300]   package rpm_is_working is not installed
    [2017-10-18 00:49:39 +0300]   Testing if it's possible to install a simple RPM
    [2017-10-18 00:49:39 +0300]   Preparing...                          ########################################
    [2017-10-18 00:49:39 +0300]   Updating / installing...
    [2017-10-18 00:49:39 +0300]   rpm_is_working-1.0-0                  ########################################
    [2017-10-18 00:49:40 +0300]   Switching to version '11.66.0.26' of updatenow to perform sync.
    [2017-10-18 00:49:40 +0300]   checkyum version 22.3
    [2017-10-18 00:49:41 +0300]   checkyum version 22.3
    [2017-10-18 00:49:41 +0300]   Loaded plugins: fastestmirror, universal-hooks
    [2017-10-18 00:49:43 +0300]   Loading mirror speeds from cached hostfile
    [2017-10-18 00:49:43 +0300]    * cpanel-addons-production-feed: 185.69.232.245
    [2017-10-18 00:49:43 +0300]   No package ncurses-term available.
    [2017-10-18 00:49:43 +0300] E Error: Nothing to do
    [2017-10-18 00:49:43 +0300] E (XID fesxc7) The system failed to execute yum with the arguments “--assumeyes --config /etc/yum.conf install ncurses-term --disablerepo=epel” because of an error: The “/usr/bin/yum” command (process 370327) reported error number 1 when it ended. : Error: Nothing to do
    [2017-10-18 00:49:43 +0300]   checkyum version 22.3
    [2017-10-18 00:49:44 +0300] E Sysup: Needed system RPMs were not installed: ncurses-term
    [2017-10-18 00:49:44 +0300] ***** FATAL: Cannot proceed. Needed system RPMs were not installed.
    [2017-10-18 00:49:44 +0300]   The Administrator will be notified to review this output when this script completes
    => Log closed Wed Oct 18 00:49:44 2017
    [2017-10-18 00:49:44 +0300]   17% complete
    [2017-10-18 00:49:44 +0300] E Running `/usr/local/cpanel/scripts/updatenow --upcp --log=/var/cpanel/updatelogs/update.1508276978.log --force` failed, exited with code 18 (signal = 0)
    => Log closed Wed Oct 18 00:49:45 2017
    => Log closed Wed Oct 18 00:49:45 2017
    => Log closed Wed Oct 18 00:49:45 2017
    
    Code:
    # yum install ncurses-term --enablerepo=*
    Loaded plugins: fastestmirror, universal-hooks
    cpanel-addons-production-feed                                                                                                                    | 2.9 kB  00:00:00
    cloudlinux-base                                                                                                                                  | 3.4 kB  00:00:00
    cloudlinux-base-debuginfo                                                                                                                        | 2.7 kB  00:00:00
    cloudlinux-base-source                                                                                                                           | 2.7 kB  00:00:00
    cloudlinux-updates                                                                                                                               | 3.4 kB  00:00:00
    cloudlinux-updates-debuginfo                                                                                                                     | 2.7 kB  00:00:00
    cloudlinux-updates-source                                                                                                                        | 2.7 kB  00:00:00
    cloudlinux-updates-testing                                                                                                                       | 2.9 kB  00:00:00
    cloudlinux-updates-testing-debuginfo                                                                                                             | 2.7 kB  00:00:00
    cloudlinux-updates-testing-source                                                                                                                | 2.6 kB  00:00:00
    cloudlinux-x86_64-server-7-debuginfo                                                                                                             | 2.7 kB  00:00:00
    cloudlinux-x86_64-server-7-source                                                                                                                | 2.7 kB  00:00:00
    cpanel-plugins                                                                                                                                   | 2.9 kB  00:00:00
    epel/x86_64/metalink                                                                                                                             |  24 kB  00:00:00
    epel                                                                                                                                             | 4.3 kB  00:00:00
    epel-debuginfo/x86_64/metalink                                                                                                                   |  24 kB  00:00:00
    epel-debuginfo                                                                                                                                   | 3.0 kB  00:00:00
    epel-source/x86_64/metalink                                                                                                                      |  23 kB  00:00:00
    epel-source                                                                                                                                      | 3.5 kB  00:00:00
    epel-testing/x86_64/metalink                                                                                                                     |  26 kB  00:00:00
    epel-testing-debuginfo/x86_64/metalink                                                                                                           |  27 kB  00:00:00
    epel-testing-source/x86_64/metalink                                                                                                              |  26 kB  00:00:00
    kernelcare                                                                                                                                       | 2.6 kB  00:00:00
    letsencrypt-cpanel                                                                                                                               | 2.9 kB  00:00:00
    Loading mirror speeds from cached hostfile
     * cpanel-addons-production-feed: 185.69.232.245
     * cloudlinux-base: repo.cloudlinux.com
     * cloudlinux-updates: repo.cloudlinux.com
     * epel: mirror.wiuwiu.de
     * epel-debuginfo: mirror.wiuwiu.de
     * epel-source: mirror.wiuwiu.de
     * epel-testing: mirror.wiuwiu.de
     * epel-testing-debuginfo: mirror.wiuwiu.de
     * epel-testing-source: mirror.wiuwiu.de
    No package ncurses-term available.
    Error: Nothing to do
    What can I do?
     
  2. cPAusaf

    cPAusaf Linux Technical Analyst II
    Staff Member

    Joined:
    Aug 24, 2016
    Messages:
    25
    Likes Received:
    1
    Trophy Points:
    78
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    Hello,

    Can you open a support ticket with us so we may log in and check and see why ncurses-term is not available from any of the available repositories? You may open a ticket here: cPanel Customer Portal
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. cPMarkF

    cPMarkF *nix Technical Analyst
    Staff Member

    Joined:
    Feb 4, 2013
    Messages:
    14
    Likes Received:
    4
    Trophy Points:
    78
    cPanel Access Level:
    Root Administrator
    This case was handled in ticket # 8957687.

    The problem was that the ncurses-term RPM is actually provided by CentOS and should have been installed prior to converting the server to CloudLinux (not sure if it was never installed or at one point removed). CloudLinux does not provide this RPM in their repositories. To correct the issue, I manually downloaded the RPM from CentOS and installed it on the server:
    Code:
    # wget http://mirror.centos.org/centos/7/os/x86_64/Packages/ncurses-term-5.9-13.20130511.el7.noarch.rpm
    # yum install ncurses-term-5.9-13.20130511.el7.noarch.rpm
    
    Afterwards, the upcp completed without issue.
     
    cPWilliamL likes this.
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