Created on 02-22-2022 08:28 AM - edited 09-16-2022 07:45 AM
Hello,
How do I check the location where Kerberos is writing logs?
I checked the location which is mentioned in krb5.conf (default = FILE:/var/log/krb5libs.log
kdc = FILE:/var/log/krb5kdc.log
admin_server = FILE:/var/log/kadmind.log) however the log files mentioned in this location are empty. Am I checking an incorrect location?
Secondly logs on Hue Server & KT renewer is not getting updated / current.
Any help/guidance is appreciated.
Created 02-24-2022 09:54 PM
Kerberos issue can be a hard thing to troubleshoot. I've done a LOT of troubleshooting involving Kerberos and I still find myself stumped at times.
What's in the krb5kdc.log rarely matters. The best way to find out what's going on is to look at the client log.
Enable debug logging for your application and ensure you also toggle debug mode for the Kerberos modules with -Dsun.security.krb5.debug=true for your application.
Look at and read the logs carefully, and google a lot 🙂 Kerberos debug logs are rarely intuitive.
If you can share some of that here it might help us find some clues as to what is going on. If you can't, I understand.
Good luck.
André
Created 02-24-2022 02:00 AM
Would you be able to share the stack traces from the application logs?
André
Created 02-24-2022 09:36 PM
Created 02-24-2022 09:44 PM
Totally understandable.
What's your OS?
André
Created 02-24-2022 09:54 PM
Kerberos issue can be a hard thing to troubleshoot. I've done a LOT of troubleshooting involving Kerberos and I still find myself stumped at times.
What's in the krb5kdc.log rarely matters. The best way to find out what's going on is to look at the client log.
Enable debug logging for your application and ensure you also toggle debug mode for the Kerberos modules with -Dsun.security.krb5.debug=true for your application.
Look at and read the logs carefully, and google a lot 🙂 Kerberos debug logs are rarely intuitive.
If you can share some of that here it might help us find some clues as to what is going on. If you can't, I understand.
Good luck.
André
Created 03-02-2022 07:17 PM
Created 03-02-2022 07:27 PM
Any luck with this? Found the root cause?
André