kerberos error while creating database

-2

kerberos error while creating database

Loading random data
Initializing database '/var/lib/krb5kadc/principal' for realm 'HADOOP.COM',
master key name 'K/M@HADOOP.COM'
You will be prompted for the database Master Password.
It is important that you NOT FORGET this password.
Enter KDC database master key:
Re-enter KDC database master key to verify:
kdb5_util: No such file or directory while creating database '/var/lib/krb5kadc/                                                                                    principal'```


Tejaswini Jadhav

Posted 2019-07-03T09:54:25.193

Reputation: 9

This is not google. If you do have an actual question please write it down. What did you try to do? What didn't work? What is your goal? What did you try to fix it? Have a look at how to ask a good question.

– Seth – 2019-07-03T10:21:34.710

Answers

1

The error message says that the database directory doesn't exist. It looks like your kdc.conf has a typo:

  • Your KDC configuration tells it to put the database under /var/lib/krb5kadc/.
  • The standard directory name for MIT Kerberos is usually /var/lib/krb5kdc/.

user1686

Posted 2019-07-03T09:54:25.193

Reputation: 283 655