Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 12-07-2007, 07:27 AM   #1
LQ Newbie
Registered: Dec 2007
Posts: 8

Rep: Reputation: 0
Ldap Master slave

I configured Ldap in master slave.
I have edited both the slapd file and ldap file of master and slave.
now just tell me how the replication process works.
i had manually copied the ldif files from master database to slave
when i try to add those ldif files in slave i get the following error.

root@client openldap]# slapadd -b "dc=example,dc=com" -v -l root.ldif
slapadd: could not add entry dn="dc=example,dc=com" (line=13): txn_aborted! DB_KEYEXIST: Key/data pair already exists (-30996)
[root@client openldap]# slapadd -b "dc=example,dc=com" -v -l ldapuser.ldif
slapadd: could not add entry dn="dc=example,dc=com" (line=13): txn_aborted! DB_KEYEXIST: Key/data pair already exists (-30996)

only dom_ldap.ldif as been added.That is directory file .

when i try to use ldapsearch command i get the following error.

[root@client ~]# ldapsearch -x -b 'dc=example,dc=com' \
> '(objectclass=*)'
ldap_bind: Can't contact LDAP server (-1)
[root@client ~]#

please tell me how to check the replication.
Old 12-26-2007, 07:26 PM   #2
Registered: Nov 2004
Location: Townsville, Australia
Distribution: Fedora Core 5, CentOS 4, RHEL 4
Posts: 855

Rep: Reputation: 30
I see this is a old thread that no one has really had much to offer any help with so i thought i'd try and just give you a how-to to follow, hopefully it might help.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
LDAP: Can't contact master ldap server rulirahm Linux - Networking 2 07-14-2014 02:02 AM
ldap replication master - slave jadid Linux - Software 2 10-18-2006 11:25 AM
Master and slave? Siiiiiii Linux - Hardware 4 05-27-2006 03:53 PM
Slave to Master? s9722 Linux - General 6 02-23-2004 10:34 PM
Do 2 harddrives have to be Master/Slave? RAL Linux - Newbie 22 08-10-2003 06:32 PM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 05:49 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration