LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 10-29-2004, 04:42 AM   #1
jadid
LQ Newbie
 
Registered: Apr 2004
Posts: 8

Rep: Reputation: 0
Unhappy ldap replication master - slave


hi all linux gurus


i need your help on replication. i have configure a master and a slave ldap server. then master n slave can communicate using slurpd, how ever every time i insert data into master it won't replicate into slave.

this is the log:

ldap_read: want=1, got=1
0000: 30 0
ldap_read: want=1, got=1
0000: 22 "
ldap_read: want=34, got=34
0000: 02 01 01 60 1d 02 01 03 04 10 63 6e 3d 6d 61 6e ...`......cn=man
0010: 61 67 65 72 32 2c 63 3d 4d 59 80 06 73 65 63 72 ager2,c=MY..secr
0020: 65 74 et
ber_get_next: tag 0x30 len 34 contents:
ber_dump: buf=0x08195a58 ptr=0x08195a58 end=0x08195a7a len=34
0000: 02 01 01 60 1d 02 01 03 04 10 63 6e 3d 6d 61 6e ...`......cn=man
0010: 61 67 65 72 32 2c 63 3d 4d 59 80 06 73 65 63 72 ager2,c=MY..secr
0020: 65 74 et
ber_get_next
ldap_read: want=1 error=Resource temporarily unavailable
ber_get_next on fd 7 failed errno=11 (Resource temporarily unavailable)
do_bind
ber_scanf fmt ({iat) ber:
ber_dump: buf=0x08195a58 ptr=0x08195a5b end=0x08195a7a len=31
0000: 60 1d 02 01 03 04 10 63 6e 3d 6d 61 6e 61 67 65 `......cn=manage
0010: 72 32 2c 63 3d 4d 59 80 06 73 65 63 72 65 74 r2,c=MY..secret
ber_scanf fmt (o}) ber:
ber_dump: buf=0x08195a58 ptr=0x08195a72 end=0x08195a7a len=8
0000: 80 06 73 65 63 72 65 74 ..secret
do_bind: version=3 dn="cn=manager2,c=MY" method=128
==> ldbm_back_bind: dn: cn=manager2,c=MY
dn2entry_r: dn: "CN=MANAGER2,C=MY"
=> dn2id( "CN=MANAGER2,C=MY" )
=> ldbm_cache_open( "dn2id.dbb", 9, 600 )
<= ldbm_cache_open (cache 0)
<= dn2id NOID
dn2entry_r: dn: "C=MY"
=> dn2id( "C=MY" )
====> cache_find_entry_dn2id("C=MY"): 10 (1 tries)
<= dn2id 10 (in cache)
=> id2entry_r( 10 )
====> cache_find_entry_id( 10 ) "c=MY" (found) (1 tries)
<= id2entry_r( 10 ) 0x819eb18 (cache)
====> cache_return_entry_r( 10 ): returned (0)
send_ldap_result: conn=1 op=0 p=3
send_ldap_result: 49::
send_ldap_response: msgid=1 tag=97 err=49
ber_flush: 14 bytes to sd 7
0000: 30 0c 02 01 01 61 07 0a 01 31 04 00 04 00 0....a...1....
ldap_write: want=14, written=14
0000: 30 0c 02 01 01 61 07 0a 01 31 04 00 04 00 0....a...1....
daemon: select: listen=6 active_threads=1 tvp=NULL
daemon: activity on 1 descriptors
daemon: activity on: 7r
daemon: read activity on 7
connection_get(7)
connection_get(7): got connid=1
connection_read(7): checking for input on id=1
ber_get_next
ldap_read: want=1, got=1
0000: 30 0
ldap_read: want=1, got=1
0000: 05 .
ldap_read: want=5, got=5
0000: 02 01 02 42 00 ...B.
ber_get_next: tag 0x30 len 5 contents:
ber_dump: buf=0x0819de48 ptr=0x0819de48 end=0x0819de4d len=5
0000: 02 01 02 42 00 ...B.
ber_get_next
ldap_read: want=1, got=0

ber_get_next on fd 7 failed errno=0 (Success)
connection_read(7): input error=-2 id=1, closing.
connection_closing: readying conn=1 sd=7 for close
connection_close: deferring conn=1 sd=7
do_unbind
connection_resched: attempting closing conn=1 sd=7
connection_close: conn=1 sd=7
daemon: removing 7
daemon: select: listen=6 active_threads=1 tvp=NULL
daemon: activity on 1 descriptors
daemon: select: listen=6 active_threads=0 tvp=NULL

 
Old 10-18-2006, 07:42 AM   #2
jitender.rajpal
LQ Newbie
 
Registered: Sep 2006
Posts: 4

Rep: Reputation: 0
hi,

can u send the config files ?
 
Old 10-18-2006, 11:25 AM   #3
sotob
LQ Newbie
 
Registered: Jan 2006
Posts: 3

Rep: Reputation: 0
A few things to try as well:

Stop LDAP on the primary and on your secondary run an ldapsearch. Do you see good output?

There is an option that you give to test replication on the spot, but I totally forget the syntax, but something that you look into.
 
  


Reply


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
openldap replication master/slave slapd.conf paul_mat Linux - Networking 1 11-30-2005 01:54 PM
Master image replication? rbonafied Mandriva 6 10-05-2005 03:09 PM
Webserver file replication (master and slave) demetri007 Linux - Software 1 08-21-2004 09:07 AM
Ldap Replication Through Nat chrisfirestar Linux - Networking 2 03-02-2004 07:03 PM
Replication of LDap server rockage2001 Linux - Software 0 07-09-2003 11:35 AM


All times are GMT -5. The time now is 01:31 AM.

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