Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

After ambari-server setup-security ambari-server start failed

Solved Go to solution
Highlighted

After ambari-server setup-security ambari-server start failed

Contributor

After ambari-server setup-security the ambari-server.log is

03 Jan 2017 12:54:26,153 ERROR [main] KerberosChecker:115 - Unable to obtain password from user 03 Jan 2017 12:54:26,154 ERROR [main] AmbariServer:927 - Failed to run the Ambari Server org.apache.ambari.server.AmbariException: Ambari Server Kerberos credentials check failed. Check KDC availability and JAAS configuration in /etc/ambari-server/conf/krb5JAASLogin.conf at org.apache.ambari.server.controller.utilities.KerberosChecker.checkJaasConfiguration(KerberosChecker.java:116) at org.apache.ambari.server.controller.AmbariServer.main(AmbariServer.java:922)

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted

Re: After ambari-server setup-security ambari-server start failed

Super Collaborator

@Zhao Chaofeng Can you please show the /etc/ambari-server/conf/krb5JAASLogin.confconfig.

You have executed setup-security to configure jass for ambari server? Please make sure that you have set complete keytab path while configuring. It should be something like below and verify the keytab and principal by doing kinit

[root@hdp1 conf]# egrep "principal|keytab" /etc/ambari-server/conf/krb5JAASLogin.conf
    keyTab="/etc/security/keytabs/ambari.server.keytab"
    principal="ambari-server-hdp25@RAGHAV.COM"
#kinit -kt /etc/security/keytabs/ambari.server.keytab ambari-server-hdp25

View solution in original post

4 REPLIES 4
Highlighted

Re: After ambari-server setup-security ambari-server start failed

Super Collaborator

@Zhao Chaofeng Can you please show the /etc/ambari-server/conf/krb5JAASLogin.confconfig.

You have executed setup-security to configure jass for ambari server? Please make sure that you have set complete keytab path while configuring. It should be something like below and verify the keytab and principal by doing kinit

[root@hdp1 conf]# egrep "principal|keytab" /etc/ambari-server/conf/krb5JAASLogin.conf
    keyTab="/etc/security/keytabs/ambari.server.keytab"
    principal="ambari-server-hdp25@RAGHAV.COM"
#kinit -kt /etc/security/keytabs/ambari.server.keytab ambari-server-hdp25

View solution in original post

Highlighted

Re: After ambari-server setup-security ambari-server start failed

Contributor

Oh, I modify /etc/ambari-server/conf/krb5JAASLogin.conf corresponding with yours, and it's ok now. Thank you.

Highlighted

Re: After ambari-server setup-security ambari-server start failed

Super Collaborator

Thank you .. Can you please accept the answer if the problem is fixed.

Highlighted

Re: After ambari-server setup-security ambari-server start failed

New Contributor

Hi All,

I am receiving the same error "Ambari Server Kerberos credentials check failed" when I try to start Ambari server. My settings are same as described above. when I am trying to kinit it is giving error" kinit: Preauthentication failed while getting initial credentials".

Please be informed that we are using Active directory for authentication.

Please let me know what to do.

Thanks

Don't have an account?
Coming from Hortonworks? Activate your account here