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.

CONFIGURE KDC CLIENT FAILING

Solved Go to solution

Re: CONFIGURE KDC CLIENT FAILING

Master Collaborator

changed that , still same , kdc cant find the master key

Re: CONFIGURE KDC CLIENT FAILING

Master Collaborator

even the service wont start now

[root@hadoop1 etc]#  service krb5kdc start
Starting Kerberos 5 KDC: krb5kdc: cannot initialize realm TOLLS.DOT.SATE.FL.US - see log file for details
                                                          [FAILED]
tail -100f /var/log/krb5kdc.log
Nov 30 10:50:36 hadoop1 krb5kdc[18920](info): closing down fd 9
Nov 30 10:50:36 hadoop1 krb5kdc[18920](info): closing down fd 7
Nov 30 10:50:36 hadoop1 krb5kdc[18920](info): shutting down
krb5kdc: Can not fetch master key (error: No such file or directory). - while fetching master key K/M for realm TOLLS.DOT.SATE.FL.US


e

Re: CONFIGURE KDC CLIENT FAILING

@Sami Ahmad

It seems like your KDC installation is all messed up. Can you remove the client and server packages as well as the /var/kerberos directory and its contents? Then try to reinstall it.

Here is a script that I use for Centos6. If you have a different OS, let me know and I might have a script for that. In any case the script creates a KDC with the realm of EXAMPLE.COM. You can edit the script to change this. It also creates an administrator principal - admin/admin@EXAMPLE.COM (password: admin).

install-kdcsh.txt

Re: CONFIGURE KDC CLIENT FAILING

Master Collaborator

ah there was a typo in the krb5.conf file . I typed "SATE" instead of "STATE" . so I can login into kadmin now and will try to re-install via ambari and report.

Re: CONFIGURE KDC CLIENT FAILING

Master Collaborator

thanks all for your help I could install Kerberos

Highlighted

Re: CONFIGURE KDC CLIENT FAILING

New Contributor

Hello Sami,

Can You please share the solution, am also facing the same issue.

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