[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: 'Bad file number' error in openldap2.0.18



Daniel Tiefnig wrote...:

> 
> hi,
> 
> i'm trying to create quite a big database (730.000 mail-users) with
> slapadd of openldap2.0.18. everything seems to be ok until i try to
> search for an entry in the database. slapd -d 65535 gives me
> following error:
> 
> conn=1 op=1 SRCH base="ou=Mail-Users,o=aon,c=at" scope=2 
> filter="(uid=aon.911210135.fax)"
> => ldbm_back_search
> dn2entry_r: dn: "OU=MAIL-USERS,O=AON,C=AT"
> => dn2id( "OU=MAIL-USERS,O=AON,C=AT" )
> => ldbm_cache_open( "/usr/local/openldap/2.0.18/data/dn2id.dbb", 7,
> 600 )
> <= ldbm_cache_open NULL "/usr/local/openldap/2.0.18/data/dn2id.dbb"
> errno=9 reason="Bad file number")
> <= dn2id could not open dn2id.dbb

ok.. i can can obsolete my original posting from this point on now.. the 
problem doesn't seem to be related to bdb at the second view. i tried to 
add exactly the same entries (about 72k) offline with slapadd and online 
with ldapadd, and noticed that i get this error only with slapadd's 
database.
i suspect now that this error may be related to malformatted entries.. 
(i.e. no encoding of "special" characters)

any hint or experience would be appreciated..
daniel