Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Administrators

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 04-20-2009, 02:13 AM
Intermediate Member
 
Posts: 15
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
Reply With Quote
  #2 (permalink)  
Old 04-20-2009, 08:30 PM
Intermediate Member
 
Posts: 15
Default

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

thanks,
jantoy
Reply With Quote
  #3 (permalink)  
Old 04-21-2009, 12:30 AM
Partner (VAR/HSP)
 
Posts: 15
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
Reply With Quote
  #4 (permalink)  
Old 04-21-2009, 12:57 AM
Intermediate Member
 
Posts: 15
Default

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


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.