[Kroupware] slapcat: could not open database

Dieter Kluenter dieter at dkluenter.de
Wed Sep 10 21:19:06 CEST 2003


Hi,

Klaus Vink Slott <> writes:

> Hello list
>
> Just installed kolab without any problems. I have no prior experience with 
> LDAP so I decided to play around a little with the LDAP data.
>
> Following last page in the manual "Technical Description" I stop the openldap 
> server and as kolab user issue the commands:
>
> kolab at tot$ slapcat -b "dc=kubism,dc=ku,dc=dk"
> slapcat: slap_init no backend for "dc=kubism,dc=ku,dc=dk"
> kolab at tot$ slapcat -b "dc=tot,dc=kubism,dc=ku,dc=dk"
> slapcat: could not open database.
> kolab at tot$ /kolab/sbin/slapcat -l ldif
> slapcat: could not open database.

For obvious reasons the database is owned by root with mod
600. Therefor you have to run slapcat as root.
slpapcat -f /path/to/slapd.conf -l outputfile

-Dieter

-- 
Dieter Kluenter  | Systemberatung
Tel:040.64861967 | Fax: 040.64891521
mailto: dkluenter(at)dkluenter.de
http://www.avci.de



More information about the Kroupware mailing list