[CentOS] Could not retrieve mirror list while using yum command
jashokda at cisco.com
Fri Apr 2 05:40:06 UTC 2010
Ok, i figured out the issue , Did some google on it and found this
useful link on usage of proxy.
Thanks Kwan , Thanks kwan for questioning me on the proxy usage.
On 4/2/2010 10:51 AM, Jatin Davey wrote:
> Hi Kwan
> I executed the following on the host that was having problem:
> [root at localhost yum.repos.d]# wget http://www.google.com
> --22:14:25-- http://www.google.com/
> Resolving www.google.com... 184.108.40.206, 220.127.116.11, 18.104.22.168, ...
> Connecting to www.google.com|22.214.171.124|:80... failed: Connection
> timed out.
> Connecting to www.google.com|126.96.36.199|:80... failed: Connection
> timed out.
> Which shows that i am not getting connected to the internet.
> Now coming to the second point on whether i am using a proxy or not ? ,
> I really dont know whether i am using a proxy or not. When i used a
> similar CentOS box on which i was successful in connecting to the
> internet i issues the same command as mentioned above and it got
> connected and downloaded the web file.
> How do i find whether i have proxy configured on the host that is
> connecting to the internet ?
> If you can guide me through this then i can replicate the configuration
> from the above host to the hosts that are not getting connected to the
> On 4/2/2010 10:28 AM, Kwan Lowe wrote:
>> On Thu, Apr 1, 2010 at 11:38 PM, Jatin Davey<jashokda at cisco.com> wrote:
>>> I wanted to download and install the net-snmp package. Usually on my
>>> other CentOS boxes i use the following command to do it:
>>> yum install net-snmp
>>> I was able to successfully install net-snmp on 4 of my CentOS boxes but
>>> not on one of them. It reports me the following error message:
>>> [root at localhost yum.repos.d]# yum install net-snmp
>>> Loaded plugins: fastestmirror
>>> Determining fastest mirrors
>>> Could not retrieve mirrorlist
>>> http://mirrorlist.centos.org/?release=5&arch=i386&repo=os error was
>>> [Errno 4] IOError:<urlopen error (110, 'Connection timed out')>
>>> Error: Cannot find a valid baseurl for repo: base
>> Can you access the internet from that machine? Do you require a proxy
>> to connect?
>> CentOS mailing list
>> CentOS at centos.org
> CentOS mailing list
> CentOS at centos.org
More information about the CentOS