Symptoms
The system package manager, yum or dnf, cannot update RPMs, preventing cPanel updates.
CONFIG_TEXT: libdnf._error.Error: Failed to download metadata for repo 'imunify360-ea-php-hardened': Cannot download repomd.xml: Status code: 500 for https://repo.alt.cloudlinux.com/el/U1Mya3ZGUlhpMGZo_1XDDPPuI-Iwrd8sGxY0/ea-php/8/updates/x86_64/repodata/repomd.xml (IP: 203.0.113.2)
The Imunify360 repository can also return a 403 error when enabled, but the component is managed by the LVE manager on CloudLinux servers.
CONFIG_TEXT: Errors during downloading metadata for repository 'imunify360-ea-php-hardened':
- Status code: 401
Cause
Imunify360 hardened PHP is not used on a CloudLinux server because CloudLinux already provides hardened PHP. If the Imunify360 hardened PHP repository is enabled, it must be disabled to prevent issues.
Resolution
Disable Imunify360 Hardened PHP repo.
- Log in to SSH as root or utilize the WHM Terminal.
Run the following command:
# yum-config-manager --disable "imunify360-ea-php-hardened"
- Log in to SSH as root or utilize the WHM Terminal.
Run the following command:
# dnf config-manager --disable "imunify360-ea-php-hardened"
Comments
0 comments
Article is closed for comments.