Member since
05-16-2016
11
Posts
0
Kudos Received
0
Solutions
09-23-2016
10:11 AM
Hi @xu jerry Few observations: 1. The crontab is set to get a new ticket at midnight every day. But the klist output says that the ticket was acquired on "09/23/16 07:10:35". Meaning, someone (or some program) had refreshed the ticket after midnight at 7:10. 2. By default, the TGT would be valid for a day. But in your case, the validity looks to be '2days and 2 minutes' (from klist output). Is that expected? 3. The KDC logs clearly says that the ticket was expired by "Sep 23 10:57:31". Also you can see that there was a TGT request (AS_REQ) at midnight (that'd be your crontab). And there were two service ticket requests (TGS_REQUEST). So as per KDC log, no one refreshed the TGT after midnight. (so my #1 stand false as of this) To answer your question: My question is : Can other application(such as : hadoop client) edit
/tmp/krb5cc_613 programmly? I think other application (hadoop client)
just read information from /tmp/krb5cc_613 instead writing it. Usually the hadoop clients and applications would only consume (i.e. read) the TGT. The only condition in which a TGT would get updated is when an application try to do kinit programmatically. If you are consistently getting this error, then I'd advice to run kinit in the debug mode. That is once you get ticket expired error, then execute these and check (& post) the output here. export KRB5_TRACE=/dev/stdout
klist -eaf
kvno <name_of_any_service_principal> Also, it'd also make sense to attach your /etc/krb5.conf to know what are the current Kerberos configurations. Hope this help.
... View more