<?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: Wierd Error while installing ambari-metrics - related to kerbores library in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Wierd-Error-while-installing-ambari-metrics-related-to/m-p/173985#M58106</link>
    <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/14635/suhelkhan.html" nodeid="14635"&gt;@Suhel&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Please remove the duplicate *.repo files from the "/etc/yum/repos.d/" directory. &lt;/P&gt;&lt;P&gt;Yum gets confused because of the files "ambari_bkp.repo" , "ambari.repo", "hdp_bkp.repo", "hdp.repo", "HDP.repo".
Ideally you should have only one file like "ambari.repo", "HDP.repo" and "HDP-UTILS.repo"  (apart from the OS related repos)&lt;/P&gt;&lt;P&gt;Thats why you see the following message in the "/var/lib/ambari-agent/data/errors-107.txt" file.&lt;/P&gt;&lt;PRE&gt;Repository Updates-ambari-2.1.0 is listed more than once in the configuration 
Repository HDP-UTILS-1.1.0.20 is listed more than once in the configuration 
Repository HDP-2.3.0.0 is listed more than once in the configuration Repository&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;Please remove the duplicate .repo files from the /etc/yum.repos.d and then perform a yum clean&lt;/P&gt;&lt;PRE&gt;# yum clean all&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;</description>
    <pubDate>Sat, 25 Mar 2017 20:42:50 GMT</pubDate>
    <dc:creator>jsensharma</dc:creator>
    <dc:date>2017-03-25T20:42:50Z</dc:date>
    <item>
      <title>Wierd Error while installing ambari-metrics - related to kerbores library</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Wierd-Error-while-installing-ambari-metrics-related-to/m-p/173984#M58105</link>
      <description>&lt;P&gt;I have 6 AWS Ec2-Instances (3 Masters / 3 Slaves). &lt;/P&gt;&lt;P&gt;1 has Public IP (My Main Server) and 5 have EIP. &lt;/P&gt;&lt;P&gt;(I added EIPs on other servers in order to try and resolve the issue, assuming that some of the libraries might need to be downloaded from net.)

&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;All AWS-EC2 instances are same&lt;/LI&gt;&lt;LI&gt;Instance type-c3.xlarge &lt;/LI&gt;&lt;LI&gt;Availability zone-ap-southeast-2a &lt;/LI&gt;&lt;LI&gt;AMI ID -RHEL-6.5_GA-20140929-x86_64-11-Hourly2-GP2 (ami-eb2a47d1)&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;I downloaded repos onto my Main Sever , changed the BASE URL for ambari.repo and HDP.repo and then pushed these to other servers. I updated the same local URL details in the AMBARI UI -&amp;gt; CLUSTER INSTALL WIZARD.

Issue came up when i tried to install Metrics Collector and Zookeeper on to the EC2 nodes.&lt;/P&gt;&lt;P&gt;Repo information:&lt;/P&gt;&lt;PRE&gt;[ec2-user@ip-172-31-7-74 ~]$ sudo yum repolistLoaded plugins: amazon-id, rhui-lb, security 

Repository Updates-ambari-2.1.0 is listed more than once in the configuration 
Repository HDP-UTILS-1.1.0.20 is listed more than once in the configuration 
Repository HDP-2.3.0.0 is listed more than once in the configuration 
Repository HDP-UTILS-1.1.0.20 is listed more than once in the configuration
HDP-UTILS-1.1.0.20                                                                                                                                   | 2.9 kB     00:00
repo id               repo name                                   status
HDP-2.3              HDP-2.3                                       175
HDP-2.3.0.0          HDP Version - HDP-2.3.0.0                     175 
HDP-UTILS-1.1.0.20   HDP-UTILS-1.1.0.20                            43 Updates-ambari-2.1.0                ambari-2.1.0 - Updates                                                                             8 

rhui-REGION-client-config-server-6  Red Hat Update Infrastructure 2.0 Client Configuration Server 6   6 

rhui-REGION-rhel-server-releases  Red Hat Enterprise Linux Server 6 (RPMs)    19,417 
rhui-REGION-rhel-server-releases-optional  Red Hat Enterprise Linux Server 6 Optional (RPMs)  11,057 
rhui-REGION-rhel-server-rh-common  Red Hat Enterprise Linux Server 6 RH Common (RPMs)    129
repolist: 31,010I executed the command from the error , on my main EC2 instance , Master01&lt;/PRE&gt;&lt;PRE&gt;
--I tried to run the command that was erroring , from the log
[ec2-user@ip-172-31-7-74 ~]$ sudo yum -d 0 -e 0 -y install ambari-metrics-monitor

ERROR with rpm_check_debug vs depsolve:libkadm5clnt_mit.so.8()(64bit) is needed by krb5-workstation-1.10.3-65.el6.x86_64
libkadm5clnt_mit.so.8(kadm5clnt_mit_8_MIT)(64bit) is needed by krb5-workstation-1.10.3-65.el6.x86_64
libkadm5srv_mit.so.8()(64bit) is needed by krb5-workstation-1.10.3-65.el6.x86_64
libkadm5srv_mit.so.8(kadm5srv_mit_8_MIT)(64bit) is needed by krb5-workstation-1.10.3-65.el6.x86_64
You could try running: rpm -Va --nofiles --nodigestYour transaction was saved, rerun it with: 
yum load-transaction /tmp/yum_save_tx-2017-03-25-07-01vjZxht.yumtx&lt;/PRE&gt;&lt;P&gt;&lt;STRONG&gt;Content of repo directory on my  Main Master&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;[ec2-user@ip-172-31-7-74 ~]$ ls -l /etc/yum.repos.d/
total 44
-rw-r--r--. 1 root     root      280 Mar 20 06:35 ambari_bkp.repo
-rw-r--r--  1 ec2-user ec2-user  317 Mar 25 06:27 ambari.repo
-rw-r--r--. 1 root     root      576 Mar 20 06:36 hdp_bkp.repo
-rw-r--r--. 1 root     root      660 Mar 20 07:20 hdp.repo
-rw-r--r--  1 root     root      157 Mar 25 06:30 HDP.repo
-rw-r--r--  1 root     root      180 Mar 25 02:11 HDP-UTILS.repo
-rw-r--r--  1 root     root      606 Mar 24 23:27 redhat-rhui-client-config.repo
-rw-r--r--. 1 root     root     6300 Mar 24 23:27 redhat-rhui.repo
-rw-r--r--. 1 root     root      529 Oct 30  2013 rhel-source.repo
-rw-r--r--  1 root     root       90 Mar 24 23:27 rhui-load-balancers.conf


&lt;/PRE&gt;&lt;P&gt;&lt;STRONG&gt;Content of ambari.repo and HDP.repo &lt;/STRONG&gt;&lt;STRONG&gt;on my  Main Master&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;/STRONG&gt;[ec2-user@ip-172-31-7-74 ~]$ cat /etc/yum.repos.d/ambari.repo&lt;/P&gt;&lt;PRE&gt;#VERSION_NUMBER=2.1.0-1470

[Updates-ambari-2.1.0]
name=ambari-2.1.0 - Updates
baseurl=http://ip-172-31-7-74.ap-southeast-2.compute.internal/yum/ambari-2.1.0/centos6/
gpgcheck=1
gpgkey=http://ip-172-31-7-74.ap-southeast-2.compute.internal/yum/ambari-2.1.0/centos6/RPM-GPG-KEY/RPM-GPG-KEY-Jenkins
enabled=1
priority=1
[ec2-user@ip-172-31-7-74 ~]$ cat /etc/yum.repos.d/HDP.repo
[HDP-2.3]
name=HDP-2.3
baseurl=http://PublicIP/yum/HDP/centos6/2.x/updates/2.3.0.0


path=/
enabled=1
gpgcheck=0

[ec2-user@ip-172-31-7-74 ~]$ cat /etc/yum.repos.d/hdp.repo
#VERSION_NUMBER=2.3.0.0-2557
[HDP-2.3.0.0]
name=HDP Version - HDP-2.3.0.0
baseurl=http://ip-172-31-7-74.ap-southeast-2.compute.internal/yum/HDP/centos6/2.x/updates/2.3.0.0
gpgcheck=1
gpgkey=http://ip-172-31-7-74.ap-southeast-2.compute.internal/yum/HDP/centos6/2.x/updates/2.3.0.0/RPM-GPG-KEY/RPM-GPG-KEY-Jenkins
enabled=1
priority=1




[HDP-UTILS-1.1.0.20]
name=HDP Utils Version - HDP-UTILS-1.1.0.20
baseurl=http://ip-172-31-7-74.ap-southeast-2.compute.internal/yum/HDP-UTILS-1.1.0.20/repos/centos6
gpgcheck=1
gpgkey=http://ip-172-31-7-74.ap-southeast-2.compute.internal/yum/HDP/centos6/2.x/updates/2.3.0.0/RPM-GPG-KEY/RPM-GPG-KEY-Jenkins
enabled=1
priority=1


&lt;/PRE&gt;&lt;P&gt;&lt;STRONG&gt;
&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;The repos have been copied over to other master and slaves, a view of the contents on those EC2:
&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;[ec2-user@ip-172-31-5-78 ~]$ ls -l /etc/yum.repos.d/
total 36
-rw-r--r--  1 ec2-user ec2-user  317 Mar 25 06:27 ambari.repo
-rw-r--r--. 1 ec2-user ec2-user  660 Mar 20 07:41 hdp.repo
-rw-r--r--  1 root     root      157 Mar 25 06:30 HDP.repo
-rw-r--r--  1 root     root      180 Mar 25 02:11 HDP-UTILS.repo
-rw-r--r--  1 root     root      606 Mar 20 04:59 redhat-rhui-client-config.repo
-rw-r--r--  1 root     root     6300 Mar 20 04:59 redhat-rhui.repo
-rw-r--r--  1 root     root      529 Oct 30  2013 rhel-source.repo
-rw-r--r--. 1 root     root       90 Mar 20 04:59 rhui-load-balancers.conf
[ec2-user@ip-172-31-5-78 ~]$ cat /etc/yum.repos.d/ambari.repo
#VERSION_NUMBER=2.1.0-1470


[Updates-ambari-2.1.0]
name=ambari-2.1.0 - Updates
baseurl=http://ip-172-31-7-74.southeast.compute.internal/yum/ambari-2.1.0/centos6/
gpgcheck=1
gpgkey=http://ip-172-31-7-74.ap-southeast-2.compute.internal/yum/ambari-2.1.0/centos6/RPM-GPG-KEY/RPM-GPG-KEY-Jenkins
enabled=1
priority=1


[ec2-user@ip-172-31-5-78 ~]$ cat /etc/yum.repos.d/hdp.repo
#VERSION_NUMBER=2.3.0.0-2557
[HDP-2.3.0.0]
name=HDP Version - HDP-2.3.0.0
baseurl=http://ip-172-31-7-74.ap-southeast-2.compute.internal/yum/HDP/centos6/2.x/updates/2.3.0.0
gpgcheck=1
gpgkey=http://ip-172-31-7-74.ap-southeast-2.compute.internal/yum/HDP/centos6/2.x/updates/2.3.0.0/RPM-GPG-KEY/RPM-GPG-KEY-Jenkins
enabled=1
priority=1

[HDP-UTILS-1.1.0.20]
name=HDP Utils Version - HDP-UTILS-1.1.0.20
baseurl=http://ip-172-31-7-74.ap-southeast-2.compute.internal/yum/HDP-UTILS-1.1.0.20/repos/centos6
gpgcheck=1
gpgkey=http://ip-172-31-7-74.ap-southeast-2.compute.internal/yum/HDP/centos6/2.x/updates/2.3.0.0/RPM-GPG-KEY/RPM-GPG-KEY-Jenkins
enabled=1
priority=1
&lt;/PRE&gt;&lt;P&gt;&lt;STRONG&gt;
&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;I get the following ambari-metrics-collector information from my main server.&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;[ec2-user@ip-172-31-7-74 ~]$ rpm -qa | grep ambari-metrics
ambari-metrics-collector-2.1.0-1470.x86_64
&lt;/PRE&gt;&lt;P&gt;&lt;STRONG&gt;
&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;I could not really find anything specific on net:&lt;/STRONG&gt;
&lt;A href="https://www.rpmfind.net/linux/rpm2html/search.php?query=libkadm5clnt_mit.so.8"&gt;https://www.rpmfind.net/linux/rpm2html/search.php?query=libkadm5clnt_mit.so.8&lt;/A&gt;()(64bit)
&lt;A href="https://rhn.redhat.com/errata/RHBA-2017-0643.html"&gt;https://rhn.redhat.com/errata/RHBA-2017-0643.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Any information on how to proceed will be helpfull.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Errors:&lt;/STRONG&gt;
&lt;STRONG&gt;--------------------------------------------------------------------&lt;/STRONG&gt;
&lt;STRONG&gt;/var/lib/ambari-agent/data/errors-107.txt&lt;/STRONG&gt;
&lt;STRONG&gt;--------------------------------------------------------------------&lt;/STRONG&gt;
Repository Updates-ambari-2.1.0 is listed more than once in the configuration
Repository HDP-UTILS-1.1.0.20 is listed more than once in the configuration
Repository HDP-2.3.0.0 is listed more than once in the configuration
Repository HDP-UTILS-1.1.0.20 is listed more than once in the configuration
Repository Updates-ambari-2.1.0 is listed more than once in the configuration
Repository HDP-UTILS-1.1.0.20 is listed more than once in the configuration
Repository HDP-2.3.0.0 is listed more than once in the configuration
Repository HDP-UTILS-1.1.0.20 is listed more than once in the configuration
Repository Updates-ambari-2.1.0 is listed more than once in the configuration
Repository HDP-UTILS-1.1.0.20 is listed more than once in the configuration
Repository HDP-2.3.0.0 is listed more than once in the configuration
Repository HDP-UTILS-1.1.0.20 is listed more than once in the configuration
Repository Updates-ambari-2.1.0 is listed more than once in the configuration
Repository HDP-UTILS-1.1.0.20 is listed more than once in the configuration
Repository HDP-2.3.0.0 is listed more than once in the configuration
Repository HDP-UTILS-1.1.0.20 is listed more than once in the configuration
Traceback (most recent call last):
File "/var/lib/ambari-agent/cache/common-services/AMBARI_METRICS/0.1.0/package/scripts/metrics_monitor.py", line 58, in 
AmsMonitor().execute()
File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 218, in execute
method(env)
File "/var/lib/ambari-agent/cache/common-services/AMBARI_METRICS/0.1.0/package/scripts/metrics_monitor.py", line 28, in install
self.install_packages(env, exclude_packages = ['ambari-metrics-collector'])
File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 376, in install_packages
Package(name)
File "/usr/lib/python2.6/site-packages/resource_management/core/base.py", line 157, in &lt;STRONG&gt;init&lt;/STRONG&gt;
self.env.run()
File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 152, in run
self.run_action(resource, action)
File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 118, in run_action
provider_action()
File "/usr/lib/python2.6/site-packages/resource_management/core/providers/package/__init__.py", line 45, in action_install
self.install_package(package_name, self.resource.use_repos, self.resource.skip_repos)
File "/usr/lib/python2.6/site-packages/resource_management/core/providers/package/yumrpm.py", line 49, in install_package
shell.checked_call(cmd, sudo=True, logoutput=self.get_logoutput())
File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 70, in inner
result = function(command, **kwargs)
File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 92, in checked_call
tries=tries, try_sleep=try_sleep)
File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 140, in &lt;EM&gt;call&lt;/EM&gt;wrapper
result = &lt;EM&gt;call(command, **kwargs&lt;/EM&gt;copy)
File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 291, in _call
raise Fail(err_msg)
resource_management.core.exceptions.Fail: Execution of '/usr/bin/yum -d 0 -e 0 -y install ambari-metrics-monitor' returned 1. ERROR with rpm_check_debug vs depsolve:
libkadm5clnt_mit.so.8()(64bit) is needed by krb5-workstation-1.10.3-65.el6.x86_64
libkadm5clnt_mit.so.8(kadm5clnt_mit_8_MIT)(64bit) is needed by krb5-workstation-1.10.3-65.el6.x86_64
libkadm5srv_mit.so.8()(64bit) is needed by krb5-workstation-1.10.3-65.el6.x86_64
libkadm5srv_mit.so.8(kadm5srv_mit_8_MIT)(64bit) is needed by krb5-workstation-1.10.3-65.el6.x86_64
You could try running: rpm -Va --nofiles --nodigest
Your transaction was saved, rerun it with: yum load-transaction /tmp/yum_save_tx-2017-03-25-06-305zHb5j.yumtx&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;--------------------------------------------------------------------&lt;/STRONG&gt;
&lt;STRONG&gt;/var/lib/ambari-agent/data/output-107.txt&lt;/STRONG&gt;
&lt;STRONG&gt;--------------------------------------------------------------------&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;2017-03-25 06:30:20,223 - Directory['/var/lib/ambari-agent/data/tmp/AMBARI-artifacts/'] {'recursive': True}
2017-03-25 06:30:20,225 - File['/var/lib/ambari-agent/data/tmp/AMBARI-artifacts//jce_policy-8.zip'] {'content': DownloadSource('http://ip-172-31-7-74.ap-southeast-2.compute.internal:8080/resources//jce_policy-8.zip')}
2017-03-25 06:30:20,225 - Not downloading the file from &lt;A href="http://ip-172-31-7-74.ap-southeast-2.compute.internal:8080/resources//jce_policy-8.zip"&gt;http://ip-172-31-7-74.ap-southeast-2.compute.internal:8080/resources//jce_policy-8.zip&lt;/A&gt;, because /var/lib/ambari-agent/data/tmp/jce_policy-8.zip already exists
2017-03-25 06:30:20,226 - Group['hadoop'] {'ignore_failures': False}
2017-03-25 06:30:20,226 - User['zookeeper'] {'gid': 'hadoop', 'ignore_failures': False, 'groups': ['hadoop']}
2017-03-25 06:30:20,227 - User['ams'] {'gid': 'hadoop', 'ignore_failures': False, 'groups': ['hadoop']}
2017-03-25 06:30:20,228 - User['ambari-qa'] {'gid': 'hadoop', 'ignore_failures': False, 'groups': ['users']}
2017-03-25 06:30:20,228 - File['/var/lib/ambari-agent/data/tmp/changeUid.sh'] {'content': StaticFile('changeToSecureUid.sh'), 'mode': 0555}
2017-03-25 06:30:20,229 - Execute['/var/lib/ambari-agent/data/tmp/changeUid.sh ambari-qa /tmp/hadoop-ambari-qa,/tmp/hsperfdata_ambari-qa,/home/ambari-qa,/tmp/ambari-qa,/tmp/sqoop-ambari-qa'] {'not_if': '(test $(id -u ambari-qa) -gt 1000) || (false)'}
2017-03-25 06:30:20,240 - Skipping Execute['/var/lib/ambari-agent/data/tmp/changeUid.sh ambari-qa /tmp/hadoop-ambari-qa,/tmp/hsperfdata_ambari-qa,/home/ambari-qa,/tmp/ambari-qa,/tmp/sqoop-ambari-qa'] due to not_if
2017-03-25 06:30:20,256 - Repository['HDP-2.3'] {'base_url': 'http://&lt;STRONG&gt;PublicIP&lt;/STRONG&gt;/yum/HDP/centos6/2.x/updates/2.3.0.0', 'action': ['create'], 'components': ['HDP', 'main'], 'repo_template': '[{{repo_id}}]\nname={{repo_id}}\n{% if mirror_list %}mirrorlist={{mirror_list}}{% else %}baseurl={{base_url}}{% endif %}\n\npath=/\nenabled=1\ngpgcheck=0', 'repo_file_name': 'HDP', 'mirror_list': None}
2017-03-25 06:30:20,265 - File['/etc/yum.repos.d/HDP.repo'] {'content': InlineTemplate(...)}
2017-03-25 06:30:20,266 - Writing File['/etc/yum.repos.d/HDP.repo'] because it doesn't exist
2017-03-25 06:30:20,266 - Repository['HDP-UTILS-1.1.0.20'] {'base_url': 'http://&lt;STRONG&gt;PublicIP&lt;/STRONG&gt;/yum/HDP-UTILS-1.1.0.20/repos/centos6', 'action': ['create'], 'components': ['HDP-UTILS', 'main'], 'repo_template': '[{{repo_id}}]\nname={{repo_id}}\n{% if mirror_list %}mirrorlist={{mirror_list}}{% else %}baseurl={{base_url}}{% endif %}\n\npath=/\nenabled=1\ngpgcheck=0', 'repo_file_name': 'HDP-UTILS', 'mirror_list': None}&lt;/P&gt;&lt;P&gt;2017-03-25 06:30:20,269 - File['/etc/yum.repos.d/HDP-UTILS.repo'] {'content': InlineTemplate(...)}
2017-03-25 06:30:20,269 - Package['unzip'] {}
2017-03-25 06:30:20,365 - Skipping installation of existing package unzip
2017-03-25 06:30:20,366 - Package['curl'] {}
2017-03-25 06:30:20,408 - Skipping installation of existing package curl
2017-03-25 06:30:20,408 - Package['hdp-select'] {}
2017-03-25 06:30:20,450 - Installing package hdp-select ('/usr/bin/yum -d 0 -e 0 -y install hdp-select')
2017-03-25 06:30:22,167 - Directory['/var/lib/ambari-agent/data/tmp/AMBARI-artifacts/'] {'recursive': True}
2017-03-25 06:30:22,168 - File['/var/lib/ambari-agent/data/tmp/jdk-8u40-linux-x64.tar.gz'] {'content': DownloadSource('http://ip-172-31-7-74.ap-southeast-2.compute.internal:8080/resources//jdk-8u40-linux-x64.tar.gz'), 'not_if': 'test -f /var/lib/ambari-agent/data/tmp/jdk-8u40-linux-x64.tar.gz'}
2017-03-25 06:30:22,178 - Skipping File['/var/lib/ambari-agent/data/tmp/jdk-8u40-linux-x64.tar.gz'] due to not_if
2017-03-25 06:30:22,179 - Directory['/usr/jdk64'] {}
2017-03-25 06:30:22,180 - Execute['('chmod', 'a+x', '/usr/jdk64')'] {'not_if': 'test -e /usr/jdk64/jdk1.8.0_40/bin/java', 'sudo': True}
2017-03-25 06:30:22,189 - Skipping Execute['('chmod', 'a+x', '/usr/jdk64')'] due to not_if
2017-03-25 06:30:22,190 - Execute['mkdir -p /var/lib/ambari-agent/data/tmp/jdk &amp;amp;&amp;amp; cd /var/lib/ambari-agent/data/tmp/jdk &amp;amp;&amp;amp; tar -xf /var/lib/ambari-agent/data/tmp/jdk-8u40-linux-x64.tar.gz &amp;amp;&amp;amp; ambari-sudo.sh cp -rp /var/lib/ambari-agent/data/tmp/jdk/* /usr/jdk64'] {'not_if': 'test -e /usr/jdk64/jdk1.8.0_40/bin/java'}
2017-03-25 06:30:22,199 - Skipping Execute['mkdir -p /var/lib/ambari-agent/data/tmp/jdk &amp;amp;&amp;amp; cd /var/lib/ambari-agent/data/tmp/jdk &amp;amp;&amp;amp; tar -xf /var/lib/ambari-agent/data/tmp/jdk-8u40-linux-x64.tar.gz &amp;amp;&amp;amp; ambari-sudo.sh cp -rp /var/lib/ambari-agent/data/tmp/jdk/* /usr/jdk64'] due to not_if
2017-03-25 06:30:22,199 - File['/usr/jdk64/jdk1.8.0_40/bin/java'] {'mode': 0755, 'cd_access': 'a'}
2017-03-25 06:30:22,201 - Execute['('chgrp', '-R', 'hadoop', '/usr/jdk64/jdk1.8.0_40')'] {'sudo': True}
2017-03-25 06:30:22,231 - Execute['('chown', '-R', 'root', '/usr/jdk64/jdk1.8.0_40')'] {'sudo': True}
2017-03-25 06:30:22,441 - Package['ambari-metrics-monitor'] {}
2017-03-25 06:30:22,539 - Installing package ambari-metrics-monitor ('/usr/bin/yum -d 0 -e 0 -y install ambari-metrics-monitor')&lt;/P&gt;</description>
      <pubDate>Sat, 25 Mar 2017 20:25:57 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Wierd-Error-while-installing-ambari-metrics-related-to/m-p/173984#M58105</guid>
      <dc:creator>suhel_khan</dc:creator>
      <dc:date>2017-03-25T20:25:57Z</dc:date>
    </item>
    <item>
      <title>Re: Wierd Error while installing ambari-metrics - related to kerbores library</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Wierd-Error-while-installing-ambari-metrics-related-to/m-p/173985#M58106</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/14635/suhelkhan.html" nodeid="14635"&gt;@Suhel&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Please remove the duplicate *.repo files from the "/etc/yum/repos.d/" directory. &lt;/P&gt;&lt;P&gt;Yum gets confused because of the files "ambari_bkp.repo" , "ambari.repo", "hdp_bkp.repo", "hdp.repo", "HDP.repo".
Ideally you should have only one file like "ambari.repo", "HDP.repo" and "HDP-UTILS.repo"  (apart from the OS related repos)&lt;/P&gt;&lt;P&gt;Thats why you see the following message in the "/var/lib/ambari-agent/data/errors-107.txt" file.&lt;/P&gt;&lt;PRE&gt;Repository Updates-ambari-2.1.0 is listed more than once in the configuration 
Repository HDP-UTILS-1.1.0.20 is listed more than once in the configuration 
Repository HDP-2.3.0.0 is listed more than once in the configuration Repository&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;Please remove the duplicate .repo files from the /etc/yum.repos.d and then perform a yum clean&lt;/P&gt;&lt;PRE&gt;# yum clean all&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;</description>
      <pubDate>Sat, 25 Mar 2017 20:42:50 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Wierd-Error-while-installing-ambari-metrics-related-to/m-p/173985#M58106</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2017-03-25T20:42:50Z</dc:date>
    </item>
    <item>
      <title>Re: Wierd Error while installing ambari-metrics - related to kerbores library</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Wierd-Error-while-installing-ambari-metrics-related-to/m-p/173986#M58107</link>
      <description>&lt;P&gt;Hi @Jay SenSharma,

Thanks for your input.&lt;/P&gt;&lt;P&gt;
I removed the other repo files and have only "ambari.repo", "HDP.repo" and "HDP-UTILS.repo" and ran the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;sudo python /usr/lib/python2.6/site-packages/ambari_agent/HostCleanup.py --silent --skip=users
yum clean all
ls -ltr /etc/yum.repos.d/&lt;/PRE&gt;But , i still  could not get around the following error that was there previously:&lt;PRE&gt;File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 291, in _call raise Fail(err_msg) resource_management.core.exceptions.Fail: 

Execution of '/usr/bin/yum -d 0 -e 0 -y install ambari-metrics-monitor' returned 1. ERROR with rpm_check_debug vs depsolve: 

libkadm5clnt_mit.so.8()(64bit) is needed by krb5-workstation-1.10.3-65.el6.x86_64 
libkadm5clnt_mit.so.8(kadm5clnt_mit_8_MIT)(64bit) is needed by krb5-workstation-1.10.3-65.el6.x86_64 
libkadm5srv_mit.so.8()(64bit) is needed by krb5-workstation-1.10.3-65.el6.x86_64 
libkadm5srv_mit.so.8(kadm5srv_mit_8_MIT)(64bit) is needed by krb5-workstation-1.10.3-65.el6.x86_64 
You could try running: rpm -Va --nofiles --nodigest Your transaction was saved, rerun it with: 
yum load-transaction /tmp/yum_save_tx-2017-03-25-06-305zHb5j.yumtx&lt;/PRE&gt;&lt;P&gt;After some googling I did the following on all hosts and i tried the CLUSTER INSTALL WIZARD from AMBARI again for Metrics Collector and Zookeeper installation on all EC2 nodes.

It worked !! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; 
&lt;/P&gt;&lt;PRE&gt;[ec2-user@ip-172-31-5-78 ~]$ yum install libkadm5
Loaded plugins: amazon-id, rhui-lb, security
Repo rhui-REGION-client-config-server-6 forced skip_if_unavailable=True due to: /etc/pki/rhui/cdn.redhat.com-chain.crt
Repo rhui-REGION-client-config-server-6 forced skip_if_unavailable=True due to: /etc/pki/rhui/product/rhui-client-config-server-6.crt
Repo rhui-REGION-client-config-server-6 forced skip_if_unavailable=True due to: /etc/pki/rhui/rhui-client-config-server-6.key
Repo rhui-REGION-rhel-server-releases forced skip_if_unavailable=True due to: /etc/pki/rhui/cdn.redhat.com-chain.crt
Repo rhui-REGION-rhel-server-releases forced skip_if_unavailable=True due to: /etc/pki/rhui/product/content-rhel6.crt
Repo rhui-REGION-rhel-server-releases forced skip_if_unavailable=True due to: /etc/pki/rhui/content-rhel6.key
Repo rhui-REGION-rhel-server-releases-optional forced skip_if_unavailable=True due to: /etc/pki/rhui/cdn.redhat.com-chain.crt
Repo rhui-REGION-rhel-server-releases-optional forced skip_if_unavailable=True due to: /etc/pki/rhui/product/content-rhel6.crt
Repo rhui-REGION-rhel-server-releases-optional forced skip_if_unavailable=True due to: /etc/pki/rhui/content-rhel6.key
Repo rhui-REGION-rhel-server-rh-common forced skip_if_unavailable=True due to: /etc/pki/rhui/cdn.redhat.com-chain.crt
Repo rhui-REGION-rhel-server-rh-common forced skip_if_unavailable=True due to: /etc/pki/rhui/product/content-rhel6.crt
Repo rhui-REGION-rhel-server-rh-common forced skip_if_unavailable=True due to: /etc/pki/rhui/content-rhel6.key
You need to be root to perform this command.
[ec2-user@ip-172-31-5-78 ~]$ sudo yum install libkadm5
Loaded plugins: amazon-id, rhui-lb, security
Setting up Install Process
Resolving Dependencies
--&amp;gt; Running transaction check
---&amp;gt; Package libkadm5.x86_64 0:1.10.3-65.el6 will be installed
--&amp;gt; Processing Dependency: krb5-libs(x86-64) = 1.10.3-65.el6 for package: libkadm5-1.10.3-65.el6.x86_64
--&amp;gt; Running transaction check
---&amp;gt; Package krb5-libs.x86_64 0:1.10.3-15.el6_5.1 will be updated
--&amp;gt; Processing Dependency: krb5-libs = 1.10.3-15.el6_5.1 for package: krb5-workstation-1.10.3-15.el6_5.1.x86_64
---&amp;gt; Package krb5-libs.x86_64 0:1.10.3-65.el6 will be an update
--&amp;gt; Running transaction check
---&amp;gt; Package krb5-workstation.x86_64 0:1.10.3-15.el6_5.1 will be updated
---&amp;gt; Package krb5-workstation.x86_64 0:1.10.3-65.el6 will be an update
--&amp;gt; Finished Dependency Resolution




Dependencies Resolved




============================================================================================================================================================================
 Package                                 Arch                          Version                                Repository                                               Size
============================================================================================================================================================================
Installing:
 libkadm5                                x86_64                        1.10.3-65.el6                          rhui-REGION-rhel-server-releases                        143 k
Updating for dependencies:
 krb5-libs                               x86_64                        1.10.3-65.el6                          rhui-REGION-rhel-server-releases                        675 k
 krb5-workstation                        x86_64                        1.10.3-65.el6                          rhui-REGION-rhel-server-releases                        814 k




Transaction Summary
============================================================================================================================================================================
Install       1 Package(s)
Upgrade       2 Package(s)




Total size: 1.6 M
Total download size: 143 k
Is this ok [y/N]: y
Downloading Packages:
libkadm5-1.10.3-65.el6.x86_64.rpm                                                                                                                    | 143 kB     00:00
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Updating   : krb5-libs-1.10.3-65.el6.x86_64                                                                                                                           1/5
  Installing : libkadm5-1.10.3-65.el6.x86_64                                                                                                                            2/5
  Updating   : krb5-workstation-1.10.3-65.el6.x86_64                                                                                                                    3/5
  Cleanup    : krb5-workstation-1.10.3-15.el6_5.1.x86_64                                                                                                                4/5
  Cleanup    : krb5-libs-1.10.3-15.el6_5.1.x86_64                                                                                                                       5/5
  Verifying  : krb5-libs-1.10.3-65.el6.x86_64                                                                                                                           1/5
  Verifying  : libkadm5-1.10.3-65.el6.x86_64                                                                                                                            2/5
  Verifying  : krb5-workstation-1.10.3-65.el6.x86_64                                                                                                                    3/5
  Verifying  : krb5-libs-1.10.3-15.el6_5.1.x86_64                                                                                                                       4/5
  Verifying  : krb5-workstation-1.10.3-15.el6_5.1.x86_64                                                                                                                5/5




Installed:
  libkadm5.x86_64 0:1.10.3-65.el6




Dependency Updated:
  krb5-libs.x86_64 0:1.10.3-65.el6                                                  krb5-workstation.x86_64 0:1.10.3-65.el6


Complete!
&lt;/PRE&gt;</description>
      <pubDate>Sun, 26 Mar 2017 10:54:35 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Wierd-Error-while-installing-ambari-metrics-related-to/m-p/173986#M58107</guid>
      <dc:creator>suhel_khan</dc:creator>
      <dc:date>2017-03-26T10:54:35Z</dc:date>
    </item>
  </channel>
</rss>

