This is just a connectivity test. That file will be put in the right place
by yum if required. You need to change it to the one your yum is trying to
hit. When you run something like yum update it should show :

# yum update
Loaded plugins: downloadonly, fastestmirror, refresh-packagekit, security
Repository google-chrome is listed more than once in the configuration
Determining fastest mirrors
epel/metalink


                      |  15 kB     00:00
 * base: mirror.steadfast.net
 * epel: mirror.steadfast.net
 * extras: mirror.steadfast.net
 * rpmforge: mirror.us.leaseweb.net
 * rpmforge-extras: mirror.us.leaseweb.net
 * updates: mirror.cisp.com

...hopefully it gets that far. So for example, on mine I'd use
mirror.steadfast.net . Then check the
/var/cache/yum/i686/6/base/mirrorlist.txt file and it should show you the
path to the os directory for that server, e.g. mine has :

http://mirror.steadfast.net/centos/6.5/os/x86_64/

So I'd run :

curl http://mirror.steadfast.net/centos/6.5/os/x86_64/repodata/repomd.xml

to make sure it can get the file. Again just a connectivity test, because
in your straces it was getting stuck trying to make these connection
attempts.


On Fri, Jan 3, 2014 at 2:15 PM, Howard White <[email protected]> wrote:

> On 01/03/2014 01:16 PM, Sabuj Pattanayek wrote:
>
>> in one of the yum threads when looking at strace -ff, it wasn't able to
>> connect to particular mirror hosts, but he cleared his yum cache and
>> it's getting stuck on various hosts. Howard, did you try manually
>> curling or wget'ing the repomd.xml file on the mirror on which it gets
>> stuck on in the strace ? For example :
>>
>> wget http://mirrors.sonic.net/centos/6.5/os/x86_64/repodata/repomd.xml
>>
>> You'd need to change the host and the path slightly to just before the
>> os dir for the particular mirror.
>>
>>
> I just ran the above wget (with i386 in place of x86_64) and it resolved
> and "got" instantly.  Where in the file system should this file reside?
>
> Howard
>
>
> --
> --
> You received this message because you are subscribed to the Google Groups
> "NLUG" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to nlug-talk+unsubscribe@
> googlegroups.com
> For more options, visit this group at http://groups.google.com/
> group/nlug-talk?hl=en
>
> --- You received this message because you are subscribed to the Google
> Groups "NLUG" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
-- 
You received this message because you are subscribed to the Google Groups 
"NLUG" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/nlug-talk?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"NLUG" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to