Yum Error Operation too slow

When i did yum update on a CloudLinux server, i get following error

error was [Errno 12] Timeout on https://cl-mirror.dewabiz.com/XMLRPC/GET-REQ/cloudlinux-x86_64-server-7/repodata/filelists.xml.gz: (28, 'Operation too slow. Less than 1000 bytes/sec transferred the last 120 seconds')

This is because server is unable to connect to one of the yum mirrors.

To fix this, we need to disable the mirror that cause this timeout.

Advertisement

Edit file

vi /etc/yum/pluginconf.d/fastestmirror.conf

Find

enabled=0

Replace with

enabled=1

Find

exclude=

Add below

exclude=cl-mirror.dewabiz.com

run

yum clean all
yum makecache

Now yum will work.

Add a comment

Leave a Reply

Your email address will not be published. Required fields are marked *

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Advertisement