- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
error when yum install ambari-server
- Labels:
-
Apache Ambari
-
Security
Created on ‎01-24-2016 10:21 PM - edited ‎09-16-2022 02:59 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have 5 servers, 1 nn, 4 dn and all has no public IP or internet access. all my servers are local network, no internet access. so I have downloaded ambari.repo and upload to /etc/yum.repos.d on my server.
when yum install ambari-server, I got error:
Loaded plugins: changelog, fastestmirror, fs-snapshot, product-id, : rhui-lb, security, subscription-manager, verify This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register. http://public-repo-1.hortonworks.com/ambari/centos6/2.x/updates/2.0.0/repodata/repomd.xml: [Errno 14] PYCURL ERROR 6 - "Couldn't resolve host 'public-repo-1.hortonworks.com'" Trying other mirror. Error: Cannot retrieve repository metadata (repomd.xml) for repository: Updates-ambari-2.0.0. Please verify its path and try again
I think it try to reach to internet, but I dont have that access in my system. so what I can work around.to have additional downloads?
Created ‎01-24-2016 10:50 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It won't work ..You have to setup local repo because you servers are not connected to the internet.
Created ‎01-24-2016 10:50 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It won't work ..You have to setup local repo because you servers are not connected to the internet.
Created ‎01-24-2016 10:51 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@Robin Dong It's really doc and please follow it step by step. Most of the production installs works on local repo.
Created ‎02-04-2016 02:26 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@Robin Dong has this been resolved? Can you provide a solution or accept the best answer?
Created ‎12-21-2017 04:17 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This error comes when yum tries to connect the repository (over the internet connection) to install the Ambari server. There are 2 ways:
1- Enable the internet connection.
2- Prepare the local inventory and change the URL to redirect to local repository instead repository over the internet. For this point , in Hortonworks document provides the steps and you can follow the same.
Other option is to download tar files of ambari installation ,place in some directory, go to that directory and start the http server using python and then update that url in yum repo file of ambari installation.
