- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Unable to Reinstall ambari-server after execution of "yum erase ambari-server" command
- Labels:
-
Apache Ambari
Created on ‎04-06-2016 09:42 AM - edited ‎08-18-2019 05:12 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
[root@BDFCLSM1 admin]# yum install ambari-server
Loaded plugins: fastestmirror, priorities
Loading mirror speeds from cached hostfile
* base: centos.mirror.transip.nl
* extras: centos.mirror.transip.nl
* updates: mirror.nforce.com
No package ambari-server available.
Error: Nothing to do
also am trying to perform wget wget -nv http://public-repo-1.hortonworks.com/ambari/centos7/2.4/updates/2.2.1.1/ambari.repo -O /etc/yum.repos.d/ambari.repo
below is the output
Created ‎04-06-2016 10:15 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@sarfarazkhan pathanPlease try below URL :
#wget -nv http://public-repo-1.hortonworks.com/ambari/centos7/2.x/updates/2.2.1.0/ambari.repo -O /etc/yum.repos.d/ambari.repo
Note: Dont replace 2.x with 2.4
Thanks ,
Raghav
Created ‎04-06-2016 10:07 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Can you check if you have internet connection in place? try # ping google.com
I see from the log it seems your internet connection is not working.
If you are using virtual machine for installation of ambari, the please follow below step to check your network settings -
1. Open virtual machine on which you are trying to install
2. Click on .. Machine-> Settings ->Network
3. Make sure your adapter should be set to "Bridged Adapter" or "NAT"
4. Try restarting VM or network services.
check again for downloading using wget command.
Created ‎04-06-2016 10:15 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@sarfarazkhan pathanPlease try below URL :
#wget -nv http://public-repo-1.hortonworks.com/ambari/centos7/2.x/updates/2.2.1.0/ambari.repo -O /etc/yum.repos.d/ambari.repo
Note: Dont replace 2.x with 2.4
Thanks ,
Raghav
Created ‎07-21-2017 08:58 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
worked well
Created ‎04-06-2016 10:22 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks a lot rguruvannagari
its worked perfectly now i am able to see yum repolist ambari...... in the lists
