could not connect ldap server

Albert Cervera i Areny albert at nan-tic.com
Wed Feb 18 02:13:05 CET 2009


A Diumenge 15 Febrer 2009, Richard Bos va escriure:
> Op zondag 15 februari 2009 12:39:28 schreef Albert Cervera i Areny:
> > Hi,
> > I installed kolab on a Debian Lenny server and got the error "could not
> > connect ldap server" in kolab_bootstrap.
> >
> > In order to make it work I comented line #469:
> >
> > #(system("/kolab/libexec/openldap/slapd -h
> > ldap://127.0.0.1:389/ -f /kolab/etc/openldap/slapd.conf -u kolab -g
> > kolab") == 0 ) || die( "Could not start temporary slapd: $!" );
> >
> > and replaced it with:
> >
> > (system("/kolab/bin/openpkg rc openldap start") == 0 ) || die( "Could not
> > start temporary slapd: $!" );
>
> That will only work on openpkg based installations.  Hence this isn't a
> general solution.  What is the result of adding -d 255 to the slapd
> command? It gives you lot of debug output... Hopefully it reveals the
> error.

Here is the output:

Enter fully qualified hostname of slave kolab server e.g. thishost.domain.tld 
[empty when done]:
prepare LDAP database...
temporarily starting slapd
chown: cannot access `/kolab/var/openldap/openldap-data/*': No such file or 
directory
Could not start temporary slapd:  at /kolab/etc/kolab/kolab_bootstrap line 
470.



-- 
Albert Cervera i Areny
http://www.NaN-tic.com




More information about the users mailing list