Issue
Yum failed with
Error communicating with server. The message was:
Forbidden
Environment
- CloudLinux
Solution
- Check if the fastestmirror plugin is enabled:
# grep -n 'enabled' /etc/yum/pluginconf.d/fastestmirror.conf
/etc/yum/pluginconf.d/fastestmirror.conf:2:enabled=1 - Make sure the mirror being used is reachable locally and from other test servers. If that's not the case, exclude it in the "fastestmirror.conf" file:
# echo "exclude=$MIRROR" >> /etc/yum/pluginconf.d/fastestmirror.conf
Cause
Unreachable mirror.
Comments
0 comments
Please sign in to leave a comment.