aviso /var/lib/ldap/__db.001 is not owned by “ldap” no openldap

Caso o openldap esteja apresentando o aviso /var/lib/ldap/__db.001 is not owned by “ldap”, faça os seguintes comando:

# service slapd stop
# chown -R ldap.ldap /var/lib/ldap
# service slapd start

Verifique se a mensagem desaparece.