[root@test mdb]# slapd -V @(#) $OpenLDAP: slapd 2.4.39 (Feb 4 2014 09:07:17) $
mockbuild@buildvm-25.phx2.fedoraproject.org:/builddir/build/BUILD/openldap-2.4.39/openldap-2.4.39/servers/slapd
i am trying to add ipNetwork entries to my tree, and at first i was getting "index generation failed" errors after several thousand entries were added. i removed the indexing of the cn attribute and restarted slapd and reran the loading of the entries. the existing objects were moved past, and some new objects were added. then some new errors came out.
adding new entry "cn=64.89.32.0,c=US,ou=GeoLocation,dc=bpk2,dc=com" ldap_add: Other (e.g., implementation specific) error (80) additional info: entry store failed
i am using lmdb. i have checked filesystem space, and that is not an issue. the data.mdb is about 10 MB in size.
the job i am running is an ldapadd, using the rootdn ID. this is only because it is going against a test instance. the job is started with:
ldapadd -h test.bpk2.com -D cn=Manager,dc=my-domain,dc=com -W -f geolocation.ldif -S geo_errors.out -c
the data is a parsed version of the IpToCountry.csv geolocation info. there are 137951 unique dn's to be added (with cn, ipnetworknumber, ipnetmasknumber, l, and 2 objectclasses per dn), and i am part way through the list. the ldif file is about 25 MB in size. all of the parent objects exist, as that was a previous job to add them. this is just to create the networks below each of the parent objects.
where can i look for places to identify the issue? has anyone run into something like this before? a quick google only shows threads for BDB/HDB backends, but i am using LMDB.
thanks in advance,
brendan kearney
No. The process started and thousands of new entries were added before the errors were thrown. Everything should be owned by ldap:ldap. I would not have changed that, much less in the middle of a large data load like this. I will double check later, though. On May 16, 2014 3:42 AM, "Michael Ströder" michael@stroeder.com wrote:
Brendan Kearney wrote:
adding new entry "cn=64.89.32.0,c=US,ou=GeoLocation,dc=bpk2,dc=com" ldap_add: Other (e.g., implementation specific) error (80) additional info: entry store failed
Anything wrong with ownership/permissions of the DB files?
Ciao, Michael.
--On May 15, 2014 at 9:03:12 PM -0400 Brendan Kearney bpk678@gmail.com wrote:
[root@test mdb]# slapd -V @(#) $OpenLDAP: slapd 2.4.39 (Feb 4 2014 09:07:17) $
mockbuild@buildvm-25.phx2.fedoraproject.org:/builddir/build/BUILD/openlda p-2.4.39/openldap-2.4.39/servers/slapd
i am trying to add ipNetwork entries to my tree, and at first i was getting "index generation failed" errors after several thousand entries were added. i removed the indexing of the cn attribute and restarted slapd and reran the loading of the entries. the existing objects were moved past, and some new objects were added. then some new errors came out.
adding new entry "cn=64.89.32.0,c=US,ou=GeoLocation,dc=bpk2,dc=com" ldap_add: Other (e.g., implementation specific) error (80) additional info: entry store failed
i am using lmdb. i have checked filesystem space, and that is not an issue. the data.mdb is about 10 MB in size.
What did you set the maxsize to be for the database? Note that it defaults to 10MB. So my guess would be you failed to correctly set a large enough maxsize for you MDB DB prior to running ldapadd. Please read the slapd-mdb(5) man page.
--Quanah
openldap-technical@openldap.org