[Date Prev][Date Next] [Chronological] [Thread] [Top]

replication questions



Hello I am trying to replicate data between 2 systems, but it doesn't seems to be working.I can loginto slave system you the uid I am trying to bind.
here is my setup
 
Master
 
replica host=pcNavYkfSupp1.ykf.navtechinc.com:389
        binddn="cn=replica,ou=ykfPeople,dc=navtechinc,dc=com"
        bindmethod=simple credentials=replica
#        tls=yes
#replogfile  /var/log/slapd.replog
replogfile  /var/lib/ldap/replica/slurpd.replog
 
 
Salve setup
updatedn "cn=replica,ou=ykfPeople,dc=navtechinc,dc=com"
updateref "ldap://pcNavYkfSupp2.navtechinc.com"
 
My ACls on slave
#This is ACL (Access Control List) for Slapd
access to dn=".*,dc=navtechinc,dc=com" attr=userPassword,ntPassword,lmPassword
        by dn="cn=Manager,dc=navtechinc,dc=com" write
        by dn="cn=replica,ou=ukfPeople,dc=navtechinc,dc=com" write
        by self write
        by * auth
access to dn=".*,dc=navtechinc,dc=com" attr=mail
        by dn="cn=Manager,dc=navtechinc,dc=com" write
        by self write
        by * read
#access to dn=".*,dc=navtechinc,dc=com"
#       by dn="cn=replica,dc=navtechinc,dc=com" write
#access to dn=".*,ou=ykf,dc=navtechinc,dc=com"
#       by * read
access to dn=".*,dc=navtechinc,dc=com"
        by self write
        by * read
This is slapd.log on SLAVE , where I can see slurpd, is hitting hard to replicate changes, but
Aug  7 08:20:29 pcNavYkfSupp1 slapd[1368]: ber_get_next on fd 9 failed errno=11 (Resource temporarily unavailable)
Aug  7 08:20:29 pcNavYkfSupp1 slapd[1369]: do_bind
Aug  7 08:20:29 pcNavYkfSupp1 slapd[1369]: do_bind: version=3 dn="cn=replica,ou=ykfPeople,dc=navtechinc,dc=com" method=1
28
Aug  7 08:20:29 pcNavYkfSupp1 slapd[1369]: dn2entry_r: dn: "CN=REPLICA,OU=YKFPEOPLE,DC=NAVTECHINC,DC=COM"
Aug  7 08:20:29 pcNavYkfSupp1 slapd[1369]: => dn2id( "CN=REPLICA,OU=YKFPEOPLE,DC=NAVTECHINC,DC=COM" )
Aug  7 08:20:29 pcNavYkfSupp1 slapd[1369]: => ldbm_cache_open( "/var/lib/ldap/dn2id.gdbm", 34, 600 )
Aug  7 08:20:29 pcNavYkfSupp1 slapd[1369]: <= ldbm_cache_open (cache 0)
Aug  7 08:20:29 pcNavYkfSupp1 slapd[1369]: <= dn2id NOID
Aug  7 08:20:29 pcNavYkfSupp1 slapd[1369]: dn2entry_r: dn: "OU=YKFPEOPLE,DC=NAVTECHINC,DC=COM"
Aug  7 08:20:29 pcNavYkfSupp1 slapd[1369]: => dn2id( "OU=YKFPEOPLE,DC=NAVTECHINC,DC=COM" )
Aug  7 08:20:29 pcNavYkfSupp1 slapd[1369]: ====> cache_find_entry_dn2id("OU=YKFPEOPLE,DC=NAVTECHINC,DC=COM"): 18 (1 trie
s)
Aug  7 08:20:29 pcNavYkfSupp1 slapd[1369]: <= dn2id 18 (in cache)
Aug  7 08:20:29 pcNavYkfSupp1 slapd[1369]: => id2entry_r( 18 )
Aug  7 08:20:29 pcNavYkfSupp1 slapd[1369]: ====> cache_find_entry_id( 18 ) "ou=ykfPeople , dc=navtechinc,dc=com" (found)
 (1 tries)
 
Does this thing rings the bell
Here is how my cn-replica looks like on SLAVE
# replica, ykfPeople, navtechinc, com
dn: uid=replica,ou=ykfPeople,dc=navtechinc,dc=com
objectClass: inetOrgPerson
objectClass: posixAccount
cn: replica
sn: replica
uid: replica
uidNumber: 516
gidNumber: 100
homeDirectory: /home/replica
loginShell: /bin/bash
description: System User
gecos: System replicator
Thanks


Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software