[Date Prev][Date Next]
Re: (ITS#4438) txn_aborted! Unknown error (80)
--On Thursday, March 16, 2006 8:12 AM +0000 Leopold.Gann@siemens.com wrote:
> Full_Name: Leopold Gann
> Version: 2.2.29 (Oct 21 2005 16:01:14)
> OS: Windows 2000
> URL: ftp://ftp.openldap.org/incoming/
> Submission from: (NULL) (126.96.36.199)
> in order to speed up bulk loading I've setup both
> (DB_TXN_NOSYNC and DB_LOG_INMEMORY) while applying
> slapadd when uploading a 100K entry's LDIF.
> That bounced however as follows:
> slapadd: could not add entry dn="cn=Lorenza
> Jewett,ou=Administrative,o=airius.com" (line=1900246): txn_aborted!
> Unknown error (80)
> ... in other words, uploading stopped on
> 65533-th entry's addition ...
What version of BDB are you using? I'm going to guess BDB 4.3.x. You
cannot load a large amount of data into OpenLDAP with BDB 4.3.x while
having the DB_LOG_INMEMORY flag set, due to issues with how BDB 4.3
operates. This is one of the reasons that BDB 4.2.52 is the recommended
version of BDB to use with OpenLDAP 2.2.
If you were to use a current supported release of OpenLDAP (i.e., OpenLDAP
2.3.20), you could use "slapadd -q", which is many times faster than the
slapadd found in 2.2, and there is no need to fiddle with the DB_CONFIG
file like there is in OpenLDAP 2.2.
Your best solution is to upgrade to 2.3. Failing that, your second best
solution is to dump BDB 4.3 and use BDB 4.2.52+patches.
Principal Software Developer
ITS/Shared Application Services
GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html