PHP Error
I have looked all over and can not find a fix for this, I have done everything that I could from what I searched on here but nothing worked. I got an error on my cpanel up that let me to this
[root@srv1 ~]# /scripts/rpmup
warn [rpmup] Ignoring SCL "rh-php72" because it does not have the right /etc dir (/opt/rh/rh-php72/root/etc).
warn [rpmup] Ignoring SCL "rh-php72" because it does not have the right /etc dir (/opt/rh/rh-php72/root/etc).
checkyum version 22.3 (excludes: bind-chroot kernel ruby)
info [rpmup] Starting yum execution "--assumeyes --config /etc/yum.conf update --disablerepo=epel".
Loaded plugins: fastestmirror, langpacks, universal-hooks
Loading mirror speeds from cached hostfile
* EA4: 66.23.237.210
* cpanel-addons-production-feed: 66.23.237.210
* cpanel-plugins: 66.23.237.210
* base: mirror.clarkson.edu
* centos-sclo-rh: mirror.clarkson.edu
* centos-sclo-sclo: mirror.clarkson.edu
* extras: mirror.clarkson.edu
* updates: mirror.clarkson.edu
No packages marked for update
info [rpmup] Completed yum execution "--assumeyes --config /etc/yum.conf update --disablerepo=epel": in 4.983 second(s).
checkyum version 22.3 (excludes: bind-chroot ruby)
Any help would be appreciated
-
What is rh-php72? This isn't a standard cPanel PHP Package 0 -
I got this error message when I updated the server, aslo this a new server with CSf firewall and cpanel. I have been running websites and severs for over a decade, and have never seen this, this is one of two servers I am setting up for a nonprofit, that Cpanel was kind enough to support us, we thank you for that also. Ed [2020-02-21 12:06:27 -0500] 29% complete [2020-02-21 12:06:27 -0500] - Finished in 0.862 seconds [2020-02-21 12:06:27 -0500] Processing: Running rpmup (yum -y update) [2020-02-21 12:06:27 -0500] - Processing command `/usr/local/cpanel/scripts/rpmup` [2020-02-21 12:06:28 -0500] E [/usr/local/cpanel/scripts/rpmup] "yum" reported error code "1" when it ended: w/ yum [2020-02-21 12:06:28 -0500] E [/usr/local/cpanel/scripts/rpmup] Loaded plugins: fastestmirror, langpacks, universal-hooks [2020-02-21 12:06:28 -0500] E [/usr/local/cpanel/scripts/rpmup] Loading mirror speeds from cached hostfile [2020-02-21 12:06:28 -0500] E [/usr/local/cpanel/scripts/rpmup] [2020-02-21 12:06:28 -0500] E [/usr/local/cpanel/scripts/rpmup] [2020-02-21 12:06:28 -0500] E [/usr/local/cpanel/scripts/rpmup] One of the configured repositories failed (Unknown), [2020-02-21 12:06:28 -0500] E [/usr/local/cpanel/scripts/rpmup] and yum doesn't have enough cached data to continue. At this point the only [2020-02-21 12:06:28 -0500] E [/usr/local/cpanel/scripts/rpmup] safe thing yum can do is fail. There are a few ways to work "fix" this: [2020-02-21 12:06:28 -0500] E [/usr/local/cpanel/scripts/rpmup] [2020-02-21 12:06:28 -0500] E [/usr/local/cpanel/scripts/rpmup] 1. Contact the upstream for the repository and get them to fix the problem. [2020-02-21 12:06:28 -0500] E [/usr/local/cpanel/scripts/rpmup] [2020-02-21 12:06:28 -0500] E [/usr/local/cpanel/scripts/rpmup] 2. Reconfigure the baseurl/etc. for the repository, to point to a working [2020-02-21 12:06:28 -0500] E [/usr/local/cpanel/scripts/rpmup] upstream. This is most often useful if you are using a newer [2020-02-21 12:06:28 -0500] E [/usr/local/cpanel/scripts/rpmup] distribution release than is supported by the repository (and the [2020-02-21 12:06:28 -0500] E [/usr/local/cpanel/scripts/rpmup] packages for the previous distribution release still work). [2020-02-21 12:06:28 -0500] E [/usr/local/cpanel/scripts/rpmup] [2020-02-21 12:06:28 -0500] E [/usr/local/cpanel/scripts/rpmup] 3. Run the command with the repository temporarily disabled [2020-02-21 12:06:28 -0500] E [/usr/local/cpanel/scripts/rpmup] yum --disablerepo= ... [2020-02-21 12:06:28 -0500] E [/usr/local/cpanel/scripts/rpmup] [2020-02-21 12:06:28 -0500] E [/usr/local/cpanel/scripts/rpmup] 4. Disable the repository permanently, so yum won't use it by default. Yum [2020-02-21 12:06:28 -0500] E [/usr/local/cpanel/scripts/rpmup] will then just ignore the repository until you permanently enable it [2020-02-21 12:06:28 -0500] E [/usr/local/cpanel/scripts/rpmup] again or use --enablerepo for temporary usage: [2020-02-21 12:06:28 -0500] E [/usr/local/cpanel/scripts/rpmup] [2020-02-21 12:06:28 -0500] E [/usr/local/cpanel/scripts/rpmup] yum-config-manager --disable [2020-02-21 12:06:28 -0500] E [/usr/local/cpanel/scripts/rpmup] or [2020-02-21 12:06:28 -0500] E [/usr/local/cpanel/scripts/rpmup] subscription-manager repos --disable= [2020-02-21 12:06:28 -0500] E [/usr/local/cpanel/scripts/rpmup] [2020-02-21 12:06:28 -0500] E [/usr/local/cpanel/scripts/rpmup] 5. Configure the failing repository to be skipped, if it is unavailable. [2020-02-21 12:06:28 -0500] E [/usr/local/cpanel/scripts/rpmup] Note that yum will try to contact the repo. when it runs most commands, [2020-02-21 12:06:28 -0500] E [/usr/local/cpanel/scripts/rpmup] so will have to try and fail each time (and thus. yum will be be much [2020-02-21 12:06:28 -0500] E [/usr/local/cpanel/scripts/rpmup] slower). If it is a very temporary problem though, this is often a nice [2020-02-21 12:06:28 -0500] E [/usr/local/cpanel/scripts/rpmup] compromise: [2020-02-21 12:06:28 -0500] E [/usr/local/cpanel/scripts/rpmup] [2020-02-21 12:06:28 -0500] E [/usr/local/cpanel/scripts/rpmup] yum-config-manager --save --setopt=.skip_if_unavailable=true [2020-02-21 12:06:28 -0500] E [/usr/local/cpanel/scripts/rpmup] [2020-02-21 12:06:28 -0500] E [/usr/local/cpanel/scripts/rpmup] Cannot find a valid baseurl for repo: EA4/7/x86_64 [2020-02-21 12:06:28 -0500] E [/usr/local/cpanel/scripts/rpmup] Could not retrieve mirrorlist Log closed Fri Feb 21 12:06:28 2020 0 -
Have you upgraded PHP through Red Hat Software Collections (SCL) repository 0 -
Thinking I may just wipe the server, unless somebody has a fix for this. Might be faster to wipe. Thanks to everyone who has replied and anyone who may reply. 0 -
Well, the issue is the custom packages, if you remove those and install ea-php72 instead this should resolve the issue. 0
Please sign in to leave a comment.
Comments
7 comments