title: Centos: Could not retrieve the mirrorlist
body: <p>I am not able to install any service by using the yum command.
  When I try to install httpd by typing </p>
  
  <pre><code>[root@kstest /]# yum install httpd
  Loaded plugins: fastestmirror
  Loading mirror speeds from cached hostfile
  Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=6&amp;arch=x86_64&amp;repo=os error was
  14: PYCURL ERROR 7 - "Failed to connect to 2a02:2498:1:3d:5054:ff:fed3:e91a: Network is unreachable"
  Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=6&amp;arch=x86_64&amp;repo=extras error was
  14: PYCURL ERROR 7 - "Failed to connect to 2a02:2498:1:3d:5054:ff:fed3:e91a: Network is unreachable"
  Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=6&amp;arch=x86_64&amp;repo=updates error was
  14: PYCURL ERROR 7 - "Failed to connect to 2a02:2498:1:3d:5054:ff:fed3:e91a: Network is unreachable"
   * base: centos.aol.in
   * extras: centos-hn.viettelidc.com.vn
   * updates: centos.aol.in
  http://centos.aol.in/6.5/os/x86_64/repodata/repomd.xml: [Errno 12] Timeout on http://centos.aol.in/6.5/os/x86_64/repodata/repomd.xml: (28, 'connect() timed out!')
  Trying other mirror.
  </code></pre>
  
  <p>After that when I try to use yum command it says </p>
  
  <pre><code>Existing lock /var/run/yum.pid: another copy is running as pid 2063.
  Another app is currently holding the yum lock; waiting for it to exit...
    The other application is: yum
      Memory :  22 M RSS (219 MB VSZ)
      Started: Mon Jul 21 05:09:53 2014 - 01:09 ago
      State  : Traced/Stopped, pid: 2063
  </code></pre>
  
  <p>to unlock that I entered </p>
  
  <pre><code>ps aux | grep yum
  kill -9 &lt;pid number&gt;
  </code></pre>
  
  <p>When I tried to update yum by typing </p>
  
  <pre><code>yum update -y
  </code></pre>
  
  <p>I am getting the following </p>
  
  <pre><code>[root@kstest etc]# yum update -y
  Loaded plugins: fastestmirror
  Loading mirror speeds from cached hostfile
   * base: centos.aol.in
   * extras: centos-hn.viettelidc.com.vn
   * updates: centos.aol.in
  http://centos.aol.in/6.5/os/x86_64/repodata/repomd.xml: [Errno 12] Timeout on http://centos.aol.in/6.5/os/x86_64/repodata/repomd.xml: (28, 'connect() timed out!')
  Trying other mirror.
  </code></pre>
  
  <p>How do I resolve this issue ?
  How can I install httpd?</p>
  
  <p>My yum.repos.d file present in etc/ is empty. and my yum.conf file is </p>
  
  <pre><code>[main]
  proxy=http://proxy.com:8000
  cachedir=/var/cache/yum/$basearch/$releasever
  keepcache=0
  debuglevel=2
  logfile=/var/log/yum.log
  exactarch=1
  obsoletes=1
  gpgcheck=1
  plugins=1
  installonly_limit=5
  bugtracker_url=http://bugs.centos.org/set_project.php?project_id=16&amp;ref=http://bugs.centos.org/bug_report_page.php?category=yum
  distroverpkg=centos-release
  </code></pre>
  
  <p>the proxy I have added it. it was not there from before.</p>