After server restart, I cannot login to AdminConsole

I restarted the server and now I get

Login failed: make sure your username and password are correct and that you’re an admin or moderator.

I know the password is correct and the username is my AD account. Is there something I am missing? I was adding plugins to the plug in directory and then restarted the server. now I get this error.

I ran into this same issue and was not able to log back into the Admin Console.

The only way I was able to resolve it was to edit the openfire.xml file located in the /Openfire/conf directory. I changed the setup flag from ‘True’ to ‘False’ which kicked off the intial setup again upon launching the Admin Console.

I just kept the same exact settings as before, and even used the exact same Admin user from LDAP. Was able to login right after completing the quick setup as I had been doing previously.

I do not know what caused this to occur. I simply restarted the service and was unable to login.