<?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: installing ambari with local repository and no internet access in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/installing-ambari-with-local-repository-and-no-internet/m-p/207418#M169379</link>
    <description>&lt;P&gt;I only have this host name in one file ambari.repo and as I am showing above the url is reachable &lt;/P&gt;&lt;PRE&gt;[root@hadoop1 yum.repos.d]# grep 'hadoop1.tolls.dot.state.fl.us' *.repo
ambari.repo:baseurl=http://hadoop1.tolls.dot.state.fl.us/AMBARI-2.4.2.0/centos6/2.4.2.0-136
[root@hadoop1 yum.repos.d]#
[root@hadoop1 yum.repos.d]# more ambari.repo
#VERSION_NUMBER=2.4.2.0-22
[ambari-2.4.2.0]
name=ambari-2.4.2.0
baseurl=http://hadoop1.tolls.dot.state.fl.us/AMBARI-2.4.2.0/centos6/2.4.2.0-136
gpgcheck=0
gpgkey=http://public-repo-1.hortonworks.com/ambari/centos6/RPM-GPG-KEY/RPM-GPG-KEY-Jenkins
enabled=1
priority=1
[root@hadoop1 yum.repos.d]#

&lt;/PRE&gt;</description>
    <pubDate>Tue, 13 Jun 2017 00:10:39 GMT</pubDate>
    <dc:creator>aliyesami</dc:creator>
    <dc:date>2017-06-13T00:10:39Z</dc:date>
    <item>
      <title>installing ambari with local repository and no internet access</title>
      <link>https://community.cloudera.com/t5/Support-Questions/installing-ambari-with-local-repository-and-no-internet/m-p/207415#M169376</link>
      <description>&lt;P&gt;I am following Hortonworks document for this and they are mentioning and have setup the ambari.repo file  but install is failing , please see what I am doing wrong, also attaching the screenshot showing that the repository directory is accessable from web.&lt;/P&gt;&lt;P&gt;getting following error:&lt;/P&gt;&lt;PRE&gt;
&lt;A href="http://hadoop1/AMBARI-2.4.2.0/centos6/repodata/repomd.xml:" target="_blank"&gt;http://hadoop1/AMBARI-2.4.2.0/centos6/repodata/repomd.xml:&lt;/A&gt; [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 504 Gateway Timeout"
Trying other mirror.


&lt;/PRE&gt;&lt;P&gt;the repond.xml file is there and accessable &lt;/P&gt;&lt;PRE&gt;[root@hadoop1 yum.repos.d]#
[root@hadoop1 yum.repos.d]# ls /var/www/html/AMBARI-2.4.2.0/centos6/2.4.2.0-136/repodata/repomd.xml
/var/www/html/AMBARI-2.4.2.0/centos6/2.4.2.0-136/repodata/repomd.xml
[root@hadoop1 yum.repos.d]#


&lt;/PRE&gt;&lt;P&gt;though the document is saying to set the base url as "&lt;A href="http://&amp;lt;web&amp;gt;/Ambari-2.4.2.0/&amp;lt;OS"&gt;http://&amp;lt;web.server&amp;gt;/Ambari-2.4.2.0/&amp;lt;OS&lt;/A&gt;&amp;gt; " but the respomd.xml file is the &amp;lt;OS&amp;gt;&amp;lt;RELEASE&amp;gt; directory , I tried both but no luck.&lt;/P&gt;&lt;P&gt;the ambari.repo file is shown below:&lt;/P&gt;&lt;PRE&gt;[root@hadoop1 yum.repos.d]# more ambari.repo
#VERSION_NUMBER=2.4.2.0-22
[Updates-ambari-2&lt;A href="https://community.cloudera.com/legacyfs/online/attachments/16257-screenshot.jpg"&gt;screenshot.jpg&lt;/A&gt;.4.2.0]
name=ambari-2.4.2.0 - Updates
baseurl=http://hadoop1/AMBARI-2.4.2.0/centos6/2.4.2.0-136
gpgcheck=0
gpgkey=http://public-repo-1.hortonworks.com/ambari/centos6/RPM-GPG-KEY/RPM-GPG-KEY-Jenkins
enabled=1
priority=1

&lt;/PRE&gt;</description>
      <pubDate>Mon, 12 Jun 2017 22:13:58 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/installing-ambari-with-local-repository-and-no-internet/m-p/207415#M169376</guid>
      <dc:creator>aliyesami</dc:creator>
      <dc:date>2017-06-12T22:13:58Z</dc:date>
    </item>
    <item>
      <title>Re: installing ambari with local repository and no internet access</title>
      <link>https://community.cloudera.com/t5/Support-Questions/installing-ambari-with-local-repository-and-no-internet/m-p/207416#M169377</link>
      <description>&lt;P&gt;The yum repolist works for other repositories but not the local ambari .&lt;/P&gt;&lt;PRE&gt;[root@hadoop1 yum.repos.d]# yum repolist
Loaded plugins: fastestmirror, priorities, protectbase, refresh-packagekit, security
Loading mirror speeds from cached hostfile
epel/metalink                                                                                            |  13 kB     00:00
 * base: centos.unixheads.org
 * epel: archive.linux.duke.edu
 * extras: centos.mirror.constant.com
 * updates: centos.mirror.lstn.net
&lt;A href="http://hadoop1.tolls.dot.state.fl.us/AMBARI-2.4.2.0/centos6/2.4.2.0-136/repodata/repomd.xml:" target="_blank"&gt;http://hadoop1.tolls.dot.state.fl.us/AMBARI-2.4.2.0/centos6/2.4.2.0-136/repodata/repomd.xml:&lt;/A&gt; [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 504 Gateway Timeout"
Trying other mirror.
&lt;A href="http://hadoop1.tolls.dot.state.fl.us/AMBARI-2.4.2.0/centos6/2.4.2.0-136/repodata/repomd.xml:" target="_blank"&gt;http://hadoop1.tolls.dot.state.fl.us/AMBARI-2.4.2.0/centos6/2.4.2.0-136/repodata/repomd.xml:&lt;/A&gt; [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 504 Gateway Timeout"
Trying other mirror.
base                                                                                                     | 3.7 kB     00:00
base/primary_db                                                                                          | 4.7 MB     00:00
centos-sclo-rh                                                                                           | 2.9 kB     00:00
centos-sclo-rh/primary_db                                                                                | 2.5 MB     00:00
epel                                                                                                     | 4.3 kB     00:00
epel/primary_db                                                                                          | 5.9 MB     00:00
extras                                                                                                   | 3.4 kB     00:00
extras/primary_db                                                                                        |  29 kB     00:00
updates                                                                                                  | 3.4 kB     00:00
updates/primary_db                                                                                       | 1.4 MB     00:00
repo id                                          repo name                                                                status
HDP-2.5                                          HDP-2.5                                                                     200
HDP-2.5.0.0                                      HDP-2.5.0.0                                                                 200
HDP-UTILS-1.1.0.21                               HDP-UTILS-1.1.0.21                                                           56
HDP-UTILS-2.5.0.0                                HDP-UTILS-2.5.0.0                                                            56
Updates-ambari-2.4.2.0                           ambari-2.4.2.0 - Updates                                                      0
base                                             CentOS-6 - Base                                                           6,706
centos-sclo-rh                                   CentOS-6 - SCLo rh                                                        5,553
epel                                             Extra Packages for Enterprise Linux 6 - x86_64                           12,309
extras                                           CentOS-6 - Extras                                                            45
updates                                          CentOS-6 - Updates                                                          354
repolist: 25,479
[root@hadoop1 yum.repos.d]#

&lt;/PRE&gt;</description>
      <pubDate>Mon, 12 Jun 2017 22:50:08 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/installing-ambari-with-local-repository-and-no-internet/m-p/207416#M169377</guid>
      <dc:creator>aliyesami</dc:creator>
      <dc:date>2017-06-12T22:50:08Z</dc:date>
    </item>
    <item>
      <title>Re: installing ambari with local repository and no internet access</title>
      <link>https://community.cloudera.com/t5/Support-Questions/installing-ambari-with-local-repository-and-no-internet/m-p/207417#M169378</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/10115/sahmad43.html" nodeid="10115"&gt;@Sami Ahmad&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Looks like you have another repo file present inside your&lt;STRONG&gt; "/etc/yum.repos.d" &lt;/STRONG&gt;directory which has the following Host entry in it:&lt;/P&gt;&lt;PRE&gt;&lt;A href="http://hadoop1.tolls.dot.state.fl.us" target="_blank"&gt;http://hadoop1.tolls.dot.state.fl.us&lt;/A&gt;&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;Can you please try to grep that host name from where is it coming from?&lt;/P&gt;&lt;PRE&gt;# cd /etc/yum.repos.d
# grep 'hadoop1.tolls.dot.state.fl.us' *.repo

(OR)

# find . -name "*.repo" | xargs grep -i "hadoop1.tolls.dot.state.fl.us"&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;In the output of the above command if you find any such hostname then move that repo file somewhere else. Because that seems to be pointing to an Incorrect Ambari repo.   &lt;/P&gt;</description>
      <pubDate>Tue, 13 Jun 2017 00:00:00 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/installing-ambari-with-local-repository-and-no-internet/m-p/207417#M169378</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2017-06-13T00:00:00Z</dc:date>
    </item>
    <item>
      <title>Re: installing ambari with local repository and no internet access</title>
      <link>https://community.cloudera.com/t5/Support-Questions/installing-ambari-with-local-repository-and-no-internet/m-p/207418#M169379</link>
      <description>&lt;P&gt;I only have this host name in one file ambari.repo and as I am showing above the url is reachable &lt;/P&gt;&lt;PRE&gt;[root@hadoop1 yum.repos.d]# grep 'hadoop1.tolls.dot.state.fl.us' *.repo
ambari.repo:baseurl=http://hadoop1.tolls.dot.state.fl.us/AMBARI-2.4.2.0/centos6/2.4.2.0-136
[root@hadoop1 yum.repos.d]#
[root@hadoop1 yum.repos.d]# more ambari.repo
#VERSION_NUMBER=2.4.2.0-22
[ambari-2.4.2.0]
name=ambari-2.4.2.0
baseurl=http://hadoop1.tolls.dot.state.fl.us/AMBARI-2.4.2.0/centos6/2.4.2.0-136
gpgcheck=0
gpgkey=http://public-repo-1.hortonworks.com/ambari/centos6/RPM-GPG-KEY/RPM-GPG-KEY-Jenkins
enabled=1
priority=1
[root@hadoop1 yum.repos.d]#

&lt;/PRE&gt;</description>
      <pubDate>Tue, 13 Jun 2017 00:10:39 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/installing-ambari-with-local-repository-and-no-internet/m-p/207418#M169379</guid>
      <dc:creator>aliyesami</dc:creator>
      <dc:date>2017-06-13T00:10:39Z</dc:date>
    </item>
    <item>
      <title>Re: installing ambari with local repository and no internet access</title>
      <link>https://community.cloudera.com/t5/Support-Questions/installing-ambari-with-local-repository-and-no-internet/m-p/207419#M169380</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/10115/sahmad43.html" nodeid="10115"&gt;@Sami Ahmad
&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Are you accessing the mentioned URL using browser?   Do you have any &lt;STRONG&gt;proxy_url (proxy host/port)&lt;/STRONG&gt; configured on your browser?&lt;/P&gt;&lt;P&gt;If yes, then you should make sure that from the host where you have that repo  it is configured to be accessible via the same proxy.&lt;/P&gt;&lt;P&gt;For example if you do a curl command from the host where you have that repo then what happens?&lt;/P&gt;&lt;PRE&gt;# wget &lt;A href="http://hadoop1.tolls.dot.state.fl.us/AMBARI-2.4.2.0/centos6/2.4.2.0-136/repodata/repomd.xml"&gt;http://hadoop1.tolls.dot.state.fl.us/AMBARI-2.4.2.0/centos6/2.4.2.0-136/repodata/repomd.xml&lt;/A&gt;
OR

# curl &lt;A href="http://hadoop1.tolls.dot.state.fl.us/AMBARI-2.4.2.0/centos6/2.4.2.0-136/repodata/repomd.xm"&gt;http://hadoop1.tolls.dot.state.fl.us/AMBARI-2.4.2.0/centos6/2.4.2.0-136/repodata/repomd.xm&lt;/A&gt;&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;If it fails then you should check if you have any proxy configured in the file&lt;STRONG&gt; "/etc/yum.conf"
&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Example:&lt;/STRONG&gt;
&lt;STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;# cat /etc/yum.conf  | grep proxy
proxy=http://yourproxy.test.com:8080&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/10115/sahmad43.html" nodeid="10115"&gt;&lt;/A&gt; &lt;/P&gt;</description>
      <pubDate>Tue, 13 Jun 2017 00:21:20 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/installing-ambari-with-local-repository-and-no-internet/m-p/207419#M169380</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2017-06-13T00:21:20Z</dc:date>
    </item>
    <item>
      <title>Re: installing ambari with local repository and no internet access</title>
      <link>https://community.cloudera.com/t5/Support-Questions/installing-ambari-with-local-repository-and-no-internet/m-p/207420#M169381</link>
      <description>&lt;P&gt;hi Jay &lt;/P&gt;&lt;P&gt;please see below  , proxy is set but wget times out &lt;/P&gt;&lt;P&gt;also see the attached screenshot showing that from web the URL is reachable &lt;A href="https://community.cloudera.com/legacyfs/online/attachments/16263-screenshot.jpg"&gt;screenshot.jpg&lt;/A&gt;&lt;/P&gt;&lt;PRE&gt;[root@hadoop1 yum.repos.d]# wget &lt;A href="http://hadoop1.tolls.dot.state.fl.us/AMBARI-2.4.2.0/centos6/2.4.2.0-136/repodata/repomd.xml"&gt;http://hadoop1.tolls.dot.state.fl.us/AMBARI-2.4.2.0/centos6/2.4.2.0-136/repodata/repomd.xml&lt;/A&gt;
--2017-06-12 13:22:57--  &lt;A href="http://hadoop1.tolls.dot.state.fl.us/AMBARI-2.4.2.0/centos6/2.4.2.0-136/repodata/repomd.xml"&gt;http://hadoop1.tolls.dot.state.fl.us/AMBARI-2.4.2.0/centos6/2.4.2.0-136/repodata/repomd.xml&lt;/A&gt;
Resolving dotatofwproxy.tolls.dot.state.fl.us... 10.100.30.27
Connecting to dotatofwproxy.tolls.dot.state.fl.us|10.100.30.27|:8080... connected.
Proxy request sent, awaiting response... 504 Gateway Timeout
2017-06-12 13:23:06 ERROR 504: Gateway Timeout.
[root@hadoop1 yum.repos.d]#
[root@hadoop1 yum.repos.d]#
[root@hadoop1 yum.repos.d]# cat /etc/yum.conf | grep proxy
proxy=http://dotatofwproxy.tolls.dot.state.fl.us:8080
[root@hadoop1 yum.repos.d]#


&lt;/PRE&gt;</description>
      <pubDate>Tue, 13 Jun 2017 00:26:16 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/installing-ambari-with-local-repository-and-no-internet/m-p/207420#M169381</guid>
      <dc:creator>aliyesami</dc:creator>
      <dc:date>2017-06-13T00:26:16Z</dc:date>
    </item>
    <item>
      <title>Re: installing ambari with local repository and no internet access</title>
      <link>https://community.cloudera.com/t5/Support-Questions/installing-ambari-with-local-repository-and-no-internet/m-p/207421#M169382</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/10115/sahmad43.html" nodeid="10115"&gt;@Sami Ahmad
&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Are you sure that your Proxy Host and Port is the same that you are using in your "/etc/yum.conf" ?  (I just gave an example,   but in your case the proxy host &amp;amp; port might be different). You need to check first if your browser is able to access that file or not and if yes then check if your browser is using any proxy?&lt;/P&gt;&lt;P&gt;Following is just example host &amp;amp; port.&lt;/P&gt;&lt;PRE&gt;# cat /etc/yum.conf  | grep proxy
proxy=http://yourproxy.test.com:808&lt;/PRE&gt;&lt;P&gt;
&lt;A rel="user" href="https://community.cloudera.com/users/10115/sahmad43.html" nodeid="10115"&gt;&lt;/A&gt; &lt;/P&gt;</description>
      <pubDate>Tue, 13 Jun 2017 00:30:34 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/installing-ambari-with-local-repository-and-no-internet/m-p/207421#M169382</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2017-06-13T00:30:34Z</dc:date>
    </item>
    <item>
      <title>Re: installing ambari with local repository and no internet access</title>
      <link>https://community.cloudera.com/t5/Support-Questions/installing-ambari-with-local-repository-and-no-internet/m-p/207422#M169383</link>
      <description>&lt;P&gt;also if it was a proxy issue how can I access the public url and not the private one ? &lt;/P&gt;&lt;P&gt;in output below , the first repo file (ambari.repo.bk) works .  &lt;/P&gt;&lt;P&gt;the second file (ambari.repo) does not .&lt;/P&gt;&lt;PRE&gt;[root@hadoop1 yum.repos.d]# more ambari.repo.bk
#VERSION_NUMBER=2.4.1.0-22
[Updates-ambari-2.4.1.0]
name=ambari-2.4.1.0 - Updates
baseurl=http://public-repo-1.hortonworks.com/ambari/centos6/2.x/updates/2.4.1.0
gpgcheck=1
gpgkey=http://public-repo-1.hortonworks.com/ambari/centos6/RPM-GPG-KEY/RPM-GPG-KEY-Jenkins
enabled=1
priority=1
[root@hadoop1 yum.repos.d]#
[root@hadoop1 yum.repos.d]#
[root@hadoop1 yum.repos.d]#
[root@hadoop1 yum.repos.d]#
[root@hadoop1 yum.repos.d]# more ambari.repo
#VERSION_NUMBER=2.4.2.0-22
[ambari-2.4.2.0]
name=ambari-2.4.2.0
baseurl=http://hadoop1.tolls.dot.state.fl.us/AMBARI-2.4.2.0/centos6/2.4.2.0-136
gpgcheck=0
gpgkey=http://public-repo-1.hortonworks.com/ambari/centos6/RPM-GPG-KEY/RPM-GPG-KEY-Jenkins
enabled=1
priority=1
[root@hadoop1 yum.repos.d]#


&lt;/PRE&gt;</description>
      <pubDate>Tue, 13 Jun 2017 01:51:06 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/installing-ambari-with-local-repository-and-no-internet/m-p/207422#M169383</guid>
      <dc:creator>aliyesami</dc:creator>
      <dc:date>2017-06-13T01:51:06Z</dc:date>
    </item>
    <item>
      <title>Re: installing ambari with local repository and no internet access</title>
      <link>https://community.cloudera.com/t5/Support-Questions/installing-ambari-with-local-repository-and-no-internet/m-p/207423#M169384</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/10115/sahmad43.html" nodeid="10115"&gt;@Sami Ahmad
&lt;/A&gt;&lt;/P&gt;&lt;P&gt;You are getting &lt;STRONG&gt;Http Response 504&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;&lt;A href="http://hadoop1.tolls.dot.state.fl.us/AMBARI-2.4.2.0/centos6/2.4.2.0-136/repodata/repomd.xml:" target="_blank"&gt;http://hadoop1.tolls.dot.state.fl.us/AMBARI-2.4.2.0/centos6/2.4.2.0-136/repodata/repomd.xml:&lt;/A&gt; [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 504 Gateway Timeout"
&lt;/PRE&gt;&lt;P&gt;According to Http RFC specification : &lt;A href="https://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.5.5"&gt;https://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.5.5&lt;/A&gt;&lt;/P&gt;&lt;PRE&gt;10.5.5 504 Gateway Timeout
-------------------------------

   The server, while acting as a gateway or proxy, did not receive a timely response from the upstream server specified by the URI (e.g. HTTP, FTP, LDAP) or some other auxiliary server (e.g. DNS) it needed to access in attempting to complete the request.

   Note: Note to implementors: some deployed proxies are known to return 400 or 500 when DNS lookups time out.&lt;/PRE&gt;&lt;P&gt;.
&lt;A rel="user" href="https://community.cloudera.com/users/10115/sahmad43.html" nodeid="10115"&gt;&lt;/A&gt; &lt;/P&gt;</description>
      <pubDate>Tue, 13 Jun 2017 02:00:41 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/installing-ambari-with-local-repository-and-no-internet/m-p/207423#M169384</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2017-06-13T02:00:41Z</dc:date>
    </item>
    <item>
      <title>Re: installing ambari with local repository and no internet access</title>
      <link>https://community.cloudera.com/t5/Support-Questions/installing-ambari-with-local-repository-and-no-internet/m-p/207424#M169385</link>
      <description>&lt;P&gt;how is this url passing then through proxy ? &lt;/P&gt;&lt;PRE&gt;&lt;A href="http://public-repo-1.hortonworks.com/ambari/centos6/2.x/updates/2.4.1.0" target="_blank"&gt;http://public-repo-1.hortonworks.com/ambari/centos6/2.x/updates/2.4.1.0&lt;/A&gt;

&lt;/PRE&gt;</description>
      <pubDate>Tue, 13 Jun 2017 02:06:11 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/installing-ambari-with-local-repository-and-no-internet/m-p/207424#M169385</guid>
      <dc:creator>aliyesami</dc:creator>
      <dc:date>2017-06-13T02:06:11Z</dc:date>
    </item>
    <item>
      <title>Re: installing ambari with local repository and no internet access</title>
      <link>https://community.cloudera.com/t5/Support-Questions/installing-ambari-with-local-repository-and-no-internet/m-p/207425#M169386</link>
      <description>&lt;P&gt;I disabled the proxy on the server but now though its still tries to access proxy first  , it follows through and finds the repository but then the status is 0 ?   I removed all repo files from the /etc/yum.repos.d folder &lt;/P&gt;&lt;PRE&gt;[root@hadoop1 yum.repos.d]# yum repolist
Loaded plugins: fastestmirror, priorities, protectbase, refresh-packagekit, security
Loading mirror speeds from cached hostfile
&lt;A href="http://hadoop1.tolls.dot.state.fl.us/AMBARI-2.4.2.0/centos6/2.4.2.0-136/repodata/repomd.xml:" target="_blank"&gt;http://hadoop1.tolls.dot.state.fl.us/AMBARI-2.4.2.0/centos6/2.4.2.0-136/repodata/repomd.xml:&lt;/A&gt; [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 504 Gateway Timeout"
Trying other mirror.
&lt;A href="http://hadoop1.tolls.dot.state.fl.us/AMBARI-2.4.2.0/centos6/2.4.2.0-136/repodata/repomd.xml:" target="_blank"&gt;http://hadoop1.tolls.dot.state.fl.us/AMBARI-2.4.2.0/centos6/2.4.2.0-136/repodata/repomd.xml:&lt;/A&gt; [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 504 Gateway Timeout"
Trying other mirror.
repo id                                                      repo name                                                    status
ambari-2.4.2.0                                               ambari-2.4.2.0                                               0
repolist: 0
[root@hadoop1 yum.repos.d]#
[root@hadoop1 yum.repos.d]#
[root@hadoop1 yum.repos.d]# pwd
/etc/yum.repos.d
[root@hadoop1 yum.repos.d]# ls
ambari.repo
[root@hadoop1 yum.repos.d]#
&lt;/PRE&gt;</description>
      <pubDate>Tue, 13 Jun 2017 03:15:08 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/installing-ambari-with-local-repository-and-no-internet/m-p/207425#M169386</guid>
      <dc:creator>aliyesami</dc:creator>
      <dc:date>2017-06-13T03:15:08Z</dc:date>
    </item>
    <item>
      <title>Re: installing ambari with local repository and no internet access</title>
      <link>https://community.cloudera.com/t5/Support-Questions/installing-ambari-with-local-repository-and-no-internet/m-p/207426#M169387</link>
      <description>&lt;P&gt;hi Jay &lt;/P&gt;&lt;P&gt;issue is fixed now , I did not need the proxy for the local repository and after removing the proxy access from the /etc/yum.conf  I could install the Ambari repository&lt;/P&gt;</description>
      <pubDate>Tue, 13 Jun 2017 04:07:08 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/installing-ambari-with-local-repository-and-no-internet/m-p/207426#M169387</guid>
      <dc:creator>aliyesami</dc:creator>
      <dc:date>2017-06-13T04:07:08Z</dc:date>
    </item>
    <item>
      <title>Re: installing ambari with local repository and no internet access</title>
      <link>https://community.cloudera.com/t5/Support-Questions/installing-ambari-with-local-repository-and-no-internet/m-p/207427#M169388</link>
      <description>&lt;P&gt;I had the same problem due to proxy. I fixed it by adding &lt;/P&gt;&lt;PRE&gt;proxy=_none_&lt;/PRE&gt;&lt;P&gt;in repo files in /etc/yum.repos.d/ambari.repo and hdf.repo.&lt;/P&gt;</description>
      <pubDate>Fri, 23 Feb 2018 14:14:06 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/installing-ambari-with-local-repository-and-no-internet/m-p/207427#M169388</guid>
      <dc:creator>erkansirin78</dc:creator>
      <dc:date>2018-02-23T14:14:06Z</dc:date>
    </item>
  </channel>
</rss>

