Verteiltes Setup - ldap auf anderem Server scheitert

Jan Kowalsky tuxus at notraces.net
Mo Okt 7 22:37:27 CEST 2013


Hallo,

weil wir überlegen, von 2.4 auf kolab 3.0 umzusteigen experimentiere ich 
gerade mit verschiedenen Testsetups. Dabei nutze ich:

kolab 3.0 Repos für Wheezy und testing/development

U.a. versuchte ich, den 389-ds auf einem eigenen Server laufen zu lassen. Dazu 
gibt es unter https://docs.kolab.org/de-
DE/Kolab_Groupware/3.0/html/Community_Installation_Guide/chap-
Community_Installation_Guide-Configuration.html einige Hinweise:

"For non-default or distributed installations, trigger the setup of one or 
more components using setup-kolab <component>. See setup-kolab help for a list 
of components for which configuration is available. "

Allerdings stieß ich auf verschiedene Probleme:
 
Folgendes habe ich versucht:

1. auf einer virtuellen Maschine 389-ds installieren.

#> apt-get install kolab-ldap
#> setup-ds-admin

-> das schlägt fehl wg. 

Error updating console.conf:
/usr/lib/x86_64-linux-gnu/dirsrv/cgi-bin/config: error while loading shared 
libraries: libsoftokn3.so: cannot open shared object file: No such file or 
directory
[13/10/01:12:18:29] - [Setup] Fatal Failed to create and configure the admin 
server
[13/10/01:12:18:29] - [Setup] Fatal Exiting . . .
Log file is '/tmp/setupOtglJc.log'

Bei Installation nur des 389-ds scheint der Bug mit den fehlenden Libraries 
noch nicht behoben zu sein.

Folgendes hilft:

http://kolab.org/blog/milosz-galazka/2013/06/18/kolab-3-and-debian-wheezy-
small-ldap-issue-and-quick-fix

Dann startet der 389-ds


2. Installation von Kolabd

#> apt-get install kolab
#> setup-kolab kolabd

Der Versuch, nach dem Setup  kolabd zu starten schlägt fehl - logisch, weil 
keine Verbindung zum 389-ds.

Nach Editieren der kolab.conf und der Einträge für den ldap-Server startet 
kolabd.

Aber ein Anmelden im kolab-webadmin ist nicht möglich. Offensichtlich fehlen 
auf dem ldap-server die nötigen Einträge und werden nicht automatisch 
installiert, auch wenn es in der Dokumentation heißt:

"loading the Kolab LDAP Schema extenions, and adding the default set of user 
accounts Kolab Groupware requires. "

In der Dokumentation ist weiter zu lesen:

"This component also writes out the Kolab configuration file 
/etc/kolab/kolab.conf, which is used by the other components' setup 
procedures. In case the LDAP component is set up on a separate system, use the 
resulting /etc/kolab/kolab.conf as the setup configuration file for the other 
components. "

https://docs.kolab.org/de-
DE/Kolab_Groupware/3.0/html/Community_Installation_Guide/chap-
Community_Installation_Guide-Configuration.html

Allerdings wird bei mir auf der Maschine, auf der ich nur die kolab-ldap 
Komponente aufsetze, keine kolab.conf generiert.


Hat jemand ähnliche Erfahrungen gemacht - bzw. ein verteiltes Setup zum Laufen 
bekommen? Möglicherweise gehe ich es völlig falsch an. Hat jemand ein paar 
Tips für mich?

Vielen Dank schon mal.

gruß
Jan




Mehr Informationen über die Mailingliste users-de