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 /usr/local/cpanel/scripts/rpmup fails during upcp

Discussion in 'General Discussion' started by Glendon Turner, Jun 1, 2019.

  1. Glendon Turner

    Glendon Turner Registered

    Joined:
    Jan 16, 2019
    Messages:
    4
    Likes Received:
    1
    Trophy Points:
    1
    Location:
    Australia
    cPanel Access Level:
    Root Administrator
    I recently (last few weeks) have been receiving a email as follows about litespeed licence. This somehow has started automatically and I never requested litespeed and don't know what to do about fixing whatever is wrong.
    Can someone help, I have been searching here and on google without success so far.

    I have the update_log.txt file is needed.

    The cPanel & WHM update process failed for the following reason:
    Code:
    ...
    ...
    [2019-06-02 05:26:21 +1000] E [/usr/local/cpanel/scripts/rpmup] The “/usr/local/cpanel/scripts/rpmup” command (process 27120) reported error number 1 when it ended.
    ...
    [2019-06-02 05:26:44 +1000] - Processing command `/usr/local/cpanel/bin/cloudlinux_update`
    [2019-06-02 05:26:44 +1000] - Finished command `/usr/local/cpanel/bin/cloudlinux_update` in 0.065 seconds
    [2019-06-02 05:26:44 +1000] Processing: Updating plugins data cache
    [2019-06-02 05:26:44 +1000] - Processing command `/usr/local/cpanel/bin/refresh_plugin_cache`
    [2019-06-02 05:26:45 +1000] - Finished command `/usr/local/cpanel/bin/refresh_plugin_cache` in 0.025 seconds
    [2019-06-02 05:26:45 +1000] Processing: Ensuring SSL certificate information for CCS is up to date.
    [2019-06-02 05:26:45 +1000] - Processing command `/usr/local/cpanel/scripts/ccs-check --run --ssl`
    [2019-06-02 05:26:45 +1000] - Finished command `/usr/local/cpanel/scripts/ccs-check --run --ssl` in 0.008 seconds
    [2019-06-02 05:26:45 +1000] Processing: Ensure cpanel-plugins yum repo exists
    [2019-06-02 05:26:45 +1000] - Finished in 0.020 seconds
    [2019-06-02 05:26:45 +1000] Processing: Checking and provisioning LiteSpeed if licensed
    [2019-06-02 05:26:45 +1000] - Processing command `/usr/local/cpanel/scripts/litespeed-check --run`
    [2019-06-02 05:26:46 +1000] [/usr/local/cpanel/scripts/litespeed-check] No license found for LiteSpeed Web Server in cPanel Store.
    [2019-06-02 05:26:46 +1000] - Finished command `/usr/local/cpanel/scripts/litespeed-check --run` in 0.975 seconds
    [2019-06-02 05:26:46 +1000] Processing: Checking End Of Life for current version.
    [2019-06-02 05:26:46 +1000] - Finished in 0.081 seconds
    [2019-06-02 05:26:46 +1000] Processing:
    [2019-06-02 05:26:46 +1000] Maintenance complete.
    => Log closed Sun Jun 2 05:26:46 2019
    ----------------------------------------------------------------------------------------------------
    => Log opened from cPanel Update (upcp) - Slave (27093) at Sun Jun 2 05:26:46 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 @Glendon Turner,

    The error message quoted above is what's preventing the cPanel update from succeeding. Can you execute this command manually to verify if there are any issues with the RPM update process on your system?

    Code:
    /usr/local/cpanel/scripts/rpmup
    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. Glendon Turner

    Glendon Turner Registered

    Joined:
    Jan 16, 2019
    Messages:
    4
    Likes Received:
    1
    Trophy Points:
    1
    Location:
    Australia
    cPanel Access Level:
    Root Administrator
    Hi,
    Thank you for the reply. I ran the command and have pasted the section where it fails below. I have tried running it with the '--skip-broken' option and it still fails at the same place.
    It seems that mosquitto is the culprit, it there a way to prevent it from trying to update this item?

    Code:
    ---> Package yum-utils.noarch 0:1.1.30-42.el6_10 will be an update
    ---> Package zsh.x86_64 0:4.3.11-4.el6.centos.2 will be updated
    ---> Package zsh.x86_64 0:4.3.11-9.el6_10 will be an update
    --> Finished Dependency Resolution
    Error: Package: mosquitto-1.5.5-1.1.x86_64 (home_oojah_mqtt)
     You could try using --skip-broken to work around the problem
    ** Found 1 pre-existing rpmdb problem(s), 'yum check' output follows:
    cpanel-analytics-1.3.3-1.1.noarch has missing requires of cpanel-version >= ('0', '73.0.0', None)
    info [rpmup] Completed yum execution “--assumeyes --config /etc/yum.conf update”: in 13.533 second(s).
    (XID 2c6rmr) The system failed to execute yum with the arguments “--assumeyes --config /etc/yum.conf update” because of an error: The “/usr/bin/yum --assumeyes --config /etc/yum.conf update” command (process 30537) reported error number 1 when it ended. : Error: Package: mosquitto-1.5.5-1.1.x86_64 (home_oojah_mqtt)
               Requires: libwebsockets
    checkyum version 22.3  (excludes: bind-chroot perl ruby)
    [[email protected] ~]#
     
  4. Glendon Turner

    Glendon Turner Registered

    Joined:
    Jan 16, 2019
    Messages:
    4
    Likes Received:
    1
    Trophy Points:
    1
    Location:
    Australia
    cPanel Access Level:
    Root Administrator
    I have added mosquitto* to the exclude line in /etc/yum.conf and ran it again. It has now passed where the error occurred and is downloading updates. I will post what outcome I get when it finishes.
     
  5. 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 @Glendon Turner,

    I'm glad to see you were able to find the culprit.

    If you'd like to resume YUM updates for the mosquitto RPM in the future, it looks you'll need to install the libwebsockets package dependency from the CentOS EPEL repo (e.g. yum install libwebsockets). Keep in mind assistance with this third-party package or the YUM repo it comes from falls outside our scope of support.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. Glendon Turner

    Glendon Turner Registered

    Joined:
    Jan 16, 2019
    Messages:
    4
    Likes Received:
    1
    Trophy Points:
    1
    Location:
    Australia
    cPanel Access Level:
    Root Administrator
    Thank you for your helpful advice.
    Today I have not received any error messages and we don't use libwebsockets for mqtt.

    I appreciate and understand that this falls outside your support scope but your advice helped me to locate where the problem was and it seems to be working now.
    Thank you
     
    cPanelMichael likes this.
  7. 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 @Glendon Turner,

    You're very welcome. I've marked this thread as solved.

    Thanks!
     
    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