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

slapcat cannot open database - why?



Hi!

I use OpenLDAP 2.0.7 on an UltraSparc with Solaris 2.7and it seems to
do everything I need.
Now I tried to make a textual backup of the database using slapcat,
but this gives me the following error message:

    slapcat: could not open database.

So I tried slapcat -d-1 and got much more output (especially config
file parsing).  The interesting part seems to be at the end:

slapcat startup: initiated.
backend_startup: starting database
=> ldbm_cache_open( "/usr/local/openldap2/var/openldap-ldbm/id2entry.gdbm", 
                     16, 600 )
<= ldbm_cache_open NULL "/usr/local/openldap2/var/openldap-ldbm/id2entry.gdbm"
                        errno=11 reason="unknown")
Could not open/create id2entry.gdbm
slapcat: could not open database.

But why is slapcat not able to open the database?  slapd doesn't seem
to have problems with it and the above mentioned file is there:

-rw-------   1 root     other    26329568 Jan 17 12:22 
                        /usr/local/openldap2/var/openldap-ldbm/id2entry.gdbm

Any idea, what's going wrong here? What does "errno=11" mean?

Tschoeeee

        Roland