Error
Message | Cause | Troubleshooting Tips |
Permission
denied while initializing krb5. | /etc/krb5.conf set to read only by root. | reset the permissions to 644 |
No such
file or directory while verifying ticket for server | When the
host's keytab file, /etc/krb5.keytab,is not found. | Ensure that the location of the host's keytab
file is its appropriate location |
Hostname cannot be canonicalized while
selecting the best principal | If the hostname is longer than 8 characters.
A' uname -n' returns the first 8 characters of
the name. | Add the 8 character name to the /etc/hosts file
(just tack it on to the end of the current IP address/hostname line). |
Pre-authentication failed while getting
initial credentials | This occurs when your principal has the "requires_preauth"
flag set and either one of three instances occur: You have entered your password incorrectly. Have only an AFS salted key in the KDC database. This
will cause a "file not found" error in the KDC logs. The clock skew on the system. This will be indicated
in the KDC logs.
| |
Internal file credentials cache error
while initializing cache | This message is usually displayed when
the Kerberos credentials file was owned by someone other than the current
user. | |
ASN.1 failed call to system time library
- while dispatching | This message is usually displayed when
a client is requesting for a krbtgt with a bad lifetime value | |
Clock skew too great in KDC reply while
getting initial credentials | This generally occurs because the system's
clock deviates too much from the time on the authenticating KDC.
You are, generally, allowed upto five minutes of clock skew. | You will need to run ntp, or a similar service
to keep your system's clock synchronized with the world's
atomic clock. If you do not know how to do this then you should
contact your system administrator to resolve this. |
Requesting host principal without fully-qualified
domain name. Server not found in Kerberos database while
getting the credentials from kdc Incorrect
net address while getting credentials from kdc | The host uses /etc/hosts to resolve name lookups before dns. If the line
for the host in /etc/hosts contains unqualified domain name before the fully-qualified domain
name. This problem can also be caused if the /etc/hosts has a different IP address for a host from what
the DNS server has. | |
/etc/krb5.conf not found | The krb5.conf file has not been created. | Copy the sample file, krb5.conf.sample, from /var/adm/krb5/krb5kdc and edit accordingly. |
Can't open/find Configuration file
while initializing Kerberos code | When you try to create the database and krb5.conf file is not found in the /var/adm/krb5/krb5kdc directory the following error message occurs. | Copy the sample file, krb5.conf.sample, from /var/adm/krb5/krb5kdc and edit accordingly. |
Required parameters in kdc.conf missing while initializing the Kerberos context | Missing or incorrect parameters in the kdc.conf file. | Ensure that the kdc.conf file has the appropriate information present |
Stored master key is corrupted while
initializing kadmin.local interface | If the stash file is corrupted this message
appears. | |
Cannot find/read stored master key while
initializing kadmin.local interface. | When the stash file looks for the same
values as entered in the kdc.conf file | |
Can't open/find Kerberos configuration
file while initializing krb5 library. | krb5.conf not present | |
Client/server realm mismatch in initial
ticket request while initializing kadmin interface. | You had an old credential cache file,
which had the credentials for another realm | Use the kdestroy utility to destroy your old credential cache or use the kadmin -p <pname> |
Cannot resolve network address for KDC
in requested realm while getting initial credentials. | Check your resolv.conf file | |
Decrypt integrity check failed while
verifying master key | passwords do not match | |
Decrypt integrity check failed while
initializing kadmin.local interface. | passwords do not match | |
Communication failure with Server | This error occurs if RPC timeouts when kadmin is communicating with kadmind. | This error can be avoided if the environment
variable KADMIN_TIMEOUT, which specifies the timeout value for kadmin is set to a value between 45 and 1200 seconds. By default,
this variable is set to 45 seconds. |