Symptoms
An error similar to the following is encountered when attempting to run the yum
command.
http://yum.mariadb.org/10.2/rhel7-amd64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
Description
MariaDB 10.2 is EoL, and the MariaDB 10.2 repository was archived, which changed the location of the repository.
Workaround
- Access the server's command line as the 'root' user via SSH or "Terminal" in WHM.
- Open the
/etc/yum.repos.d/mariadb.repo
file in a text editor. - Locate the
baseurl
entry.baseurl = http://yum.mariadb.org/10.2/rhel7-amd64
- Replace the "yum.mariadb.org" section of the URL with "archive.mariadb.org/yum".
baseurl = http://archive.mariadb.org/yum/10.2/rhel7-amd64
- Save the changes and exit the text editor.