Menu

Connecting DataSync with Zimbra

Developers
tigga arts
2009-11-03
2013-04-02
  • tigga arts

    tigga arts - 2009-11-03

    Hello
    First of all I want to say that DataSync is a great solution and it have many potential, but sadly it have poor documentation, hope that it will change in the future.

    Now to the problem;

    First I installed DataSync1.1.4 on Ubuntu8.04, but I couldn't started because of  missing module (synchronizer) wich I've installed from **/root/datasync-suite/lib/synchronizer**, but nothing happen I always have **An error occured on the server** over the login boxes when I try to login with  *admin@domain.com  secret*  .

    Then I installed DataSync1.0.0 also on Ubuntu8.04 and I managed to complete the installation and login with the default user admin@dmain.com. **But** I couldn't connect my zimbra to the datasync, I've followed this tutorial  , but I didn't understand the second section

    > 2- Locate the cn=zimbrauser,cn=extensions,cn=suitepy entry

    Should I add this entry into suite.yml file or should I modify **/opt/datasync-suite/ldap/datasyncsuite-base.ldif** and **/opt/datasync-suite/ldap/org-base.ldif** were I found this entry ?

    Also Ididn't understand some of the option when creating an instance.
    Here is the options that I have trouble with (options that have ?)

    **root@dataSync:/opt/datasync-suite/bin#** ./instance add

    **Extension Name:** zimbrauser

    **Instance Name:** zimbra

    **Zimbra Admin Username:** admin

    **MessageQueue WaitSet Channel:** ?

    **Database Username:** ? (which database)

    **Database Password:**  ?

    **Sync Folder Path:**  ?

    **MessageQueue Username:** ?

    **MessageQueue Record Changes Channel:** ?

    **Instance Name:** ?

    **MessageQueue Password:** ?

    **Zimbra Mailbox Host:** 192.168.1.207

    **Database Name:** ?

    **Database Host:**  ?

    **MessageQueue URL:** ?

    **Ldap Host (From the perspective of the Zimbra host):** 192.168.1.207

    **Zimbra Admin Port:** 7071

    **Zimbra Admin Password:** ****

    **Zimbra Mailbox Port:** 80

    Finally here is what happens, when I configured Datasync as motioned in the above link, I became unable to login with the newly created user test@domain.com which have zimbauser as a context, and I have in the output the datasync loading picture that stay for ever.

    I appreciate any advice , and thanks in advance.

      : http://wiki.datasyncsuite.com/ZZimbraInstructions

     
  • Imagem & Movimento

    With version 1.1.0 there is an error (cant cd ./plugins).

    With 1.1.4 version, the ./install.sh stop just after stoping and starting slapd.

    None error messages is issued on terminal.
    in my terminal this is the last lines issued by your script:<br>
    …<br>
    Installed /usr/lib/python2.5/site-packages/DatasyncSuiteKnowledgeTree-0.1-py2.5.egg<br>
    Processing dependencies for DatasyncSuiteKnowledgeTree==0.1<br>
    Finished processing dependencies for DatasyncSuiteKnowledgeTree==0.1<br>
    Stopping OpenLDAP: slapd.<br>
    Starting OpenLDAP: slapd.<br>
    root@zimgar:~/datasync-suite-1.1.4#

    then when i run /opt/datasync-suite/bin/datasyncsuite start:<br>

    root@zimgar:~/datasync-suite-1.1.4# /opt/datasync-suite/bin/datasyncsuite start
    Starting OpenLDAP: slapd.
    Traceback (most recent call last):
      File "/opt/datasync-suite/bin/mq", line 101, in <module>
        processParams()
      File "/opt/datasync-suite/bin/mq", line 53, in processParams
        config = yaml.load(open("/opt/datasync-suite/etc/messagequeue.yml"))
    IOError:  No such file or directory: '/opt/datasync-suite/etc/messagequeue.yml'
    Traceback (most recent call last):
      File "/opt/datasync-suite/bin/portal", line 66, in <module>
        processParams()
      File "/opt/datasync-suite/bin/portal", line 41, in processParams
        root.extensions = Extensions()
      File "build/bdist.linux-x86_64/egg/suitepy/portal.py", line 49, in __init__
      File "build/bdist.linux-x86_64/egg/suitepy/extensions.py", line 51, in items
      File "build/bdist.linux-x86_64/egg/suitepy/extensions.py", line 34, in __gather
      File "/usr/lib/python2.5/site-packages/setuptools-0.6c11-py2.5.egg/pkg_resources.py", line 1954, in load
      File "build/bdist.linux-x86_64/egg/sugar/dataadapter.py", line 7, in <module>
    ImportError: No module named synchronizer.errors
    Traceback (most recent call last):
      File "/opt/datasync-suite/bin/zimbrawaitset", line 4, in <module>
        from synchronizer.servicecontainer import ServiceContainer
    ImportError: No module named synchronizer.servicecontainer
    Traceback (most recent call last):
      File "/opt/datasync-suite/bin/suite-services", line 4, in <module>
        from synchronizer.servicecontainer import ServiceContainer
    ImportError: No module named synchronizer.servicecontainer

    When i attempt to access http://portal.mydomain with admin@mydomain.com with password secret, the browser report this error:

    An error occured on the server

    I am using a clean installation of ubuntu 8.04 LTS 64 bits.

    Thanks in advance.

    This tool will be an incredible tool for my corporative clients.

    Great job.

     
  • tigga arts

    tigga arts - 2009-11-10

    Hi, I advise you to use the 1.0.0, because i think that the 1.1.4has a bug or something. any way to try to fix this problem do a **find / -name synchronizer**, then when you find a directory with this name under where you extracted the tarball, search for a python script named **setup.py**, then do a **python seteup.py install**,  and about not finding **/opt/datasync-suite/etc/messagequeue.yml** just change the name of the file **/opt/datasync-suite/etc/messagequeue.yml.in** to become **/opt/datasync-suite/etc/messagequeue.yml** .

     
  • Ivan Ven Osdel

    Ivan Ven Osdel - 2009-12-02

    If you don't require synchronization features, 1.0.0 should work fine. Synchronization was added with 1.1.4 which does add to the setup process significantly. Simply because of the extra configuration required for each new synchronization process.

    If you would like to get the suite working with Synchronization between Sugar and Zimbra, I suggest trying again with the newer version. There were numerous, documentation and installation improvements over 1.1.4.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.