Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've been playing with my openAFS setup, and adding keys for the afs principle for kerberos. Now, suddenly, Kerberos has gone down (or something).

Kadmin gives the following error:
kadmin -p admin
Authenticating as principal admin with password.
admin: Cannot contact any KDC for requested realm while initializing kadmin interface

kinit: Cannot contact any KDC for realm '***' while getting initial credentials

Please help (desperate)

share|improve this question
Restarting Kerberos administrative servers: kadmind failed! Restarting Kerberos KDC: krb5kdc failed! – pypmannetjies Jul 15 '11 at 8:12
Can you provide more details about why kadmind and krb5kdc say they're failing to start? stderr output, logs, etc. would be helpful in troubleshooting the issue. – Handyman5 Jul 15 '11 at 14:52
I'm guessing there is a permissions problem with the kadmin / krb5kdc services. But there is no way to say for sure without you posting logs and error output. – wzzrd Jul 21 '11 at 11:01

Red Hat Ent. Linux 4 kerberos libraries had a fixed amount of memory they would use when using DNS to look up KDCs, and if the DNS response came back too big (e.g., you added one more KDC that pushed you over the space limit for the DNS answer), it would fail. That section of code in RHEL5 is just about completely different, and doesn't suffer from that problem. The code reflects upstream, so it is likely in some versions of other distributions as well.

You environment may or may not be affected.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.