<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: Yum Repolist getting errror :- 'http://centos/yum/HDP/centos6/2.x/updates/2.1.10.0/repodata/repomd.xml: [Errno 14] PYCURL ERROR 7 - &amp;quot;couldn't connect to host&amp;quot; in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Yum-Repolist-getting-errror-http-centos-yum-HDP-centos6-2-x/m-p/212084#M63115</link>
    <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/11907/shivkumar82015.html" nodeid="11907"&gt;@zkfs&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I see the repo URL you are using as &lt;/P&gt;&lt;PRE&gt;&lt;A href="http://centos/yum/HDP/centos6/2.x/updates/2.1.10.0/repodata/repomd.xml" target="_blank"&gt;http://centos/yum/HDP/centos6/2.x/updates/2.1.10.0/repodata/repomd.xml&lt;/A&gt;&lt;/PRE&gt;&lt;P&gt;Here the host name is "http://&lt;STRONG&gt;centos&lt;/STRONG&gt;".  Can you please check if you have really configured this hostname in your "/etc/hosts" file?    &lt;/P&gt;&lt;P&gt;Is that host name intended or by mistake?&lt;/P&gt;&lt;P&gt;Can you also search which repo file in your system has the hostname "centos"?&lt;/P&gt;&lt;PRE&gt;grep "http://centos"  /etc/yum.repos.d/*&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;If you have configured a custom HDP/Ambari repo then let us know if  "http://centos"  is it your custom repo host?   If, yes then the mentioned hostname should be resolvable and reachable. A simple WGET can help in knowing if the mentioned URL is accessible or not ?&lt;/P&gt;&lt;PRE&gt;wget &lt;A href="http://centos/yum/HDP/centos6/2.x/updates/2.1.10.0/repodata/repomd.xml" target="_blank"&gt;http://centos/yum/HDP/centos6/2.x/updates/2.1.10.0/repodata/repomd.xml&lt;/A&gt;&lt;/PRE&gt;&lt;P&gt;- If the URL is not accessible then it means wither your Custom Local repo (hosted on "centos") is not configured properly and not accessible.   &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;(OR)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Some unwanted files with the mentioned host might be present in yoru "/etc/yum./repos.d" directory you might want to either fix them or remove them from the repos.d directory.  and perform  "yum clean all"&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;</description>
    <pubDate>Sat, 17 Jun 2017 10:47:24 GMT</pubDate>
    <dc:creator>jsensharma</dc:creator>
    <dc:date>2017-06-17T10:47:24Z</dc:date>
    <item>
      <title>Yum Repolist getting errror :- 'http://centos/yum/HDP/centos6/2.x/updates/2.1.10.0/repodata/repomd.xml: [Errno 14] PYCURL ERROR 7 - "couldn't connect to host"</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Yum-Repolist-getting-errror-http-centos-yum-HDP-centos6-2-x/m-p/212083#M63114</link>
      <description>&lt;PRE&gt;[root@repository ~]# yum repolist
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: centos.exabytes.com.my
 * extras: centos.exabytes.com.my
 * updates: centos.exabytes.com.my
&lt;A href="http://centos/yum/HDP/centos6/2.x/updates/2.1.10.0/repodata/repomd.xml:" target="_blank"&gt;http://centos/yum/HDP/centos6/2.x/updates/2.1.10.0/repodata/repomd.xml:&lt;/A&gt; [Errno 14] PYCURL ERROR 7 - "couldn't connect to host"
Trying other mirror.
&lt;A href="http://centos/yum/HDP-UTILS-1.1.0.19/repos/centos6/repodata/repomd.xml:" target="_blank"&gt;http://centos/yum/HDP-UTILS-1.1.0.19/repos/centos6/repodata/repomd.xml:&lt;/A&gt; [Errno 14] PYCURL ERROR 7 - "couldn't connect to host"
Trying other mirror.
&lt;A href="http://centos/yum/AMBARI-2.2.2.0/centos6/2.2.2.0-460/repodata/repomd.xml:" target="_blank"&gt;http://centos/yum/AMBARI-2.2.2.0/centos6/2.2.2.0-460/repodata/repomd.xml:&lt;/A&gt; [Errno 14] PYCURL ERROR 7 - "couldn't connect to host"
Trying other mirror.
repo id                                                               repo name                                                              status
HDP-2.1                                                               HDP-2.1                                                                   98
HDP-UTILS-1.1.0.19                                                    HDP-UTILS-1.1.0.19                                                        48
Updates-ambari-2.2.0.0                                                ambari-2.2.0.0 - Updates                                                   8
base                                                                  CentOS-6 - Base                                                        6,706
extras                                                                CentOS-6 - Extras                                                         45
mysql-connectors-community                                            MySQL Connectors Community                                                36
mysql-tools-community                                                 MySQL Tools Community                                                     47
mysql56-community                                                     MySQL 5.6 Community Server                                               358
updates                                                               CentOS-6 - Updates                                                       358
repolist: 7,704
[root@repository ~]# yum repolist
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: centos.exabytes.com.my
 * extras: centos.exabytes.com.my
 * updates: centos.exabytes.com.my
HDP-2.1                                                                                                                     | 2.9 kB     00:00
HDP-UTILS-1.1.0.19                                                                                                          | 2.9 kB     00:00
Updates-ambari-2.2.0.0                                                                                                      | 2.9 kB     00:00
repo id                                                               repo name                                                              status
HDP-2.1                                                               HDP-2.1                                                                   98
HDP-UTILS-1.1.0.19                                                    HDP-UTILS-1.1.0.19                                                        48
Updates-ambari-2.2.0.0                                                ambari-2.2.0.0 - Updates                                                   8
base                                                                  CentOS-6 - Base                                                        6,706
extras                                                                CentOS-6 - Extras                                                         45
mysql-connectors-community                                            MySQL Connectors Community                                                36
mysql-tools-community                                                 MySQL Tools Community                                                     47
mysql56-community                                                     MySQL 5.6 Community Server                                               358
updates                                                               CentOS-6 - Updates                                                       358
repolist: 7,704
[root@repository ~]# 

&lt;/PRE&gt;</description>
      <pubDate>Fri, 16 Sep 2022 11:46:54 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Yum-Repolist-getting-errror-http-centos-yum-HDP-centos6-2-x/m-p/212083#M63114</guid>
      <dc:creator>shivkumar82015</dc:creator>
      <dc:date>2022-09-16T11:46:54Z</dc:date>
    </item>
    <item>
      <title>Re: Yum Repolist getting errror :- 'http://centos/yum/HDP/centos6/2.x/updates/2.1.10.0/repodata/repomd.xml: [Errno 14] PYCURL ERROR 7 - "couldn't connect to host"</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Yum-Repolist-getting-errror-http-centos-yum-HDP-centos6-2-x/m-p/212084#M63115</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/11907/shivkumar82015.html" nodeid="11907"&gt;@zkfs&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I see the repo URL you are using as &lt;/P&gt;&lt;PRE&gt;&lt;A href="http://centos/yum/HDP/centos6/2.x/updates/2.1.10.0/repodata/repomd.xml" target="_blank"&gt;http://centos/yum/HDP/centos6/2.x/updates/2.1.10.0/repodata/repomd.xml&lt;/A&gt;&lt;/PRE&gt;&lt;P&gt;Here the host name is "http://&lt;STRONG&gt;centos&lt;/STRONG&gt;".  Can you please check if you have really configured this hostname in your "/etc/hosts" file?    &lt;/P&gt;&lt;P&gt;Is that host name intended or by mistake?&lt;/P&gt;&lt;P&gt;Can you also search which repo file in your system has the hostname "centos"?&lt;/P&gt;&lt;PRE&gt;grep "http://centos"  /etc/yum.repos.d/*&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;If you have configured a custom HDP/Ambari repo then let us know if  "http://centos"  is it your custom repo host?   If, yes then the mentioned hostname should be resolvable and reachable. A simple WGET can help in knowing if the mentioned URL is accessible or not ?&lt;/P&gt;&lt;PRE&gt;wget &lt;A href="http://centos/yum/HDP/centos6/2.x/updates/2.1.10.0/repodata/repomd.xml" target="_blank"&gt;http://centos/yum/HDP/centos6/2.x/updates/2.1.10.0/repodata/repomd.xml&lt;/A&gt;&lt;/PRE&gt;&lt;P&gt;- If the URL is not accessible then it means wither your Custom Local repo (hosted on "centos") is not configured properly and not accessible.   &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;(OR)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Some unwanted files with the mentioned host might be present in yoru "/etc/yum./repos.d" directory you might want to either fix them or remove them from the repos.d directory.  and perform  "yum clean all"&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;</description>
      <pubDate>Sat, 17 Jun 2017 10:47:24 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Yum-Repolist-getting-errror-http-centos-yum-HDP-centos6-2-x/m-p/212084#M63115</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2017-06-17T10:47:24Z</dc:date>
    </item>
    <item>
      <title>Re: Yum Repolist getting errror :- 'http://centos/yum/HDP/centos6/2.x/updates/2.1.10.0/repodata/repomd.xml: [Errno 14] PYCURL ERROR 7 - "couldn't connect to host"</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Yum-Repolist-getting-errror-http-centos-yum-HDP-centos6-2-x/m-p/212085#M63116</link>
      <description>&lt;P&gt;It went fine after restart httpd service went fine&lt;/P&gt;&lt;PRE&gt;[root@repository ~]# service httpd status
httpd (pid  2030) is running...
[root@repository ~]#
&lt;/PRE&gt;&lt;PRE&gt;Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: centos.exabytes.com.my
 * extras: centos.exabytes.com.my
 * updates: centos.exabytes.com.my
repo id                                                               repo name                                                              status
HDP-2.1                                                               HDP-2.1                                                                   98
HDP-UTILS-1.1.0.19                                                    HDP-UTILS-1.1.0.19                                                        48
Updates-ambari-2.2.0.0                                                ambari-2.2.0.0 - Updates                                                   8
base                                                                  CentOS-6 - Base                                                        6,706
extras                                                                CentOS-6 - Extras                                                         45
mysql-connectors-community                                            MySQL Connectors Community                                                36
mysql-tools-community                                                 MySQL Tools Community                                                     47
mysql56-community                                                     MySQL 5.6 Community Server                                               358
updates                                                               CentOS-6 - Updates                                                       358
repolist: 7,704
[root@repository ~]#


&lt;/PRE&gt;</description>
      <pubDate>Sun, 18 Jun 2017 23:22:44 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Yum-Repolist-getting-errror-http-centos-yum-HDP-centos6-2-x/m-p/212085#M63116</guid>
      <dc:creator>shivkumar82015</dc:creator>
      <dc:date>2017-06-18T23:22:44Z</dc:date>
    </item>
  </channel>
</rss>

