Re: yum errors

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




> Date: Tuesday, December 08, 2015 09:17:20 -0700
> From: Wes James <comptekki@xxxxxx>
> 
>> 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&inf
>>> ra=stock" --2015-12-08 08:04:15--
>>> http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=os&infr
>>> a=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?
>> 
> 
> 
> I just tried wget on my virtual box vm and it shows:
> 
> wget "http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=os";
> --2015-12-08 09:12:33--
> http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=os
> Resolving mirrorlist.centos.org... 108.61.16.227, 84.22.180.89,
> 88.150.173.218, ... Connecting to
> mirrorlist.centos.org|108.61.16.227|:80... connected. HTTP request
> sent, awaiting response... 200 OK
> Length: unspecified [text/plain]
> Saving to: “index.html?release=6&arch=x86_64&repo=os”
> 
>     [ <=>
> ] 512         --.-K/s   in 0s      
> 
> 2015-12-08 09:12:34 (96.8 MB/s) -
> “index.html?release=6&arch=x86_64&repo=os” saved [512]
> 
> 
> 
> Why is wget resolving to 199.187….. on these other systems?
> 
> and nslookup shows the correct host resolution:
> 
> $ nslookup mirrorlist.centos.org
> 
> Non-authoritative answer:
> Name:	mirrorlist.centos.org
> Address: 88.150.173.218
> Name:	mirrorlist.centos.org
> Address: 84.22.180.89
> Name:	mirrorlist.centos.org
> Address: 108.61.16.227
> 
> Thanks,
> 
> -wes

You wouldn't happen to have an entry for mirrorlist.centos.org in
your /etc/hosts file for some reason?

Also, what is on the line for the (uncommented out) "hosts:" entry
in your /etc/nsswitch.conf file?


_______________________________________________
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