<?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: Ambari Fails to create Keytabs when Installing new services or when trying to regenerate keytabs of existing services in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Ambari-Fails-to-create-Keytabs-when-Installing-new-services/m-p/241544#M203347</link>
    <description>&lt;P&gt;&lt;EM&gt; &lt;A href="https://community.hortonworks.com/users/102289/hbashir.html"&gt;@huzaira bashir&lt;/A&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;At least I am reassured about the previous screenshot. From the screenshot, I don't see domain which  should be in the format and comma separated  if your REALM is  TEST.COM note the dot(.)&lt;/EM&gt;&lt;/P&gt;&lt;PRE&gt;.test.com,test.com&lt;/PRE&gt;&lt;P&gt;&lt;EM&gt;And the Kadmin too, meanwhile can you share a tokenized version of you&lt;STRONG&gt; krb5.conf,kdc.conf &lt;/STRONG&gt;and &lt;STRONG&gt;kadm5.acl &lt;/STRONG&gt;most important  ensure these 2 daemons are running&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;Enable auto start&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;PRE&gt;# systemctl enable krb5kdc
# systemctl enable kadmin&lt;/PRE&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;Start the daemons&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;# /etc/rc.d/init.d/krb5kdc start
# /etc/rc.d/init.d/kadmin start&lt;/PRE&gt;&lt;P&gt;&lt;EM&gt;or &lt;/EM&gt;&lt;/P&gt;&lt;PRE&gt;# systemctl start krb5kdc
# systemctl start kadmin&lt;/PRE&gt;&lt;P&gt;&lt;EM&gt;Whichever is applicable&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;HTH&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 04 Jan 2019 22:15:33 GMT</pubDate>
    <dc:creator>Shelton</dc:creator>
    <dc:date>2019-01-04T22:15:33Z</dc:date>
    <item>
      <title>Ambari Fails to create Keytabs when Installing new services or when trying to regenerate keytabs of existing services</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ambari-Fails-to-create-Keytabs-when-Installing-new-services/m-p/241540#M203343</link>
      <description>&lt;P&gt;I am getting a server action failed error when ambari tries to create keytabs. I have no idea what is causing this error. I am using KDC admin to install the service. Please help. &lt;A rel="user" href="https://community.cloudera.com/users/1271/sheltong.html" nodeid="1271" target="_blank"&gt;@Geoffrey Shelton Okot&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="96567-keytab-error.png" style="width: 3722px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/13711iC45180E68D3D4C89/image-size/medium?v=v2&amp;amp;px=400" role="button" title="96567-keytab-error.png" alt="96567-keytab-error.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 14:01:44 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ambari-Fails-to-create-Keytabs-when-Installing-new-services/m-p/241540#M203343</guid>
      <dc:creator>hbashir</dc:creator>
      <dc:date>2022-09-16T14:01:44Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari Fails to create Keytabs when Installing new services or when trying to regenerate keytabs of existing services</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ambari-Fails-to-create-Keytabs-when-Installing-new-services/m-p/241541#M203344</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/102289/hbashir.html" nodeid="102289"&gt;@huzaira bashir&lt;/A&gt;&lt;P&gt;Can you take a look at your Ambari server log (/var/log/ambari-server/ambari-server.log) and see if there are any interesting error messages?&lt;/P&gt;</description>
      <pubDate>Thu, 03 Jan 2019 22:57:54 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ambari-Fails-to-create-Keytabs-when-Installing-new-services/m-p/241541#M203344</guid>
      <dc:creator>rlevas</dc:creator>
      <dc:date>2019-01-03T22:57:54Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari Fails to create Keytabs when Installing new services or when trying to regenerate keytabs of existing services</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ambari-Fails-to-create-Keytabs-when-Installing-new-services/m-p/241542#M203345</link>
      <description>&lt;P&gt; &lt;A href="https://community.hortonworks.com/users/102289/hbashir.html"&gt;&lt;EM&gt;@huzaira bashir&lt;/EM&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;What is the HDP version?  The screenshot doesn't look a typical MIT Kerberos enabling UI? Could you be using the AD as KDC? Having said that can you share how you procedure used? Can you share the Kerberos enabling screenshots from Ambari?&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;If you could answer promptly with the above info then it would help a great deal.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;HTH&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Jan 2019 01:00:53 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ambari-Fails-to-create-Keytabs-when-Installing-new-services/m-p/241542#M203345</guid>
      <dc:creator>Shelton</dc:creator>
      <dc:date>2019-01-04T01:00:53Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari Fails to create Keytabs when Installing new services or when trying to regenerate keytabs of existing services</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ambari-Fails-to-create-Keytabs-when-Installing-new-services/m-p/241543#M203346</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="96614-kerberos-service.png" style="width: 3743px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/13710i1B7C84D8668ADEFF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="96614-kerberos-service.png" alt="96614-kerberos-service.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/1271/sheltong.html" nodeid="1271" target="_blank"&gt;@Geoffrey Shelton Okot&lt;/A&gt;&lt;/P&gt;&lt;P&gt;The screenshot shared previously was of Ambari UI when adding hbase as a service. &lt;/P&gt;&lt;P&gt;Kerberos is MIT and was working fine when initially enabled. I realized there was a problem when adding a new service to the cluster. Ambari creates the principles needed in the kerberos db but is unable to create the keytabs.&lt;/P&gt;&lt;P&gt;HDP version is 3.0.0.0-1634&lt;/P&gt;&lt;P&gt;Ambari Version
      2.7.1.0&lt;/P&gt;&lt;P&gt;The procedure i used was the one in the guidelines of ambari using an exsisting MIT kerberos. It works fine until you try and add a new service or regenerate keytabs for an existing service.&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/29390"&gt;@Robert&lt;/a&gt; Levas There are no error messages in the logs that say anything.&lt;/P&gt;</description>
      <pubDate>Sat, 17 Aug 2019 22:12:34 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ambari-Fails-to-create-Keytabs-when-Installing-new-services/m-p/241543#M203346</guid>
      <dc:creator>hbashir</dc:creator>
      <dc:date>2019-08-17T22:12:34Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari Fails to create Keytabs when Installing new services or when trying to regenerate keytabs of existing services</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ambari-Fails-to-create-Keytabs-when-Installing-new-services/m-p/241544#M203347</link>
      <description>&lt;P&gt;&lt;EM&gt; &lt;A href="https://community.hortonworks.com/users/102289/hbashir.html"&gt;@huzaira bashir&lt;/A&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;At least I am reassured about the previous screenshot. From the screenshot, I don't see domain which  should be in the format and comma separated  if your REALM is  TEST.COM note the dot(.)&lt;/EM&gt;&lt;/P&gt;&lt;PRE&gt;.test.com,test.com&lt;/PRE&gt;&lt;P&gt;&lt;EM&gt;And the Kadmin too, meanwhile can you share a tokenized version of you&lt;STRONG&gt; krb5.conf,kdc.conf &lt;/STRONG&gt;and &lt;STRONG&gt;kadm5.acl &lt;/STRONG&gt;most important  ensure these 2 daemons are running&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;Enable auto start&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;PRE&gt;# systemctl enable krb5kdc
# systemctl enable kadmin&lt;/PRE&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;Start the daemons&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;# /etc/rc.d/init.d/krb5kdc start
# /etc/rc.d/init.d/kadmin start&lt;/PRE&gt;&lt;P&gt;&lt;EM&gt;or &lt;/EM&gt;&lt;/P&gt;&lt;PRE&gt;# systemctl start krb5kdc
# systemctl start kadmin&lt;/PRE&gt;&lt;P&gt;&lt;EM&gt;Whichever is applicable&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;HTH&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Jan 2019 22:15:33 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ambari-Fails-to-create-Keytabs-when-Installing-new-services/m-p/241544#M203347</guid>
      <dc:creator>Shelton</dc:creator>
      <dc:date>2019-01-04T22:15:33Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari Fails to create Keytabs when Installing new services or when trying to regenerate keytabs of existing services</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ambari-Fails-to-create-Keytabs-when-Installing-new-services/m-p/241545#M203348</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/102289/hbashir.html" nodeid="102289"&gt;@huzaira bashir&lt;/A&gt;&lt;P&gt;Is the Ambari server on a host that is registered with the cluster?  If not, I was recently alerted to an issue where this case was causing an error.  But enabling Kerberos would have failed for you... unless you had enabled Kerberos before upgrading to Ambari 2.7.1.  See &lt;A href="https://issues.apache.org/jira/browse/AMBARI-25088" target="_blank"&gt;AMBARI-25088 - Enable Kerberos fails when Ambari server is not on a registered host&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Fri, 04 Jan 2019 22:35:04 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ambari-Fails-to-create-Keytabs-when-Installing-new-services/m-p/241545#M203348</guid>
      <dc:creator>rlevas</dc:creator>
      <dc:date>2019-01-04T22:35:04Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari Fails to create Keytabs when Installing new services or when trying to regenerate keytabs of existing services</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ambari-Fails-to-create-Keytabs-when-Installing-new-services/m-p/241546#M203349</link>
      <description>&lt;P&gt;&lt;EM&gt;&lt;A href="https://community.hortonworks.com/users/102289/hbashir.html"&gt;&lt;/A&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;A href="https://community.hortonworks.com/users/102289/hbashir.html"&gt;@huzaira bashir&lt;/A&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Please find a complete process of the kerberization process &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 06 Jan 2019 06:39:07 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ambari-Fails-to-create-Keytabs-when-Installing-new-services/m-p/241546#M203349</guid>
      <dc:creator>Shelton</dc:creator>
      <dc:date>2019-01-06T06:39:07Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari Fails to create Keytabs when Installing new services or when trying to regenerate keytabs of existing services</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ambari-Fails-to-create-Keytabs-when-Installing-new-services/m-p/241547#M203350</link>
      <description>&lt;P&gt;&lt;EM&gt;&lt;A href="https://community.hortonworks.com/users/102289/hbashir.html"&gt;@huzaira bashir&lt;BR /&gt;&lt;/A&gt;&lt;/EM&gt;&lt;EM&gt;Please follow the steps and update this thread, I am sure there is a step you missed follow page by page. On your screenshot  I didn't see the Domain &lt;/EM&gt;&lt;EM&gt;&lt;A href="https://community.hortonworks.com/users/102289/hbashir.html"&gt;&lt;BR /&gt;&lt;/A&gt;&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 06 Jan 2019 06:41:05 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ambari-Fails-to-create-Keytabs-when-Installing-new-services/m-p/241547#M203350</guid>
      <dc:creator>Shelton</dc:creator>
      <dc:date>2019-01-06T06:41:05Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari Fails to create Keytabs when Installing new services or when trying to regenerate keytabs of existing services</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ambari-Fails-to-create-Keytabs-when-Installing-new-services/m-p/241548#M203351</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="97530-krb5kdc-status.png" style="width: 2101px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/13708i83CD7C36AD84D4A4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="97530-krb5kdc-status.png" alt="97530-krb5kdc-status.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="97531-kadmin-status.png" style="width: 2112px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/13709i3C2FC7854C0D5244/image-size/medium?v=v2&amp;amp;px=400" role="button" title="97531-kadmin-status.png" alt="97531-kadmin-status.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/1271/sheltong.html" nodeid="1271" target="_blank"&gt;@Geoffrey Shelton Okot&lt;/A&gt; &lt;/P&gt;&lt;P&gt;Hi have done everything accordingly, the domain is defined in the krb5.conf file. The ACL file is also ok. &lt;/P&gt;&lt;P&gt;my process are running as expected. the only problem is Ambari is not able to generate keytabs. Like I said, Ambari creates the principals required in the kerberos db but is unable to generate keytabs..&lt;/P&gt;&lt;P&gt;I can run Kadmin and list the princs. &lt;/P&gt;</description>
      <pubDate>Sat, 17 Aug 2019 22:12:26 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ambari-Fails-to-create-Keytabs-when-Installing-new-services/m-p/241548#M203351</guid>
      <dc:creator>hbashir</dc:creator>
      <dc:date>2019-08-17T22:12:26Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari Fails to create Keytabs when Installing new services or when trying to regenerate keytabs of existing services</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ambari-Fails-to-create-Keytabs-when-Installing-new-services/m-p/241549#M203352</link>
      <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/322/rlevas.html" nodeid="322"&gt;@Robert Levas&lt;/A&gt; the server is on the same domain. Kerberos is ok. the only issue is generation of keytabs when I add a new service. The principals are also created it just fails at keytab generation.&lt;/P&gt;</description>
      <pubDate>Mon, 07 Jan 2019 16:43:12 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ambari-Fails-to-create-Keytabs-when-Installing-new-services/m-p/241549#M203352</guid>
      <dc:creator>hbashir</dc:creator>
      <dc:date>2019-01-07T16:43:12Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari Fails to create Keytabs when Installing new services or when trying to regenerate keytabs of existing services</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ambari-Fails-to-create-Keytabs-when-Installing-new-services/m-p/241550#M203353</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/1271/sheltong.html" nodeid="1271" target="_blank"&gt;@Geoffrey Shelton Okot&lt;/A&gt; &lt;A rel="user" href="https://community.cloudera.com/users/322/rlevas.html" nodeid="322" target="_blank"&gt;@Robert Levas&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Attached is the error in the ambari-server log when trying to regenerate keytab for hbase&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="97532-error-in-ambari-server-log.png" style="width: 3519px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/13707iF9EE10552EFB35DB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="97532-error-in-ambari-server-log.png" alt="97532-error-in-ambari-server-log.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 17 Aug 2019 22:12:12 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ambari-Fails-to-create-Keytabs-when-Installing-new-services/m-p/241550#M203353</guid>
      <dc:creator>hbashir</dc:creator>
      <dc:date>2019-08-17T22:12:12Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari Fails to create Keytabs when Installing new services or when trying to regenerate keytabs of existing services</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ambari-Fails-to-create-Keytabs-when-Installing-new-services/m-p/241551#M203354</link>
      <description>&lt;P&gt;&lt;A href="https://community.hortonworks.com/users/102289/hbashir.html"&gt;&lt;EM&gt;@huzaira bashir&lt;/EM&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Can you share the corresponding to my screenshots photo5 and 6 , I built a VM to test your case and documented all the steps over the weekend and I am surprised it can't work for you. &lt;BR /&gt;Is Java Cryptography Extension (JCE) installed, check the syntax below  please adjust your jdk_home accordingly &lt;/EM&gt;&lt;/P&gt;&lt;PRE&gt;&lt;EM&gt;# zipgrep CryptoAllPermission /usr/jdk64/jdk1.8.0_112/jre/lib/security/local_policy.jar&lt;/EM&gt;&lt;/PRE&gt;&lt;P&gt;&lt;EM&gt;The desired output should be &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;default_local.policy: permission javax.crypto.CryptoAllPermission;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Jan 2019 17:35:52 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ambari-Fails-to-create-Keytabs-when-Installing-new-services/m-p/241551#M203354</guid>
      <dc:creator>Shelton</dc:creator>
      <dc:date>2019-01-07T17:35:52Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari Fails to create Keytabs when Installing new services or when trying to regenerate keytabs of existing services</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ambari-Fails-to-create-Keytabs-when-Installing-new-services/m-p/241552#M203355</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/1271/sheltong.html" nodeid="1271" target="_blank"&gt;@Geoffrey Shelton Okot&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Hi, my Javax policy is fine. see attached. Also I dont see photo 5 and 6 that you mentioned in your previous comment.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="97559-javax-policy.png" style="width: 2187px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/13706i4B96B02BF42B6002/image-size/medium?v=v2&amp;amp;px=400" role="button" title="97559-javax-policy.png" alt="97559-javax-policy.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 17 Aug 2019 22:12:04 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ambari-Fails-to-create-Keytabs-when-Installing-new-services/m-p/241552#M203355</guid>
      <dc:creator>hbashir</dc:creator>
      <dc:date>2019-08-17T22:12:04Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari Fails to create Keytabs when Installing new services or when trying to regenerate keytabs of existing services</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ambari-Fails-to-create-Keytabs-when-Installing-new-services/m-p/241553#M203356</link>
      <description>&lt;P&gt;&lt;EM&gt;&lt;A href="https://community.hortonworks.com/users/102289/hbashir.html"&gt;@huzaira bashir&lt;/A&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Here they are &lt;/EM&gt;&lt;/P&gt;&lt;BR /&gt;&lt;IMG src="https://community.cloudera.com/t5/image/serverpage/image-id/6572i0334734D68F66CDB/image-size/large?v=1.0&amp;amp;px=999" border="0" alt="photo05.png" title="photo05.png" /&gt;&lt;IMG src="https://community.cloudera.com/t5/image/serverpage/image-id/6574iA86AB3FB37ADE192/image-size/large?v=1.0&amp;amp;px=999" border="0" alt="photo06.png" title="photo06.png" /&gt;</description>
      <pubDate>Wed, 09 Jan 2019 16:48:26 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ambari-Fails-to-create-Keytabs-when-Installing-new-services/m-p/241553#M203356</guid>
      <dc:creator>Shelton</dc:creator>
      <dc:date>2019-01-09T16:48:26Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari Fails to create Keytabs when Installing new services or when trying to regenerate keytabs of existing services</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ambari-Fails-to-create-Keytabs-when-Installing-new-services/m-p/241554#M203357</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/102289/hbashir.html" nodeid="102289"&gt;@huzaira bashir&lt;/A&gt;
&lt;/P&gt;&lt;P&gt;It seems like there may be an issue exporting keytab files from the KDC.  Can you try to do this manually using the admin user you configured in Ambari?&lt;/P&gt;&lt;PRE&gt;/bin/kinit -c /tmp/my_cc -S kadmin/&amp;lt;KDC Admin Server Host&amp;gt; &amp;lt;KDC Admin Principal Name&amp;gt;

/bin/kadmin -c /tmp/my_cc -s &amp;lt;KDC Admin Server Host&amp;gt; -r &amp;lt;Realm&amp;gt; -q "xst -k /tmp/ambari_tmp.keytab -e des3-cbc-sha1-kd:normal,rc4-hmac:normal,des-cbc-md5:normal,aes128-cts-hmac-sha1-96:normal,aes256-cts-hmac-sha1-96:normal ambari-qa-&amp;lt;Cluster Name&amp;gt;@&amp;lt;Realm&amp;gt;"

/bin/klist -kte /tmp/ambari_tmp.keytab&lt;/PRE&gt;&lt;P&gt;You will need to change the specifics to match your cluster. For my cluster I am using:&lt;/P&gt;&lt;UL&gt;
&lt;LI&gt;&lt;STRONG&gt;KDC Admin Server Host:&lt;/STRONG&gt; c7402.ambari.apache.org&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;KDC Admin Principal Name:&lt;/STRONG&gt;  admin/admin!@EXAMPLE.COM&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Realm&lt;/STRONG&gt;: EXAMPLE.COM&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Cluster Name&lt;/STRONG&gt;: c1&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Also, I assume that you haven't changed:&lt;/P&gt;&lt;UL&gt;
&lt;LI&gt;The default temporary directory: /tmp&lt;/LI&gt;&lt;LI&gt;The kadmin principal name: kadmin/&amp;lt;KDC Admin Server Host&amp;gt;&lt;/LI&gt;&lt;LI&gt;The format of the Ambari smoke user principal name: ambari-qa-&amp;lt;Cluster Name&amp;gt;@&amp;lt;Realm&amp;gt;&lt;/LI&gt;&lt;LI&gt;The default encryption types: aes des3-cbc-sha1 rc4 des-cbc-md5&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Using the commands from above, I get the following:&lt;/P&gt;&lt;PRE&gt;[root@c7402 ~]# /bin/kinit -c /tmp/my_cc -S kadmin/c7402.ambari.apache.org admin/admin@EXAMPLE.COM
Password for admin/admin@EXAMPLE.COM:&amp;lt;br&amp;gt;[root@c7402 ~]# /bin/kadmin -c /tmp/my_cc -s c7402.ambari.apache.org -r EXAMPLE.COM -q "xst -k "/tmp/ambari_tmp.keytab" -e des3-cbc-sha1-kd:normal,rc4-hmac:normal,des-cbc-md5:normal,aes128-cts-hmac-sha1-96:normal,aes256-cts-hmac-sha1-96:normal ambari-server-c1@EXAMPLE.COM"
Authenticating as principal admin/admin@EXAMPLE.COM with existing credentials.
Entry for principal ambari-server-c1@EXAMPLE.COM with kvno 4, encryption type des3-cbc-sha1 added to keytab WRFILE:/tmp/ambari_tmp.keytab.
Entry for principal ambari-server-c1@EXAMPLE.COM with kvno 4, encryption type arcfour-hmac added to keytab WRFILE:/tmp/ambari_tmp.keytab.
Entry for principal ambari-server-c1@EXAMPLE.COM with kvno 4, encryption type des-cbc-md5 added to keytab WRFILE:/tmp/ambari_tmp.keytab.
Entry for principal ambari-server-c1@EXAMPLE.COM with kvno 4, encryption type aes128-cts-hmac-sha1-96 added to keytab WRFILE:/tmp/ambari_tmp.keytab.
Entry for principal ambari-server-c1@EXAMPLE.COM with kvno 4, encryption type aes256-cts-hmac-sha1-96 added to keytab WRFILE:/tmp/ambari_tmp.keytab.
Administration credentials NOT DESTROYED.&amp;lt;br&amp;gt;[root@c7402 ~]# /bin/klist -kte /tmp/ambari_tmp.keytab
Keytab name: FILE:/tmp/ambari_tmp.keytab
KVNO Timestamp           Principal
---- ------------------- ------------------------------------------------------
   4 01/09/2019 15:31:29 ambari-server-c1@EXAMPLE.COM (des3-cbc-sha1)
   4 01/09/2019 15:31:29 ambari-server-c1@EXAMPLE.COM (arcfour-hmac)
   4 01/09/2019 15:31:29 ambari-server-c1@EXAMPLE.COM (des-cbc-md5)
   4 01/09/2019 15:31:29 ambari-server-c1@EXAMPLE.COM (aes128-cts-hmac-sha1-96)
   4 01/09/2019 15:31:29 ambari-server-c1@EXAMPLE.COM (aes256-cts-hmac-sha1-96)&lt;/PRE&gt;&lt;P&gt;Can you try this to see if you get any errors?&lt;/P&gt;</description>
      <pubDate>Wed, 09 Jan 2019 23:34:56 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ambari-Fails-to-create-Keytabs-when-Installing-new-services/m-p/241554#M203357</guid>
      <dc:creator>rlevas</dc:creator>
      <dc:date>2019-01-09T23:34:56Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari Fails to create Keytabs when Installing new services or when trying to regenerate keytabs of existing services</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ambari-Fails-to-create-Keytabs-when-Installing-new-services/m-p/241555#M203358</link>
      <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/322/rlevas.html" nodeid="322" target="_blank"&gt;@Robert Levas&lt;/A&gt;, &lt;/P&gt;&lt;P&gt;I am able to do this manually. I got no errors. &lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="97573-manual-process.png" style="width: 3037px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/13705i1A353F4CD445EB45/image-size/medium?v=v2&amp;amp;px=400" role="button" title="97573-manual-process.png" alt="97573-manual-process.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 17 Aug 2019 22:11:56 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ambari-Fails-to-create-Keytabs-when-Installing-new-services/m-p/241555#M203358</guid>
      <dc:creator>hbashir</dc:creator>
      <dc:date>2019-08-17T22:11:56Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari Fails to create Keytabs when Installing new services or when trying to regenerate keytabs of existing services</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ambari-Fails-to-create-Keytabs-when-Installing-new-services/m-p/241556#M203359</link>
      <description>&lt;P style="margin-left: 20px;"&gt;&lt;A href="https://community.hortonworks.com/users/1271/sheltong.html"&gt;@Geoffrey Shelton Okot&lt;/A&gt; &lt;A rel="user" href="https://community.cloudera.com/users/102289/hbashir.html" nodeid="102289"&gt;@huzaira bashir&lt;/A&gt; &lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;Did you manage to solve this yet?&lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;What was the problem? &lt;/P&gt;</description>
      <pubDate>Tue, 15 Jan 2019 20:21:41 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ambari-Fails-to-create-Keytabs-when-Installing-new-services/m-p/241556#M203359</guid>
      <dc:creator>mRabramS</dc:creator>
      <dc:date>2019-01-15T20:21:41Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari Fails to create Keytabs when Installing new services or when trying to regenerate keytabs of existing services</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ambari-Fails-to-create-Keytabs-when-Installing-new-services/m-p/241557#M203360</link>
      <description>&lt;P&gt;&lt;EM&gt;&lt;A href="@Javert Kirilov"&gt; @Javert Kirilov&lt;/A&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Have you encountered a Kerberos issue? Is it similar to the thread opened by Bashir?  It's usually good to open a new thread as this one isn't being actively viewed. &lt;BR /&gt;I will be happy to help you if you attached some logs ,screenshot  and some  error logs&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Jan 2019 23:51:08 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ambari-Fails-to-create-Keytabs-when-Installing-new-services/m-p/241557#M203360</guid>
      <dc:creator>Shelton</dc:creator>
      <dc:date>2019-01-15T23:51:08Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari Fails to create Keytabs when Installing new services or when trying to regenerate keytabs of existing services</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ambari-Fails-to-create-Keytabs-when-Installing-new-services/m-p/241558#M203361</link>
      <description>&lt;P&gt;Thank you, I had this exact issue with same errors and nothing in the comment discussion helped. However, after several ambari-server restarts and dumb retries of the "Kerberos wizard" with similar settings magically resolved this. I'm not sure at all what was the problem.. &lt;/P&gt;</description>
      <pubDate>Tue, 15 Jan 2019 23:54:38 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ambari-Fails-to-create-Keytabs-when-Installing-new-services/m-p/241558#M203361</guid>
      <dc:creator>mRabramS</dc:creator>
      <dc:date>2019-01-15T23:54:38Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari Fails to create Keytabs when Installing new services or when trying to regenerate keytabs of existing services</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ambari-Fails-to-create-Keytabs-when-Installing-new-services/m-p/241559#M203362</link>
      <description>&lt;P&gt; &lt;A rel="user" href="https://community.cloudera.com/users/322/rlevas.html" nodeid="322" target="_blank"&gt;@Robert Levas&lt;/A&gt; &lt;A rel="user" href="https://community.cloudera.com/users/1271/sheltong.html" nodeid="1271" target="_blank"&gt;@Geoffrey Shelton Okot&lt;/A&gt; when I used debug mode I get an additional line which might point to an encryption issue? please see attached pic&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="97607-debug-error-message.png" style="width: 3807px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/13704i230B35EE0FA6ED25/image-size/medium?v=v2&amp;amp;px=400" role="button" title="97607-debug-error-message.png" alt="97607-debug-error-message.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 17 Aug 2019 22:11:48 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ambari-Fails-to-create-Keytabs-when-Installing-new-services/m-p/241559#M203362</guid>
      <dc:creator>hbashir</dc:creator>
      <dc:date>2019-08-17T22:11:48Z</dc:date>
    </item>
  </channel>
</rss>

