Syncronisation UCS zu Scalix

Hallo,
wir haben seit einigen Monaten UCS und Scalix im Einsatz. Mein Problem ist dass die Syncronisation von UCS zu Scalix manchmal nicht klappt.
Kann mir jemand helfen, wo ich nachschauen soll?
Danke!

Hat den niemand eine Idee?

Hat den niemand ein Tip.

Änderungen in UCS werden nicht zu Scalix syncronisiert.
Ich muss die Syncronisation auf der Scalix-Seite manuell mit omldapsync starten. Dann funktioniert es.
Danke!

Hallo,

dazu gibt es in der Scalix für UCS Dokumentation Informationen im Kapitel 8.2 .
Die Scalix für UCS Dokumentation finden Sie unter folgendem Link:
http://www.univention.de/fileadmin/download/dokumentation_2.0/ucs-scalix.pdf

Zusätzlich zu den dort angegebenen Schritten sollte sichergestellt sein, dass der univention-directory-listener Dienst auf dem Scalix-Server läuft. Informationen zum Status dieses Dienstes finden sich in der Logdatei unter “/var/log/univention/listener.log”

Mit freundlichen Grüßen
Tobias Scherer

Danke für die Antwort.
Es funktioniert aber weiterhin nicht. Ich muss die Syncronisation immer manuell starten.

Der univention-directory-listener ist gestartet.
Hier das Ergebnis von ps aux | grep univention
root 2773 0.0 0.0 112 32 ? Ss Nov14 0:00 runsv univention-management-console-server
root 2774 0.0 0.0 108 28 ? Ss Nov14 0:10 runsv univention-directory-listener
root 3053 0.0 0.2 20360 14032 ? S Nov14 0:00 /usr/bin/python2.4 /usr/sbin/univention-management-console-server -n -d 1 -l de_DE.utf8
nobody 3499 0.0 0.0 3488 904 ? Ss Nov14 0:00 /usr/bin/stunnel -p /etc/univention/ssl/scalix.shnet.sh-gmbh.de/cert_and_key.pem -a /etc/univention/ssl/scalix.shnet.sh-gmbh.de/ -A /etc/univention/ssl/ucsCA/CAcert.pem -s nobody -g nogroup -d 995 -r 110 -P /var/run/stunnel_995_110.pid
nobody 3501 0.0 0.0 3488 904 ? Ss Nov14 0:00 /usr/bin/stunnel -p /etc/univention/ssl/scalix.shnet.sh-gmbh.de/cert_and_key.pem -a /etc/univention/ssl/scalix.shnet.sh-gmbh.de/ -A /etc/univention/ssl/ucsCA/CAcert.pem -s nobody -g nogroup -d 993 -r 143 -P /var/run/stunnel_993_143.pid

Aber in der listener.log wird jede Minute das geschrieben.
24.11.08 13:48:29 DEBUG_INIT
24.11.08 13:48:29 LISTENER ( ERROR ) : connection okay to host ucs02.shnet.sh-gmbh.de
24.11.08 13:48:29 LISTENER ( WARN ) : initializing module mailrelay

Hilft Ihnen das weiter?
Danke!

Hallo,

mit erhöhtem Debug-Level des Univention Direcotry Listener können Sie beobachten, welche Listener Module nach Ihrer Änderung im Univention Directory Manager ausgeführt werden. Das Debug-Level für den Univention Directory Listener muss dazu auf 3 erhöht werden (beachten Sie bitte dass das Debug-Level nach den Tests wieder herabgesetzt werden sollte):

univention-config-registry set listener/debug/level=3 /etc/init.d/univention-directory-listener restart
Wenn Sie anschließend z.B. einen zusätzlichen Benutzer anlegen, sollte eine Zeile wie “handler: scalix-user (successful)” in der Datei /var/log/univention/listener.log erscheinen.
Sollte der Benutzer trotzdem nicht in Scalix angelegt werden, prüfen Sie bitte, wie im Kapitel “Hinweise zur Problemeingrenzung” beschrieben, die Datei /var/log/univention/scalix-sync.log auf eventuelle Fehlermeldungen während der Synchronisation.

Mit freundlichen Grüßen
Janis Meybohm

Es klappt leider nicht. Vielleicht habe ich mein Problem nicht richtig dargestellt.
Sobald ich manuell omldapsync starte werden meine Änderungen von UCS in scalix übernommen.
Ich möchte aber, dass diese Syncronisation automatisch startet sobald ich etwas in UCS verändert habe.
In scalix-sync.log wird nicht reingeschrieben.
Hier mein listener.log
26.11.08 16:21:48 DEBUG_INIT
26.11.08 16:21:48 LISTENER ( INFO ) : Backup found: ucs02.shnet.sh-gmbh.de
26.11.08 16:21:48 LISTENER ( INFO ) : rands with seed 4251119244d
26.11.08 16:21:48 LISTENER ( INFO ) : randval = 1
26.11.08 16:21:48 LISTENER ( INFO ) : LDAP-Server is ucs01.shnet.sh-gmbh.de
26.11.08 16:21:48 LISTENER ( INFO ) : no server given, choose one by myself (ucs01.shnet.sh-gmbh.de)
26.11.08 16:21:48 LDAP ( INFO ) : connecting to ldap://ucs01.shnet.sh-gmbh.de:389/
26.11.08 16:21:48 LDAP ( INFO ) : simple_bind as cn=scalix01,cn=memberserver,cn=computers,dc=shnet,dc=sh-gmbh,dc=de
26.11.08 16:21:48 LISTENER ( INFO ) : connecting to notifier ucs01.shnet.sh-gmbh.de
26.11.08 16:21:48 LISTENER ( ERROR ) : connection okay to host ucs01.shnet.sh-gmbh.de
26.11.08 16:21:48 LISTENER ( INFO ) : Could not open lock file [/var/lib/univention-directory-listener/cache.db.lock]
26.11.08 16:21:48 LISTENER ( INFO ) : importing handler /usr/lib/univention-directory-listener/system/mailrelay.py
26.11.08 16:21:48 LISTENER ( INFO ) : Load file /usr/lib/univention-directory-listener/system/mailrelay.py
26.11.08 16:21:48 LISTENER ( INFO ) : importing handler /usr/lib/univention-directory-listener/system/gencertificate.py
26.11.08 16:21:48 LISTENER ( INFO ) : Load file /usr/lib/univention-directory-listener/system/gencertificate.py
26.11.08 16:21:48 LISTENER ( INFO ) : importing handler /usr/lib/univention-directory-listener/system/keytab.py
26.11.08 16:21:48 LISTENER ( INFO ) : Load file /usr/lib/univention-directory-listener/system/keytab.py
26.11.08 16:21:48 LISTENER ( INFO ) : importing handler /usr/lib/univention-directory-listener/system/homedirs.py
26.11.08 16:21:48 LISTENER ( INFO ) : Load file /usr/lib/univention-directory-listener/system/homedirs.py
26.11.08 16:21:48 LISTENER ( INFO ) : importing handler /usr/lib/univention-directory-listener/system/samba-shares.py
26.11.08 16:21:48 LISTENER ( INFO ) : Load file /usr/lib/univention-directory-listener/system/samba-shares.py
26.11.08 16:21:48 LISTENER ( INFO ) : importing handler /usr/lib/univention-directory-listener/system/nagios-client.py
26.11.08 16:21:48 LISTENER ( INFO ) : Load file /usr/lib/univention-directory-listener/system/nagios-client.py
26.11.08 16:21:48 LISTENER ( INFO ) : importing handler /usr/lib/univention-directory-listener/system/ldap_server.py
26.11.08 16:21:48 LISTENER ( INFO ) : Load file /usr/lib/univention-directory-listener/system/ldap_server.py
26.11.08 16:21:48 LISTENER ( INFO ) : importing handler /usr/lib/univention-directory-listener/system/nfs-shares.py
26.11.08 16:21:48 LISTENER ( INFO ) : Load file /usr/lib/univention-directory-listener/system/nfs-shares.py
26.11.08 16:21:48 LISTENER ( INFO ) : importing handler /usr/lib/univention-directory-listener/system/scalix-user.py
26.11.08 16:21:48 LISTENER ( INFO ) : Load file /usr/lib/univention-directory-listener/system/scalix-user.py
26.11.08 16:21:48 LISTENER ( WARN ) : initializing module mailrelay
26.11.08 16:21:48 LISTENER ( INFO ) : call handler_clean for module mailrelay
26.11.08 16:21:48 LISTENER ( INFO ) : call handler_initialize for module mailrelay
26.11.08 16:21:48 LISTENER ( INFO ) : remove old entries for module mailrelay
26.11.08 16:22:48 DEBUG_INIT
26.11.08 16:22:48 LISTENER ( INFO ) : Backup found: ucs02.shnet.sh-gmbh.de
26.11.08 16:22:48 LISTENER ( INFO ) : rands with seed 3073029024d
26.11.08 16:22:48 LISTENER ( INFO ) : randval = 0
26.11.08 16:22:48 LISTENER ( INFO ) : LDAP-Server is ucs02.shnet.sh-gmbh.de
26.11.08 16:22:48 LISTENER ( INFO ) : no server given, choose one by myself (ucs02.shnet.sh-gmbh.de)
26.11.08 16:22:48 LDAP ( INFO ) : connecting to ldap://ucs02.shnet.sh-gmbh.de:389/
26.11.08 16:22:48 LDAP ( INFO ) : simple_bind as cn=scalix01,cn=memberserver,cn=computers,dc=shnet,dc=sh-gmbh,dc=de
26.11.08 16:22:48 LISTENER ( INFO ) : connecting to notifier ucs02.shnet.sh-gmbh.de
26.11.08 16:22:48 LISTENER ( ERROR ) : connection okay to host ucs02.shnet.sh-gmbh.de
26.11.08 16:22:48 LISTENER ( INFO ) : Could not open lock file [/var/lib/univention-directory-listener/cache.db.lock]
26.11.08 16:22:48 LISTENER ( INFO ) : importing handler /usr/lib/univention-directory-listener/system/mailrelay.py
26.11.08 16:22:48 LISTENER ( INFO ) : Load file /usr/lib/univention-directory-listener/system/mailrelay.py
26.11.08 16:22:49 LISTENER ( INFO ) : importing handler /usr/lib/univention-directory-listener/system/gencertificate.py
26.11.08 16:22:49 LISTENER ( INFO ) : Load file /usr/lib/univention-directory-listener/system/gencertificate.py
26.11.08 16:22:49 LISTENER ( INFO ) : importing handler /usr/lib/univention-directory-listener/system/keytab.py
26.11.08 16:22:49 LISTENER ( INFO ) : Load file /usr/lib/univention-directory-listener/system/keytab.py
26.11.08 16:22:49 LISTENER ( INFO ) : importing handler /usr/lib/univention-directory-listener/system/homedirs.py
26.11.08 16:22:49 LISTENER ( INFO ) : Load file /usr/lib/univention-directory-listener/system/homedirs.py
26.11.08 16:22:49 LISTENER ( INFO ) : importing handler /usr/lib/univention-directory-listener/system/samba-shares.py
26.11.08 16:22:49 LISTENER ( INFO ) : Load file /usr/lib/univention-directory-listener/system/samba-shares.py
26.11.08 16:22:49 LISTENER ( INFO ) : importing handler /usr/lib/univention-directory-listener/system/nagios-client.py
26.11.08 16:22:49 LISTENER ( INFO ) : Load file /usr/lib/univention-directory-listener/system/nagios-client.py
26.11.08 16:22:49 LISTENER ( INFO ) : importing handler /usr/lib/univention-directory-listener/system/ldap_server.py
26.11.08 16:22:49 LISTENER ( INFO ) : Load file /usr/lib/univention-directory-listener/system/ldap_server.py
26.11.08 16:22:49 LISTENER ( INFO ) : importing handler /usr/lib/univention-directory-listener/system/nfs-shares.py
26.11.08 16:22:49 LISTENER ( INFO ) : Load file /usr/lib/univention-directory-listener/system/nfs-shares.py
26.11.08 16:22:49 LISTENER ( INFO ) : importing handler /usr/lib/univention-directory-listener/system/scalix-user.py
26.11.08 16:22:49 LISTENER ( INFO ) : Load file /usr/lib/univention-directory-listener/system/scalix-user.py
26.11.08 16:22:49 LISTENER ( WARN ) : initializing module mailrelay
26.11.08 16:22:49 LISTENER ( INFO ) : call handler_clean for module mailrelay
26.11.08 16:22:49 LISTENER ( INFO ) : call handler_initialize for module mailrelay
26.11.08 16:22:49 LISTENER ( INFO ) : remove old entries for module mailrelay

Hilft Ihnen das weiter?
Danke!

Hallo,

in dem von Ihnen geposteten /var/log/univention/listener.log ist leider kein Hnweis auf die Fehlerursache zu entnehmen. Haben Sie mit erhöhtem Debug-Level auch einen Scalix Testbenutzer angelegt? Darauf sind in Ihrem Log-Auszug keine Hinweise zu erkennen. Falls noch nicht geschehen, können Sie dies bitte einmal nachholen und anschließend erneut die /var/log/univention/listener.log prüfen.

Außerdem wäre es noch hilfreich die Ausgabe des folgenden Befehls zu erfahren: dpkg -l "*scalix*"

Mit freundlichen Grüßen
Murat Odabas

Jetzt habe den Debuglevel erhöht und einen neuen Testuser in UCS angelegt es wurde aber nicht zu Scalix syncronisiert.

Hier mein listener.log
28.11.08 08:57:03 DEBUG_INIT
28.11.08 08:57:03 LISTENER ( INFO ) : Backup found: ucs02.shnet.sh-gmbh.de
28.11.08 08:57:03 LISTENER ( INFO ) : rands with seed 91884116d
28.11.08 08:57:03 LISTENER ( INFO ) : randval = 1
28.11.08 08:57:03 LISTENER ( INFO ) : LDAP-Server is ucs01.shnet.sh-gmbh.de
28.11.08 08:57:03 LISTENER ( INFO ) : no server given, choose one by myself (ucs01.shnet.sh-gmbh.de)
28.11.08 08:57:03 LDAP ( INFO ) : connecting to ldap://ucs01.shnet.sh-gmbh.de:389/
28.11.08 08:57:03 LDAP ( INFO ) : simple_bind as cn=scalix01,cn=memberserver,cn=computers,dc=shnet,dc=sh-gmbh,dc=de
28.11.08 08:57:03 LISTENER ( INFO ) : connecting to notifier ucs01.shnet.sh-gmbh.de
28.11.08 08:57:03 LISTENER ( ERROR ) : connection okay to host ucs01.shnet.sh-gmbh.de
28.11.08 08:57:03 LISTENER ( INFO ) : Could not open lock file [/var/lib/univention-directory-listener/cache.db.lock]
28.11.08 08:57:03 LISTENER ( INFO ) : importing handler /usr/lib/univention-directory-listener/system/mailrelay.py
28.11.08 08:57:03 LISTENER ( INFO ) : Load file /usr/lib/univention-directory-listener/system/mailrelay.py
28.11.08 08:57:03 LISTENER ( INFO ) : importing handler /usr/lib/univention-directory-listener/system/gencertificate.py
28.11.08 08:57:03 LISTENER ( INFO ) : Load file /usr/lib/univention-directory-listener/system/gencertificate.py
28.11.08 08:57:03 LISTENER ( INFO ) : importing handler /usr/lib/univention-directory-listener/system/keytab.py
28.11.08 08:57:03 LISTENER ( INFO ) : Load file /usr/lib/univention-directory-listener/system/keytab.py
28.11.08 08:57:03 LISTENER ( INFO ) : importing handler /usr/lib/univention-directory-listener/system/homedirs.py
28.11.08 08:57:03 LISTENER ( INFO ) : Load file /usr/lib/univention-directory-listener/system/homedirs.py
28.11.08 08:57:04 LISTENER ( INFO ) : importing handler /usr/lib/univention-directory-listener/system/samba-shares.py
28.11.08 08:57:04 LISTENER ( INFO ) : Load file /usr/lib/univention-directory-listener/system/samba-shares.py
28.11.08 08:57:04 LISTENER ( INFO ) : importing handler /usr/lib/univention-directory-listener/system/nagios-client.py
28.11.08 08:57:04 LISTENER ( INFO ) : Load file /usr/lib/univention-directory-listener/system/nagios-client.py
28.11.08 08:57:04 LISTENER ( INFO ) : importing handler /usr/lib/univention-directory-listener/system/ldap_server.py
28.11.08 08:57:04 LISTENER ( INFO ) : Load file /usr/lib/univention-directory-listener/system/ldap_server.py
28.11.08 08:57:04 LISTENER ( INFO ) : importing handler /usr/lib/univention-directory-listener/system/nfs-shares.py
28.11.08 08:57:04 LISTENER ( INFO ) : Load file /usr/lib/univention-directory-listener/system/nfs-shares.py
28.11.08 08:57:04 LISTENER ( INFO ) : importing handler /usr/lib/univention-directory-listener/system/scalix-user.py
28.11.08 08:57:04 LISTENER ( INFO ) : Load file /usr/lib/univention-directory-listener/system/scalix-user.py
28.11.08 08:57:04 LISTENER ( WARN ) : initializing module mailrelay
28.11.08 08:57:04 LISTENER ( INFO ) : call handler_clean for module mailrelay
28.11.08 08:57:04 LISTENER ( INFO ) : call handler_initialize for module mailrelay
28.11.08 08:57:04 LISTENER ( INFO ) : remove old entries for module mailrelay

Hier die Ausgabe von dpkg -l “scalix
root@scalix:~# dpkg -l “scalix
Gewünscht=Unbekannt/Installieren/R=Entfernen/P=Säubern/Halten
| Status=Nicht/Installiert/Config/U=Entpackt/Fehlgeschl. Konf./Halb install.
|/ Fehler?=(kein)/Halten/R=Neuinst notw/X=beide (Status, Fehler: GROSS=schlecht)
||/ Name Version Beschreibung
++±=================================-=================================-==================================================================================
ii scalix-chardet 1.0.20071031-2 Scalix Character Set Detector
ii scalix-libical 0.27.20071008-1 libical library for manipulating iCalendar data
ii scalix-mobile 11.4.1.881 Scalix Mobile Web Client
ii scalix-platform 11.4.1.2101 Scalix Messaging Services
ii scalix-postgres 11.4.1.2101 Scalix scripts for PostgreSQL
ii scalix-res 11.4.1.4518 A Remote Execution Service for Scalix Messaging Servers
ii scalix-sac 11.4.1.4518 The Ubermanager component of the Scalix Administrative Console System
un scalix-server (keine Beschreibung vorhanden)
ii scalix-sis 11.4.1.1051 Scalix Search and Index Services
ii scalix-swa 11.4.1.11600 Scalix Web Access
ii scalix-text-extractors 1.0-2 Helper programs to extract text from a variety of formats
ii scalix-tomcat 5.5.25-415 Apache Tomcat is the servlet container that is used in the
ii scalix-tomcat-connector 11.4.1.905 Module for connecting Tomcat and Apache via the AJPv13 protocol.
ii scalix-univention-server 11.4.1.11929 Scalix-server is an enterprise class messaging server
un univention-admin-scalix (keine Beschreibung vorhanden)
ii univention-scalix 2.0.1-1.174.200808142226 univention package for installation of scalix groupware

Hilft Ihnen das weiter?

Gruß
Harun Bozkurt

Hallo,

aus der von Ihnen geposteten /var/log/univention/listener.log ist kein Hinweis zur Erstellung einen Scalix Benutzers zu entnehmen. Haben Sie bei der Erstellung eines Testbenutzers im Univention Directory Manager die Option “Scalix-Objekt” gesetzt und eine primäre E-Mail Adresse vergeben? Falls dem nicht so ist, holen Sie dies bitte nach und prüfen Sie erneut die /var/log/univention/listener.log nach Meldungen.

Mit freundlichen Grüßen
Murat Odabas

Ich frage einfachmal so, reden wir die ganze Zeit über den listener.log auf dem Scalixserver oder den auf dem UCS?
Gruß

Harun Bozkurt

Hallo,

in diesem Fall sind die Log-Dateien /var/log/univention/listener.log und /var/log/univention/scalix-sync.log auf dem Scalix-Server zu prüfen. Außerdem wäre es hilfreich zu erfahren auf was für einer UCS Systemrolle der Scalix-Server installiert ist? Desweiteren ist aus Ihren Postings zu erkennen, das der Scalix-Server im LDAP als “cn=scalix01” angelegt ist, der Hostname allerdings “scalix” lautet. Wurde der Hostname des Scalix-Servers nachträglich geändert?

Mit freundlichen Grüßen
Murat Odabas

Mastodon