After updates ran last night, we got this error message:
and
Ran /scripts/rpmup:
Ran yum update:
Ran yum repolist:
Any idea what's going on and how to fix it?
Code:
Maintenance ended; however, it did not exit cleanly (256). The following events were logged: “scripts/rpmup”. Review the update logs to determine why the update failed.
Code:
[2020-12-02 02:44:21 -0800] E [/usr/local/cpanel/scripts/rpmup] The “/usr/local/cpanel/scripts/rpmup” command (process 27258) reported error number 1 when it ended.
Code:
[ root@cp1 ~># /scripts/rpmup
checkyum version 22.3 (excludes: bind-chroot ruby)
info [rpmup] Starting yum execution â--assumeyes --config /etc/yum.conf updateâ
Loaded plugins: fastestmirror, security, tsflags, universal-hooks
Setting up Update Process
Loading mirror speeds from cached hostfile
Error: Cannot find a valid baseurl for repo: base
YumRepo Error: All mirror URLs are not using ftp, http[s] or file. Eg. Invalid release/repo/arch combination/removing mirrorlist with no valid mirrors: /var/cache/yum/x86_64/6/base/mirrorlist.txt
info [rpmup] Completed yum execution â--assumeyes --config /etc/yum.conf updateâ
(XID mf5ups) â/usr/bin/yumâ1â
Code:
[ root@cp1 ~># yum update
Loaded plugins: fastestmirror, security, tsflags, universal-hooks
Setting up Update Process
Loading mirror speeds from cached hostfile
YumRepo Error: All mirror URLs are not using ftp, http[s] or file.
Eg. Invalid release/repo/arch combination/
removing mirrorlist with no valid mirrors: /var/cache/yum/x86_64/6/base/mirrorlist.txt
Error: Cannot find a valid baseurl for repo: base
Code:
[ root@cp1 ~># yum repolist
Loaded plugins: fastestmirror, security, tsflags, universal-hooks
Loading mirror speeds from cached hostfile
YumRepo Error: All mirror URLs are not using ftp, http[s] or file.
Eg. Invalid release/repo/arch combination/
removing mirrorlist with no valid mirrors: /var/cache/yum/x86_64/6/base/mirrorlist.txt
EA4 | 2.9 kB 00:00 ...
cpanel-addons-production-feed | 2.9 kB 00:00 ...
cpanel-plugins | 2.9 kB 00:00 ...
YumRepo Error: All mirror URLs are not using ftp, http[s] or file.
Eg. Invalid release/repo/arch combination/
removing mirrorlist with no valid mirrors: /var/cache/yum/x86_64/6/extras/mirrorlist.txt
kernelcare | 2.6 kB 00:00
mysql-connectors-community | 2.6 kB 00:00
mysql-tools-community | 2.6 kB 00:00
mysql57-community | 2.6 kB 00:00
YumRepo Error: All mirror URLs are not using ftp, http[s] or file.
Eg. Invalid release/repo/arch combination/
removing mirrorlist with no valid mirrors: /var/cache/yum/x86_64/6/updates/mirrorlist.txt
vmware-tools | 951 B 00:00
repo id repo name status
EA4 EA4 ( EasyApache 4 ) 4,515
cpanel-addons-production-feed cPanel Addons Production Feed 47
cpanel-plugins cPanel Plugins project 40
base CentOS-6 - Base 6,713
extras CentOS-6 - Extras 47
kernelcare kernelcare 104
mysql-connectors-community MySQL Connectors Community 145
mysql-tools-community MySQL Tools Community 96
mysql57-community MySQL 5.7 Community Server 432
updates CentOS-6 - Updates 1,193
vmware-tools VMware Tools for Red Hat Enterprise Linux 6 . x86_64 38
repolist: 13,370