[krbdev.mit.edu #3973] kdb5_util load now fails if db doesn't exist [workaround]
Ken Raeburn via RT
rt-comment at krbdev.mit.edu
Fri Jun 30 21:40:58 EDT 2006
After the recent quick hacks to make kdb5_util load work with an
existing database (and thus make kpropd work), it looks like loading
from a dump file doesn't work if the database hasn't already been
created:
load: cannot create database /tmp/aa/principalx (KADM5 administration database lock file missing)
I think it's also likely to leave things in a state where temporary
files are left around and may cause it to get even less far the next
time.
The workaround is simple: Use "kdb5_util create" to create a database
(populated with the basics like K/M), then load your dump file. And
if you've got a bunch of temporary files like "principal~.kadm5", just
delete them and try again.
Ken
More information about the krb5-bugs
mailing list