Support Questions
Find answers, ask questions, and share your expertise
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

How to change kerberos logging path


How to change kerberos logging path

New Contributor

We had a client-server with a disk running out of space and the log /opt/cloudera/security/log/krb5kdc.log was the cause

/opt/cloudera/security/log/krb5kdc.log was 14GB.
We moved and compressed it to krb5kdc.log.bak.gz, it is now just 137MB.
The krb5kdc service had to be restarted to release the handle to the old log file on the filesystem.
Space went down to 23%.

This is not a solution to a problem, but a workaround.
The problem is that /opt is on a root filesystem, which is small.
The problem will reoccur soon.


I checked /etc/krb5.conf, but it shows a different log directory.

[root@ingest1 amit.kumar-ctr]# more /etc/krb5.conf
default = FILE:/var/log/krb5libs.log
kdc = FILE:/var/log/krb5kdc.log
admin_server = FILE:/var/log/kadmind.log

 I want to know on which configuration file this location is configured so that I can change it



Re: How to change kerberos logging path

Don't have an account?
Coming from Hortonworks? Activate your account here