Details
Description
Run MiniKdc in a terminal and then press Ctrl-C:
Do <CTRL-C> or kill <PID> to stop it --------------------------------------------------- ^C2017-08-19 22:52:23,607 INFO impl.DefaultInternalKdcServerImpl: Default Internal kdc server stopped. 2017-08-19 22:53:21,358 INFO server.SimpleKdcServer: Fail to delete krb5 conf. java.io.IOException 2017-08-19 22:53:22,363 INFO minikdc.MiniKdc: MiniKdc stopped.
The reason for "Fail to delete krb5 conf" is because MiniKdc renames SimpleKdcServer's krb5 conf file. During shutdown, SimpleKdcServer attempts to delete its krb5 conf file, and can not find it.