My Oracle Support Banner

uln-yum-mirror Fails with Error "[Errno 12] Timeout (28, 'Operation too slow. Less than 1000 bytes/sec transferred the last 30 seconds')" (Doc ID 2455206.1)

Last updated on JULY 28, 2020

Applies to:

Linux OS - Version Oracle Linux 7.5 with Unbreakable Enterprise Kernel [4.1.12] and later
Linux x86-64

Symptoms

On local ULN mirror server, 'uln-yum-mirror' (cron job) fails with the following errors, which are shown in File: uln-yum-mirror.log

## BEGIN PROCESSING ol7_x86_64_u0_patch ## Wed Oct 3 09:45:07 #### 2018
Channel Dir: /var/www/html/yum/OracleLinux/OL7/0/patch/x86_64
Loaded plugins: rhnplugin
This system is receiving updates from ULN.
Traceback (most recent call last):
File "/bin/reposync", line 373, in <module>
main()
File "/bin/reposync", line 185, in main
my.doRepoSetup()
File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 681, in doRepoSetup
return self._getRepos(thisrepo, True)
File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 721, in _getRepos
self._repos.doSetup(thisrepo)
File "/usr/lib/python2.7/site-packages/yum/repos.py", line 157, in doSetup
self.retrieveAllMD()
File "/usr/lib/python2.7/site-packages/yum/repos.py", line 88, in retrieveAllMD
dl = repo._async and repo._commonLoadRepoXML(repo)
File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 1484, in _commonLoadRepoXML
result = self._getFileRepoXML(local, text)
File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 1261, in _getFileRepoXML
size=102400) # setting max size as 100K
File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 1044, in _getFile
raise e
yum.Errors.NoMoreMirrorsRepoError: failure: repodata/repomd.xml from ol7_u5_base: [Errno 256] No more mirrors to try.
http://<local ULN mirror hostname>/yum/OracleLinux/OL7/5/base/x86_64/repodata/repomd.xml: [Errno 12] Timeout on http://<local ULN mirror hostname>/yum/OracleLinux/OL7/5/base/x86_64/repodata/repomd.xml: (28, 'Operation too slow. Less than 1000 bytes/sec transferred the last 30 seconds')
http://<local ULN mirror hostname>/yum/OracleLinux/OL7/5/base/x86_64/repodata/repomd.xml: [Errno 12] Timeout on http://<local ULN mirror hostname>/yum/OracleLinux/OL7/5/base/x86_64/repodata/repomd.xml: (28, 'Operation too slow. Less than 1000 bytes/sec transferred the last 30 seconds')
http://<local ULN mirror hostname>/yum/OracleLinux/OL7/5/base/x86_64/repodata/repomd.xml: [Errno 12] Timeout on http://<local ULN mirror hostname>/yum/OracleLinux/OL7/5/base/x86_64/repodata/repomd.xml: (28, 'Operation too slow. Less than 1000 bytes/sec transferred the last 30 seconds')
http://<local ULN mirror hostname>/yum/OracleLinux/OL7/5/base/x86_64/repodata/repomd.xml: [Errno 12] Timeout on http://<local ULN mirror hostname>/yum/OracleLinux/OL7/5/base/x86_64/repodata/repomd.xml: (28, 'Operation too slow. Less than 1000 bytes/sec transferred the last 30 seconds')
http://<local ULN mirror hostname>/yum/OracleLinux/OL7/5/base/x86_64/repodata/repomd.xml: [Errno 12] Timeout on http://<local ULN mirror hostname>/yum/OracleLinux/OL7/5/base/x86_64/repodata/repomd.xml: (28, 'Operation too slow. Less than 1000 bytes/sec transferred the last 30 seconds')
http://<local ULN mirror hostname>/yum/OracleLinux/OL7/5/base/x86_64/repodata/repomd.xml: [Errno 12] Timeout on http://<local ULN mirror hostname>/yum/OracleLinux/OL7/5/base/x86_64/repodata/repomd.xml: (28, 'Operation too slow. Less than 1000 bytes/sec transferred the last 30 seconds')
http://<local ULN mirror hostname>/yum/OracleLinux/OL7/5/base/x86_64/repodata/repomd.xml: [Errno 12] Timeout on http://<local ULN mirror hostname>/yum/OracleLinux/OL7/5/base/x86_64/repodata/repomd.xml: (28, 'Operation too slow. Less than 1000 bytes/sec transferred the last 30 seconds')
http://<local ULN mirror hostname>/yum/OracleLinux/OL7/5/base/x86_64/repodata/repomd.xml: [Errno 12] Timeout on http://<local ULN mirror hostname>/yum/OracleLinux/OL7/5/base/x86_64/repodata/repomd.xml: (28, 'Operation too slow. Less than 1000 bytes/sec transferred the last 30 seconds')
http://<local ULN mirror hostname>/yum/OracleLinux/OL7/5/base/x86_64/repodata/repomd.xml: [Errno 12] Timeout on http://<local ULN mirror hostname>/yum/OracleLinux/OL7/5/base/x86_64/repodata/repomd.xml: (28, 'Operation too slow. Less than 1000 bytes/sec transferred the last 30 seconds')
http://<local ULN mirror hostname>/yum/OracleLinux/OL7/5/base/x86_64/repodata/repomd.xml: [Errno 12] Timeout on http://<local ULN mirror hostname>/yum/OracleLinux/OL7/5/base/x86_64/repodata/repomd.xml: (28, 'Operation too slow. Less than 1000 bytes/sec transferred the last 30 seconds')
Saving Primary metadata
Saving file lists metadata
Saving other metadata
Generating sqlite DBs
Sqlite DBs complete
## END PROCESSING ol7_x86_64_u0_patch ## Wed Oct 3 09:55:11 #### 2018

Changes

User configured yum on this Local ULN mirror server.

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.