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 05-12-2009, 10:14 AM
Active Member
 
Posts: 49
Default [SOLVED] Doc Problem with LDAP Replica Uninstall?

Was uninstalling an LDAP replica on my test system before doing production using the multi-server install guide as a ref. I think there may be a typo there that could cause a subsequent ldap stop/start to bomb.

My test ldap had replication enabled based on what i found in slapd.conf, although there never actually was a replica. I made the edits to slapd.conf per the guide and all seemed ok, the ldap stop/start worked ok. I never checked slapd.conf or I would have seen that my edits got overwritten and the master was still enabled for replication. But a few days later I restarted the test server w/ldap on it and slapd didn't start. Took me bit to figure it out because the slapd error message returned is mostly associates with db corruption or permissions problems in the forums.

If you follow the multi-guide to remove a replica, all appears fine but the master may still config'd for replication because edits should be to slapd.conf.in, not slapd.conf. And the next step in the guide, deleting accesslog dir, creates a situation where the next ldap stop/start will fail because the repilcation-enabled master looks for accesslog.

So basically if your slapd.conf.in is set up for replication and you follow the multi-server guide to uninstall a replica, the second ldap stop/start after uninstalling the replica goes bang! and you get

[zimbra@email1o conf]$ ldap stop;ldap start
slapd not running
Failed to start slapd. Attempting debug start to determine error.
backend_startup_one: bi_db_open failed! (-1)

I looked for a bugzilla on this, is that where doc RFE's are ?
Reply With Quote
  #2 (permalink)  
Old 05-12-2009, 10:57 AM
Moderator
 
Posts: 6,236
Default

Good catch, gets filed under component 'tech docs.'

However, when you enter it make a note that it's just for previous doc consistency on /community/documentation_previous_releases.html as there there's an upcoming Bug 36174 - Doc updates for LDAP in GnR
Quote:
Originally Posted by quanah
The following references to "slapd.conf" need to be fixed, as it no longer exists in GnR.
Administrators guide -- "ldap_root_password" description
Multi-server admin guide -- "Disable LDAP replication on the Master server" There is no option to disable replication at this time, and there is no slapd.conf to edit.
Quote:
Originally Posted by mmorse
OpenLDAP now allows for some on-the-fly configuration changes with zmlocalconfig via a cn=config backend instead of slapd.conf text files for preservation across upgrades.
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.