Support Questions
Find answers, ask questions, and share your expertise

kdb5_util: Included profile directory could not be read while initializing Kerberos code

kdb5_util: Included profile directory could not be read while initializing Kerberos code

Explorer

Trying to install Kerberos on CentOS7 for Cloudera 5.16 version.  Getting below error.

 

1. Installed  server and workstation successfully

yum install -y krb5-server krb5-libs krb5-workstation

 

2.  nano /etc/krb5.conf  ==> configuration also good

# Configuration snippets may be placed in this directory as well
includedir /etc/krb5.conf.d/

[logging]
default = FILE:/var/log/krb5libs.log
kdc = FILE:/var/log/krb5kdc.log
admin_server = FILE:/var/log/kadmind.log

[libdefaults]
dns_lookup_realm = false
ticket_lifetime = 24h
renew_lifetime = 7d
forwardable = true
rdns = false
pkinit_anchors = /etc/pki/tls/certs/ca-bundle.crt
default_realm = CLSECURITY.COM
default_ccache_name = KEYRING:persistent:%{uid}

[realms]
HADOOPSECURITY.COM = {
kdc = m1.bigdata.com
admin_server = m1.bigdata.com
}

[domain_realm]
.clsecurity.com = CLSECURITY.COM
clsecurity.com = CLSECURITY.COM

 

3. Creating kerberos database
kdb5_util create -s

I am getting below error when I try to create database.

 

kdb5_util: Included profile directory could not be read while initializing Kerberos code