LDAP not starting after upgrade pls read UPGRADE_INSTRUCTIONS file

LDAP Not starting after upgrading form 2.5 to 2.6

Error Message:

#systemctl status slapd.service
Starting slapd.service – OpenLDAP Server Daemon…
#check-config.sh[42982]: You have upgraded your openldap-servers package. There are actions that need to be performed. Please, read the /usr/share/openldap-servers/UPGRADE_INSTRUCTIONS file
#check-config.sh[42982]: /usr/libexec/openldap/check-config.sh: line 79: return: can only `return’ from a function or sourced script
#systemd[1]: slapd.service: Control process exited, code=exited, status=2/INVALIDARGUMENT
# systemd[1]: slapd.service: Failed with result ‘exit-code’.
# systemd[1]: Failed to start slapd.service – OpenLDAP Server Daemon.

Solution

Uninstall openldap-servers and reinstall it.

# rpm -e openldap-servers

Install Open Ldap Server

#dnf install openldap-servers