Yum Error Operation too slow
When i did yum update on a CloudLinux server, i get following error
1 |
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.
Edit file
1 |
vi /etc/yum/pluginconf.d/fastestmirror.conf |
Find
1 |
enabled=0 |
Replace with
1 |
enabled=1 |
Find
1 |
exclude= |
Add below
1 |
exclude=cl-mirror.dewabiz.com |
run
1 2 |
yum clean all yum makecache |
Now yum will work.
See yum