openldap not listening on port 389


For some reason openldap stopped running and listening on port 389 after our server had a problem…

The database files (BDB type) were actually corrupted…

This is how to fix the issue and recover the DB :

The server was up again after fixing the DB

Thanks for reading this post!

If you found an issue in this article, you can create an issue on Github.

If you have a comment or question, please drop me a line below!