Getting Error: 404 while accessing the E4S repositories on Red Hat Enterprise Linux 9.4 system.
Environment
- Red Hat Enterprise Linux
- 9.0
- 9.2
- 9.4
- 9.6
- 9.8
- Red Hat Subscription Manager
Issue
- Unable to access
Update Services for SAP Solutions (E4S)repositories onRed Hat Enterprise Linux 9.4system after in-place upgrade. - Getting
Status code: 404while accessing theUpdate Services for SAP Solutions (E4S)repositories onRed Hat Enterprise Linux 9.4system.
Resolution
-
For Red Hat Enterprise Linux for SAP Solutions on RHEL 9,
Update Services for SAP Solutions (E4S)is currently available for the following releases:- 9.0 (ends May 31, 2026)
- 9.2 (ends May 31, 2027)
- 9.4 (ends April 30, 2028)
- 9.6 (ends May 31, 2029)
In Red Hat Enterprise Linux 9, Update Services for SAP Solutions is also planned for RHEL 9.8. For more information on this, refer Update Services for SAP Solutions.
-
To access the
Update Services for SAP Solutions (E4S)repositories, lock the version on theRHELsystem to the required release that is supported forUpdate Services for SAP Solutions (E4S). -
On Red Hat Enterprise Linux 9.4, the
RHEL OSversion can be locked using the following command.$ subscription-manager release --set=9.4 -
Verify the version of
RHEL OSlocked.$ subscription-manager release --show 9.4
Root Cause
RHEL OSversion was not locked on the Red Hat Enterprise Linux system 9.4 system that is needed to access theUpdate Services for SAP Solutions (E4S)repositories.
Diagnostic Steps
-
Enable the
Update Services for SAP Solutions (E4S)repositories on the Red Hat Enterprise Linux 9.4 system and check access to these repositories$ subscription-manager repos \ --disable="*" \ --enable="rhel-9-for-x86_64-baseos-e4s-rpms" \ --enable="rhel-9-for-x86_64-appstream-e4s-rpms" \ --enable="rhel-9-for-x86_64-sap-solutions-e4s-rpms" \ --enable="rhel-9-for-x86_64-sap-netweaver-e4s-rpms" $ yum repolist -v Loaded plugins: builddep, changelog, config-manager, copr, debug, debuginfo-install, download, generate_completion_cache, groups-manager, kpatch, needs-restarting, notify-packagekit, playground, product-id, repoclosure, repodiff, repograph, repomanage, reposync, subscription-manager, system-upgrade, uploadprofile Updating Subscription Management repositories. YUM version: 4.14.0 cachedir: /var/cache/dnf Extra Packages for Enterprise Linux 8 - x86_64 18 MB/s | 14 MB 00:00 Red Hat Enterprise Linux 9 for x86_64 - SAP NetWeaver - Update Services for SAP Solutions (RPMs) 0.0 B/s | 0 B 00:00 Errors during downloading metadata for repository 'rhel-9-for-x86_64-sap-netweaver-e4s-rpms': - Status code: 404 for https://cdn.redhat.com/content/e4s/rhel9/9/x86_64/sap/os/repodata/repomd.xml (IP: x.x.x.x) Error: Failed to download metadata for repo 'rhel-9-for-x86_64-sap-netweaver-e4s-rpms': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried -
Check if the
RHEL OSversion is locked to the required release available withUpdate Services for SAP Solutions (E4S)repositories.$ subscription-manager release --list $ subscription-manager release --show
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.
Comments