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 Cloudlinux 7.5 /usr/local/cpanel/scripts/rpmup error

Discussion in 'CloudLinux' started by mariusfv, Jun 11, 2019.

  1. mariusfv

    mariusfv Active Member

    Joined:
    Mar 24, 2013
    Messages:
    34
    Likes Received:
    6
    Trophy Points:
    83
    Location:
    Romania
    cPanel Access Level:
    Root Administrator
    CLOUDLINUX 7.5 [server] | v80.0.14
    Dedicated server, 60GB available RAM memory, enough free space on HDD (SSD)

    For over 1 week every day I get this error:
    Code:
    [2019-06-12 06:09:30 +0300] E [/usr/local/cpanel/scripts/rpmup] The “/usr/local/cpanel/scripts/rpmup” command (process 1280258) reported error number 1 when it ended.
    What I've done:
    Code:
    WHM > Rebuild RPM Database > Complete
    After via console as root:
    Code:
    /scripts/upcp >  Completed all updates > Receive again the email with the same error
    On created log file:
    Code:
    => Log opened from cPanel Update (upcp) - Slave (1280230) at Wed Jun 12 06:09:39 2019
    [2019-06-12 06:09:39 +0300] E Pre Maintenance ended, however it did not exit cleanly (256). The following events were logged: "scripts/rpmup". Please check the logs for an indication of wh$
    [2019-06-12 06:09:39 +0300]   95% complete
    [2019-06-12 06:09:39 +0300]   Running /usr/local/cpanel/scripts/postupcp
    => Log closed Wed Jun 12 06:09:39 2019
    [2019-06-12 06:09:57 +0300]   Running Standardized hooks
    [2019-06-12 06:09:57 +0300]   100% complete
    [2019-06-12 06:09:57 +0300]
    [2019-06-12 06:09:57 +0300]     cPanel update completed
    [2019-06-12 06:09:57 +0300]   A log of this update is available at /var/cpanel/updatelogs/update.1560308942.log
    [2019-06-12 06:09:57 +0300]   Removing upcp pidfile
    [2019-06-12 06:09:57 +0300]
    [2019-06-12 06:09:57 +0300] Completed all updates
    
    Solutions?
     
  2. dalem

    dalem Well-Known Member PartnerNOC

    Joined:
    Oct 24, 2003
    Messages:
    2,909
    Likes Received:
    127
    Trophy Points:
    368
    Location:
    SLC
    cPanel Access Level:
    DataCenter Provider
    run
    yum update

    and see if you get errors & if you do run
    yum clean all
    yum update
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    mariusfv and cPanelMichael like this.
  3. cPanelMichael

    cPanelMichael Technical Support Community Manager Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    47,529
    Likes Received:
    2,181
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello @mariusfv,

    Can you manually execute the /scripts/rpmup command along with the yum update command and let us know the output?

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    mariusfv likes this.
  4. mariusfv

    mariusfv Active Member

    Joined:
    Mar 24, 2013
    Messages:
    34
    Likes Received:
    6
    Trophy Points:
    83
    Location:
    Romania
    cPanel Access Level:
    Root Administrator
    The output after /scripts/rpmup (yum update performed before, log huge, not posted):

    Code:
    [[email protected] ~]# /scripts/rpmup
    checkyum version 22.3  (excludes: bind-chroot kernel perl ruby)
    info [rpmup] Starting yum execution “--assumeyes --config /etc/yum.conf update --disablerepo=epel”.
    Loaded plugins: fastestmirror, rhnplugin, universal-hooks
    This system is receiving updates from CLN.
    Loading mirror speeds from cached hostfile
     * EA4: 18X.XX.XX.1XX
     * cpanel-addons-production-feed: 18X.XX.XX.1XX
     * cpanel-plugins: 18X.XX.XX.1XX
     * cloudlinux-x86_64-server-7: de-proxy.cl-mirror.net
    No packages marked for update
    info [rpmup] Completed yum execution “--assumeyes --config /etc/yum.conf update --disablerepo=epel”: in 6.692 second(s).
    checkyum version 22.3  (excludes: bind-chroot perl ruby)
    Output after /scripts/upcp
    Code:
    [2019-06-14 15:06:45 +0300]    - Finished command `/usr/local/cpanel/scripts/litespeed-check --run` in 0.722 seconds
    [2019-06-14 15:06:45 +0300]   Processing: Checking End Of Life for current version.
    [2019-06-14 15:06:45 +0300]    - Finished in 0.033 seconds
    [2019-06-14 15:06:45 +0300]   Processing:
    [2019-06-14 15:06:45 +0300] Maintenance complete.
    => Log closed Fri Jun 14 15:06:45 2019
    ----------------------------------------------------------------------------------------------------
    => Log opened from cPanel Update (upcp) - Slave (18700) at Fri Jun 14 15:06:45 2019
    [2019-06-14 15:06:45 +0300]   Pre Maintenance completed successfully
    [2019-06-14 15:06:46 +0300]   95% complete
    [2019-06-14 15:06:46 +0300]   Running /usr/local/cpanel/scripts/postupcp
    [2019-06-14 15:07:08 +0300]   Running Standardized hooks
    [2019-06-14 15:07:08 +0300]   100% complete
    [2019-06-14 15:07:08 +0300]
    [2019-06-14 15:07:08 +0300]     cPanel update completed
    [2019-06-14 15:07:08 +0300]   A log of this update is available at /var/cpanel/updatelogs/update.1560513878.log
    [2019-06-14 15:07:08 +0300]   Removing upcp pidfile
    [2019-06-14 15:07:08 +0300]
    [2019-06-14 15:07:08 +0300] Completed all updates
    => Log closed Fri Jun 14 15:07:08 2019
    

    After/scripts/upcp I didn't receive the email with error at: /usr/local/cpanel/scripts/rpmup.

    Thank you cPanelMichael & dalem for help!







     
    cPanelMichael likes this.
  5. dalem

    dalem Well-Known Member PartnerNOC

    Joined:
    Oct 24, 2003
    Messages:
    2,909
    Likes Received:
    127
    Trophy Points:
    368
    Location:
    SLC
    cPanel Access Level:
    DataCenter Provider
    Welcome :)
     
    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