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

RE: dn2id could not open dn2id.dbb



Yes.  I've unmounted the partition, fsck'ed it.  Rebuilt the indexes.
Actually, 
I've even rebuilt Berkeley DB 2.7.7 and OpenLDAP v1.2.9 just to be extra
safe.  
Is it possible that this kind of error could be caused by a weird naming
scheme, 
or is this just a DB problem?

-Andrew

-----Original Message-----
From: Neil Hunter [mailto:neil.hunter@theplanet.net]
Sent: Monday, April 03, 2000 1:13 AM
To: Andrew Kornuta
Cc: OpenLDAP-software
Subject: RE: dn2id could not open dn2id.dbb


On Fri, 31 Mar 2000, Andrew Kornuta wrote:

> I'm running slapd as root.  It's definitely not a permissions issue.
Here's
> the output 
> from slapd after running this query: ldapsearch -D "uid=admin, o=Digital
> Insight" -w passwd -b "rtn=987654321,o=Digital Insight" -s sub
> "rtn=98765432321"
> 
> => ldbm_cache_open( "/usr/local/ldbmdir/id2entry.dbb", 7, 600 )
> <= ldbm_cache_open NULL "/usr/local/ldbmdir/id2entry.dbb" errno 9 reason
> "Bad file number")
> Could not open id2entry.dbb

There looks to be some sort of problem with the id2entry file - have you
tried
deleting and rebuilding the indexes? Perhaps run a filesystem check as well
just to be on the safe side...

Cheers,
  Neil

----------------------------------------------------------------------------
---
  Neil Hunter                                     Tel:    +44 (0)113 234
6073
  Internet Systems Developer                      Fax:    +44 (0)113 234
6065
  Planet Online Limited                           Mobile: +44 (0)7787 100
649
----------------------------------------------------------------------------
---