logo_kerberos.gif

Difference between revisions of "User talk:Haoqili"

From K5Wiki
Jump to: navigation, search
(New page: '''Bugs I've encountered and fixed.''' * When trying to ''kinit username'' : ERROR: ''kinit: Cannot contact any KDC for realm [your realm fqdn] while getting initial credentials'' : SOLUT...)
 
Line 4: Line 4:
 
: ERROR: ''kinit: Cannot contact any KDC for realm [your realm fqdn] while getting initial credentials''
 
: ERROR: ''kinit: Cannot contact any KDC for realm [your realm fqdn] while getting initial credentials''
 
: SOLUTION: 1. check log file. I looked in /var/log/auth.log. The bottom of it says: ''Cannot create reply cache file /var/tmp/krb5kdc_rcache: File exits''. 2. ''sudo rm /var/tmp/krb5kdc_rcache.
 
: SOLUTION: 1. check log file. I looked in /var/log/auth.log. The bottom of it says: ''Cannot create reply cache file /var/tmp/krb5kdc_rcache: File exits''. 2. ''sudo rm /var/tmp/krb5kdc_rcache.
  +
  +
* Can't start krb5kdc and in auth.log it says:
  +
: ERROR: ''Address already in use - Cannot bind server socket to port [#] address [IP address]''
  +
: SOLUTION: 1. see if it is true that port [#] is in use by ''netstat -nap | grep [#]'' (I also did ''pgrep -x krb5kdc''). 2. kill the process: ''pkill -x krb5kdc''. note the "-x" is for matching exactly the process "krb5kdc".

Revision as of 13:02, 25 June 2009

Bugs I've encountered and fixed.

  • When trying to kinit username
ERROR: kinit: Cannot contact any KDC for realm [your realm fqdn] while getting initial credentials
SOLUTION: 1. check log file. I looked in /var/log/auth.log. The bottom of it says: Cannot create reply cache file /var/tmp/krb5kdc_rcache: File exits. 2. sudo rm /var/tmp/krb5kdc_rcache.
  • Can't start krb5kdc and in auth.log it says:
ERROR: Address already in use - Cannot bind server socket to port [#] address [IP address]
SOLUTION: 1. see if it is true that port [#] is in use by netstat -nap | grep [#] (I also did pgrep -x krb5kdc). 2. kill the process: pkill -x krb5kdc. note the "-x" is for matching exactly the process "krb5kdc".