Hi,

I'm reloading a DB into OpenLDAP after an upgrade.

It starts off fine with:

 ldapadd -f ./20190812-200001.ldif -v -D "cn=root,dc=hq,dc=example,dc=com" -h newldap.hq.example.com -W -c

However, during the load, it gets through a few hundred entries and then:


adding new entry "cn=ZRO001-INTERNAL,ou=ZRO001,ou=Projects,dc=hq,dc=example,dc=com"
ldap_add: Other (e.g., implementation specific) error (80)
        additional info: index generation failed


During the load, it seems that the indexes are failing as well.

Could I have what the issue is?
How do I correct it?
What are the commands I run properly load this (and generate the indexes)?
How do I make sure enough space for the DB and the indexes is allocated?

@(#) $OpenLDAP: slapd 2.4.44 (Jan 29 2019 17:42:45) $
        mockbuild@x86-01.bsys.centos.org:/builddir/build/BUILD/openldap-2.4.44/openldap-2.4.44/servers/slapd

Thank you!

P.