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.
--On Wednesday, August 14, 2019 3:13 PM +0000 Paul Pathiakis pathiaki2@yahoo.com wrote:
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?
Set the maximum database size for the back-mdb database, as documented in the slapd-mdb(5) man page, to something large. The idea with the max size value is to set it to something very large that you do not ever expect to hit. I usually go with 80 GB.
Regards, Quanah
--
Quanah Gibson-Mount Product Architect Symas Corporation Packaged, certified, and supported LDAP solutions powered by OpenLDAP: http://www.symas.com
openldap-technical@openldap.org