Results 1 to 4 of 4

Thread: [SOLVED] Promoting/Demoting LDAP Server Problem

  1. #1
    jant0y is offline Intermediate Member
    Join Date
    Apr 2009
    Location
    Philippines
    Posts
    15
    Rep Power
    6

    Default [SOLVED] Promoting/Demoting LDAP Server Problem

    Hello guys,

    I need help with promoting replica and demoting master servers.
    according to the guide, i should stop all servers and then locate these lines in slapd.conf.in in replica server and delete it

    Code:
        syncrepl rid=100
        provider=ldap://mail.zimbra.asi.com:389
        retry="60 +"
        type=refreshAndPersist
        schemachecking=off
        searchbase=""
        bindmethod=simple
        binddn=uid=zmreplica,cn=admins,cn=zimbra
        credentials=@@ldap_replication_password@@
        starttls=critical
        logbase="cn=accesslog"
        logfilter="(&(objectClass=auditWriteObject)(reqResult=0))"
        syncdata="accesslog"
        updateref  ldap://mail.zimbra.asi.com:389
    did i delete the correct lines?

    then after that, i should edit the local config files

    Code:
    zmlocalconfig –e ldap_master_url= mail2.zimbra.asi.com
    zmlocalconfig –e ldap_url= mail2.zimbra.asi.com
    zmlocalconfig –e ldap_is_master= true
    are these commands correct?

    then i should change the ldap host

    Code:
    zmlocalconfig –e ldap_host= mail2.zimbra.asi.com
    is this right?

    and then run zmmtainit

    Code:
    /opt/zimbra/libexec/zmmtainit XX
    finally start zimbra right?

    i get this error whenever i start zimbra

    Code:
    daemon: listen URL "mail2.zimbra.asi.com" parse error=3
    what am i doing wrong? pls help

  2. #2
    jant0y is offline Intermediate Member
    Join Date
    Apr 2009
    Location
    Philippines
    Posts
    15
    Rep Power
    6

    Default

    guys, any solution for this? i still have the same problem.. pls help

    thanks,
    jantoy

  3. #3
    sktwolf is offline Partner (VAR/HSP)
    Join Date
    Oct 2007
    Location
    Paris
    Posts
    15
    Rep Power
    7

    Default

    the correct format for the commands are :

    zmlocalconfig –e ldap_master_url=ldap://mail2.zimbra.asi.com:389
    zmlocalconfig –e ldap_url=ldap://mail2.zimbra.asi.com:389

  4. #4
    jant0y is offline Intermediate Member
    Join Date
    Apr 2009
    Location
    Philippines
    Posts
    15
    Rep Power
    6

    Default

    thanks a lot sktwolf. that was all i needed to do to make it work

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Error after installation
    By robsontuxlinux in forum Installation
    Replies: 13
    Last Post: 09-11-2008, 09:48 PM
  2. [SOLVED] Why my MTA Cross???
    By fsloke in forum Installation
    Replies: 6
    Last Post: 07-30-2008, 08:55 PM
  3. Replies: 8
    Last Post: 11-28-2007, 11:44 PM
  4. 3 testing: LDAP: 389 Failed when restore zimbra
    By victorLeong in forum Administrators
    Replies: 15
    Last Post: 05-24-2007, 06:45 AM
  5. 3.0 to 4.5.3 Upgrade failed (mysql error)
    By dealt in forum Installation
    Replies: 35
    Last Post: 03-19-2007, 10:30 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •