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

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 06-28-2010, 01:59 AM
Member
 
Posts: 10
Default [SOLVED] Ldap replica promoted as master and store still looking for the old master

Release 6.0.6_GA_2330.UBUNTU8_64 UBUNTU8_64 NETWORK edition.

Hi,
To replace a crashed ldap master in a multii server architecture, i've just promoted a replica to be the new master following this how-to: Promoting Replica to LDAP Master 6.0 - Zimbra :: Wiki

All works fine but an error message still remain on the store server:

Jun 28 10:54:53 store1 slapd[16797]: slap_client_connect: URI=ldap://ldap1.domain.com:389 Error, ldap_start_tls failed (-1)

There isn't any reference about ldap1 on the localconfig file.
All seems to be working fine except the pagination of the users administration web gui (can only see the 25th first accounts)

Is there any remaining ldap modification i have to do ?

Thanks in advance
Reply With Quote
  #2 (permalink)  
Old 06-28-2010, 02:45 AM
Member
 
Posts: 10
Default

as i can see when editing the ldap directly on the ldap new master and on the store (that is also ldap embedded) is a new account created on store1 can be seen on ldap new master but not on store1 ldap database.

So store is updating ldap new master but not himself as still trying to reach ldap old master...
Reply With Quote
  #3 (permalink)  
Old 06-28-2010, 05:27 AM
Outstanding Member
 
Posts: 717
Default

I had an issue similar to this, and needed to re-install my commercial ssl certificates.
Not sure if its the same issue you are having, but something to think about.
Reply With Quote
  #4 (permalink)  
Old 06-28-2010, 05:37 AM
Member
 
Posts: 10
Default

First, thanks for your answer.
In fact my problem is that store1 is still asking ldap connection to the old and unused ldap master server.
It should try this connection to the new ldap master server.
All localsettings are set to the new one but slapd still trying to ask the unused ldap server. So the certificates aren't the problem to my mind.
I want to make the store1 asking to new master ldap server but not the old one...
Reply With Quote
  #5 (permalink)  
Old 06-28-2010, 05:46 AM
Outstanding Member
 
Posts: 717
Default

I know you said that there isn't any reference about ldap1 on the localconfig file, but does "zmlocalconfig ldap_master_url ldap_url ldap_host" show ONLY the new master server?

Last edited by Krishopper; 06-28-2010 at 05:47 AM.. Reason: Added ldap_host
Reply With Quote
  #6 (permalink)  
Old 06-28-2010, 05:54 AM
Member
 
Posts: 10
Default

Yes there isn't any references about the wrong/unused server.

I've just sent a search about the oldname within all zimbra files and get it here:
/opt/zimbra/data/ldap/config/cn=config/olcDatabase={2}hdb.ldiflcUpdateRef: ldap://ldap1.domain.com:389

and


/opt/zimbra/data/ldap/config/cn=config/olcDatabase={2}hdb.ldiflcSyncrepl: {0}rid=100 provider=ldap://ldap1.domain.com:389 bindmethod
=simple timeout=0 network-timeout=0 binddn=uid=zmreplica,cn=admins,cn=zimbra
credentials=password starttls=critical filter="(objectclass=*)" searchbase="
" logfilter="(&(objectClass=auditWriteObject)(reqResult=0))" logbase=cn=acces
slog scope=sub schemachecking=off type=refreshAndPersist retry="60 +" syncdat
a=accesslog tls_cacertdir=/opt/zimbra/conf/ca


So i will modify it using vi and will restart the server to see if all is fine after that.
Reply With Quote
  #7 (permalink)  
Old 06-28-2010, 05:57 AM
Outstanding Member
 
Posts: 717
Default

Step 2 c in the Wiki manages that attribute. Perhaps it didn't execute successfully when you went through it.

Be careful about editing those files with vi, as they're meant to be edited with the noted ldapmodify commands.
Reply With Quote
  #8 (permalink)  
Old 06-28-2010, 06:00 AM
Member
 
Posts: 10
Default

OK, that solved my problem...

Dunno why this wasn't updated using the How To, perhaps some element to add in ?
Reply With Quote
  #9 (permalink)  
Old 06-28-2010, 06:04 AM
Member
 
Posts: 10
Default

To be more specific, the /opt/zimbra/data/ldap/config/cn=config/olcDatabase={2}hdb.ldif wasn't updated using the how to you and I mentioned.

Editing the olcSyncrepl: and olcUpdateRef: values manually solved my problem.

Thanks for your interest !
Reply With Quote
  #10 (permalink)  
Old 06-28-2010, 06:12 AM
Zimbra Consultant & Moderator
 
Posts: 20,317
Default

Quote:
Originally Posted by nlebihan View Post
OK, that solved my problem...

Dunno why this wasn't updated using the How To, perhaps some element to add in ?
You should file a bug report if you think that article is missing some information, include all the relevant details of your problem and solution.
__________________
Regards


Bill
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.