bloatedstoat

Well-Known Member
Jun 14, 2012
156
19
18
Victoria, Australia
cPanel Access Level
Root Administrator
I have the same issue as raised in this thread Fix RPM Issues Script Timeout - no solution in my case though.

This has happened twice on consecutive runs.

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 what happened


From the log.
Code:
49 [2020-05-06 04:21:05 +1000]   - Processing command `/usr/local/cpanel/scripts/rpmup`

50 [2020-05-06 04:21:52 +1000]      [/usr/local/cpanel/scripts/rpmup] checkyum version 22.3  (excludes: bind-chroot kernel ruby)

51 [2020-05-06 04:21:52 +1000]      [/usr/local/cpanel/scripts/rpmup] Loaded plugins: fastestmirror, rhnplugin, universal-hooks

52 [2020-05-06 04:21:52 +1000]      [/usr/local/cpanel/scripts/rpmup] Setting up Update Process

53 [2020-05-06 04:21:52 +1000]      [/usr/local/cpanel/scripts/rpmup] Loading mirror speeds from cached hostfile

54 [2020-05-06 04:21:52 +1000]      [/usr/local/cpanel/scripts/rpmup]  * EA4: xxx.xxx.xx.xx

55 [2020-05-06 04:21:52 +1000]      [/usr/local/cpanel/scripts/rpmup]  * cpanel-addons-production-feed: xxx.xxx.xx.xx

56 [2020-05-06 04:21:52 +1000]      [/usr/local/cpanel/scripts/rpmup]  * cpanel-plugins: xxx.xxx.xx.xx

57 [2020-05-06 04:21:52 +1000]      [/usr/local/cpanel/scripts/rpmup]  * cloudlinux-x86_64-server-6: cl-mirror.namecheap.com

58 [2020-05-06 04:21:52 +1000]      [/usr/local/cpanel/scripts/rpmup] Resolving Dependencies

59 [2020-05-06 04:21:52 +1000]      [/usr/local/cpanel/scripts/rpmup] --> Running transaction check

60 [2020-05-06 04:21:52 +1000]      [/usr/local/cpanel/scripts/rpmup] ---> Package alt-php44.x86_64 0:4.4.9-106.el6 will be updated

61 [2020-05-06 04:21:52 +1000]      [/usr/local/cpanel/scripts/rpmup] ---> Package alt-php44.x86_64 0:4.4.9-107.el6 will be an update

62 [2020-05-06 04:21:52 +1000]      [/usr/local/cpanel/scripts/rpmup] ---> Package alt-php44-bcmath.x86_64 0:4.4.9-106.el6 will be updated

63 [2020-05-06 04:21:52 +1000]      [/usr/local/cpanel/scripts/rpmup] ---> Package alt-php44-bcmath.x86_64 0:4.4.9-107.el6 will be an update

64 [2020-05-06 04:21:52 +1000]      [/usr/local/cpanel/scripts/rpmup] ---> Package alt-php44-cli.x86_64 0:4.4.9-106.el6 will be updated

65 [2020-05-06 04:21:52 +1000]      [/usr/local/cpanel/scripts/rpmup] ---> Package alt-php44-cli.x86_64 0:4.4.9-107.el6 will be an update

...... 3 seconds and 450+ lines later ....

520 [2020-05-06 04:21:55 +1000]      [/usr/local/cpanel/scripts/rpmup] ---> Package alt-php70-sourceguardian.x86_64 0:11.3.4-1.el6 will be updated

521 [2020-05-06 04:21:55 +1000]      [/usr/local/cpanel/scripts/rpmup] ---> Package alt-php70-sourceguardian.x86_64 0:11.4.1-1.el6 will be an update

522 [2020-05-06 05:21:05 +1000]      [/usr/local/cpanel/scripts/rpmup] ---> Package

523 [2020-05-06 05:21:05 +1000] E    [/usr/local/cpanel/scripts/rpmup] The ¦[email protected]~\/usr/local/cpanel/scripts/rpmup¦[email protected]~] command (process 714511) ended prematurely because it received the ¦[email protected]~\TERM¦[email protected]~] (15) signal.

The system aborted the subprocess because it reached the timeout of 3,600 seconds.

524 [2020-05-06 05:21:05 +1000]   The Administrator will be notified to review this output when this script completes

525 [2020-05-06 05:21:05 +1000]    - Finished command `/usr/local/cpanel/scripts/rpmup` in 3600.202 seconds

I tried as @cPanelMichael suggested in the other post and in my case the RPM DB seems hunky dory.

/usr/local/cpanel/scripts/find_and_fix_rpm_issues --findonly

Checking that the RPM DB is OK...
glibc-2.12-1.212.el6_10.3.x86_64
OK: RPM DB is responding to queries
Testing if rpm_is_working RPM is installed
package rpm_is_working is not installed
Testing if it's possible to install a simple RPM
Preparing... ##################################################
rpm_is_working ##################################################

/usr/local/cpanel/scripts/find_outdated_services --auto
Looking for outdated services …
The system did not find any outdated services.


Recommendations for other things to try?

CloudLinux 6.10 v86.0.18

Thank you.
 

cPanelLauren

Forums Analyst II
Staff member
Nov 14, 2017
11,214
1,006
313
Houston
Actually I think this is related to an issue with the CLN - we received the following communication from them about this:

  • customers cannot run yum commands on CloudLinux systems
  • customers cannot register/unregister CL products
  • customers have difficulties manage their CLN accounts (this shouldn't be related to your customers, though)
Our CLN team is aware of the situation and working on it atm. We'll update the following post once everything is back to normal:
https://cloudlinux.statuspage.io/incidents/wnvwsj587xs4

^^the issue with repo.cloudlinux.com was caused by that too

Currently, it's marked as unresolved still but that status update page will be updated as soon as they have a resolution
 

bloatedstoat

Well-Known Member
Jun 14, 2012
156
19
18
Victoria, Australia
cPanel Access Level
Root Administrator
Apologies, I thought I had notifications turned on for this post. Thanks @cPanelLauren and @got.9520

This issue repeated itself a few nights ago. Same thing.

It appears related to the quantity of updates; when I ran rpmup manually after it failed during upcp there were 350+ updates, the command completed successfully and upcp --force completed successfully afterwards.

The previous failure contained 500+ updates.

I'll stick my neck out here and say that the script is literally timing out midway through the update process because the timeout has been exceeded.

There were no errors when I ran rpmup and upcp .... rpmup just took a fair bit of time to complete.

Also, when upcp fails due to the rpmup timeout it holds the yum lock until the process is killed.
 

GOT

Get Proactive!
PartnerNOC
Apr 8, 2003
1,682
269
363
Chesapeake, VA
cPanel Access Level
DataCenter Provider
You can do that any time. You'll be able to quickly tell if your system is updated or not or if the updating system is broken with better diagnostic data if it is.