SOLVED Cloudlinux 7.5 /usr/local/cpanel/scripts/rpmup error

mariusfv

Active Member
Mar 24, 2013
34
7
83
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?
 

mariusfv

Active Member
Mar 24, 2013
34
7
83
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!







 
  • Like
Reactions: cPanelMichael