Timeout on while doing yum repodata


 
Thread Tools Search this Thread
Top Forums UNIX for Beginners Questions & Answers Timeout on while doing yum repodata
# 1  
Old 10-23-2016
Wrench Timeout on while doing yum repodata

I am setting up a repo.

Code:
[root@vm1-msdp yum.repos.d]# cat /etc/yum.repos.d/test.repo
[TestRepo]
name=Test
baseurl=http://yum2.linux.test.se/repos/rhel-7-server-rpms/
enabled=1

When I do a yum repolist, I get:

Code:
Loaded plugins: product-id, subscription-manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
Setting up Update Process
http://yum2.linux.test.se/repos/rhel-7-server-rpms/repodata/repomd.xml: [Errno 12] Timeout on http://yum2.linux.test.se/repos/rhel-7-server-rpms/repodata/repomd.xml: (28, 'Operation too slow. Less than 1 bytes/sec transfered the last 30 seconds')

Doing a curl gives me:

Code:
[root@vm1-msdp yum.repos.d]# curl http://yum2.linux.test.se/repos/rhel-7-server-rpms/repodata/repomd.xml
<?xml version="1.0" encoding="UTF-8"?>
<repomd xmlns="http://linux.duke.edu/metadata/repo" xmlns:rpm="http://linux.duke.edu/metadata/rpm"><revision>1477136247</revision>
<data type="filelists"><location href="repodata/e8b2ba9dc47e59779fd62e4e620d384980eb7346-filelists.xml.gz" /><timestamp>1477137036</timestamp><size>13356678</size><checksum type="sha1">e8b2ba9dc47e59779fd62e4e620d384980eb7346</checksum><open-size>211256992</open-size><open-checksum type="sha1">692da7344d647c557e13c391bf111e8758c6c6a1</open-checksum></data>
<data type="other"><location href="repodata/3e1db65591b231a193d77afcddc10cd4dc893086-other.xml.gz" /><timestamp>1477137042</timestamp><size>2711908</size><checksum type="sha1">3e1db65591b231a193d77afcddc10cd4dc893086</checksum><open-size>30164660</open-size><open-checksum type="sha1">d5e29adb5726418c9df5607bd4b63f66e9c60644</open-checksum></data>
<data type="primary"><location href="repodata/944a22df6cce5fc0c55475d8203f85a61ff4d32f-primary.xml.gz" /><timestamp>1477137044</timestamp><size>13251254</size><checksum type="sha1">944a22df6cce5fc0c55475d8203f85a61ff4d32f</checksum><open-size>112601964</open-size><open-checksum type="sha1">cab4ad29354193aabb379a32784dfc5431add5c1</open-checksum></data>
<data type="updateinfo"><location href="repodata/620075edbe03bbe5870d429c4e039afbaf7cb562-updateinfo.xml.gz" /><timestamp>1477137104</timestamp><size>1639354</size><checksum type="sha1">620075edbe03bbe5870d429c4e039afbaf7cb562</checksum><open-size>13020728</open-size><open-checksum type="sha1">faee80f3507caebb38379bedd8e8f196ca84521e</open-checksum></data>
<data type="group"><location href="repodata/aa67b97e3fbef6421b210478363475511304ef49-comps.xml" /><timestamp>1477137106</timestamp><size>604619</size><checksum type="sha1">aa67b97e3fbef6421b210478363475511304ef49</checksum></data>
<data type="productid"><location href="repodata/productid" /><timestamp>1477133513</timestamp><size>2159</size><checksum type="sha1">b4fc314796c31e66522014ac1e50f68da1e23f7a</checksum></data>
</repomd>


All other tests seem to be positive.

Code:
[root@vm1-msdp yum.repos.d]# ping yum2.linux.test.se
PING satellite6.lab.linux.test.se (10.51.58.113) 56(84) bytes of data.
64 bytes from 10.51.58.113: icmp_seq=1 ttl=46 time=113 ms
64 bytes from 10.51.58.113: icmp_seq=2 ttl=46 time=113 ms

So im confused as to why am I still seeing a Timeout.
# 2  
Old 10-24-2016
You can reach the server via icmp, have you verified you can reach it on the ports that yum is using?
Code:
telnet satellite6.lab.linux.test.se 80
telnet satellite6.lab.linux.test.se 443

Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Installation of virt-manager while yum update and yum install rhvm does not work

I have downloaded RHEV-H 4.2 Red Hat Virtualization - Red Hat Customer Portal (RHVirtualization 4.2 Host and Manager iso). I uploaded the image and installed on an HP G9 server baremetal. I found I dont have a WAN/net connectivity later on HPG9 server. How can I still install virt-manager on... (1 Reply)
Discussion started by: Paras Pandey
1 Replies

2. UNIX for Advanced & Expert Users

Spacewalk repodata/repomd.xml [Errno 14] HTTP Error 404 - Not Found

I Configured spacwalk 2.7 and synchronized the channels as the root FS was and the server was unresponsive through gui i deleted the cache in /var/cache/rhn & /var/cache/yum and ran yum clean all on the server as well as spacewalk client i could see the following error Loaded plugins: rhnplugin... (0 Replies)
Discussion started by: James0806
0 Replies

3. Linux

Need help on YUM

HI, First I'll use yum check-update to check any updates. Q1: How can I know that how much space needed to update all packages listed by yum check-update command? Q2: How can I list kernel related packages? TIA (2 Replies)
Discussion started by: Sumanthsv
2 Replies

4. UNIX and Linux Applications

yum provides help

Is there a reason why yum provide can't find libquazip? I did this. yum whatprovides */libquazip A quick google search told me it was in quazip and libquazip. RPM resource libquazip.so.1 (1 Reply)
Discussion started by: cokedude
1 Replies

5. Red Hat

Yum error

Hi, I have configure local yum repository in my red hat linux on vmware. Below are the steps i followed 1. mkdir -p /root/install/RPMS 2. Copy all the software/packages RPMS from instillation CD/DVD to /root/install/RPMS directory 3. rpm -ivh createrepo-0.4.11-3.el5.rpm 4. createrepo... (5 Replies)
Discussion started by: chetansingh23
5 Replies

6. Red Hat

help with YUM

Hi All, Just installed new Redhat server. I am trying to do rhn_register. I get this error message. Fatal error: The SSL certificate failed verification. Any one ran into this error. Please let me know. I do have internet connection- ping www.google.com PING... (1 Reply)
Discussion started by: samnyc
1 Replies

7. UNIX for Advanced & Expert Users

yum provides methods

What is the difference between these yum provides and whatprovides methods? I know provides and whatprovides give the same results, but different methods of */ and \* give different results. Also whether you put */ and \* in front of the string or behind the string give different results. I have... (0 Replies)
Discussion started by: cokedude
0 Replies

8. Red Hat

yum error

i have install fresh redhat ent 6.1 and i have configure yum server with ftp but am get this error error 14] PYCURL ERROR 9 - "Server denied you to change to the given directory" i have checked every thing (3 Replies)
Discussion started by: drpix
3 Replies

9. UNIX for Dummies Questions & Answers

Centos commands: Yum Upgrade versus Yum update

Hi, I would like to know the difference between YUM UPDATE and YUM UPGRADE. The man pages say upgrade is same as update with the obsolete option. And by default it says the obsolete option is turned on, which would make them equivalent. Does not say what obsolete does. Can someone please... (3 Replies)
Discussion started by: mojoman
3 Replies

10. Red Hat

Yum Update

I am using Cent OS 5 i need to update proxy server address in yum, i don't know where to update and how exactly i need to specify the proxy address can anyone help me in the issue. (2 Replies)
Discussion started by: praneel2k
2 Replies
Login or Register to Ask a Question