Re: yum errors

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



> On Dec 8, 2015, at 9:03 AM, Tru Huynh <tru@xxxxxxxxxx> wrote:
> 
> Hi,
> 
> 
> On Tue, Dec 08, 2015 at 08:24:34AM -0700, Wes James wrote:
>> 
> <please trim your replies>
> ...
>> 
>> nslookup works:
>> 
>> Non-authoritative answer:
>> Name:	mirrorlist.centos.org
>> Address: 108.61.16.227
>> Name:	mirrorlist.centos.org
>> Address: 84.22.180.89
>> Name:	mirrorlist.centos.org
>> Address: 88.150.173.218
>> 
>> but wget fails??
>> 
>> $ wget "http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=os&infra=stock";
>> --2015-12-08 08:04:15--  http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=os&infra=stock
>> Resolving mirrorlist.centos.org... 199.187.126.90
>> Connecting to mirrorlist.centos.org|199.187.126.90|:80... 
>> failed: Connection timed out.
>> Retrying.
> why does your wget hit 199.187.126.90 when your DNS says
> 108.61.16.227|84.22.180.89|88.150.173.218 ?
> 
> Bad http proxy in the way?
> 
> Tru
> 

I started poking around in /etc/resolve.conf, /etc/nsswitch.conf and /etc/hosts and guess what I found in /etc/hosts?


199.187.126.90 mirrorlist.centos.org <http://mirrorlist.centos.org/>


Not sure why the previous admin did this.  Is it an old mirror IP??  

I commented that line out and now yum update is working.

Insanity reigns…..

Thanks for everyones help :)

-wes
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos




[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux