Support Questions

Find answers, ask questions, and share your expertise
Announcements
Check out our newest addition to the community, the Cloudera Data Analytics (CDA) group hub.

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
[logging]
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

/opt/cloudera/security/log/krb5kdc.log

1 REPLY 1

Explorer
Take a Tour of the Community
Don't have an account?
Your experience may be limited. Sign in to explore more.