could not connect ldap server

Richard Bos richard at radoeka.nl
Sun Feb 15 12:55:06 CET 2009


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.

-- 
Richard Bos
Without a home the journey is endless




More information about the users mailing list