i try to do single master replication i use redhat documention , but when i try to initialize consumer i have: " replication error acquiring replica: permisssion denied.Error code: 3 " and on the consumer : " NSMMReplicationPlugin - conn =2 op=5 replica "dc=mysite,dc=fr" unable to acquire replica: error ; permission denied " the database i want to replique is read only on the consumer if someone has got an idea , i try many things , read many time the redhat manual but it don t work thanks basile
Hello Basile. That error happens when a replication agreement is created on the master with a bind DN that is not configured as one of the "Current Supplier DNs" in the consumer''s replica configuration. There is probably a more verbose message in your master''s errors log in this case. basile au siris wrote:> i try to do single master replication > i use redhat documention , but when i try to initialize consumer > i have: " replication error acquiring replica: permisssion > denied.Error code: 3 " > and on the consumer : > " NSMMReplicationPlugin - conn =2 op=5 replica "dc=mysite,dc=fr" > unable to acquire replica: error ; permission denied " > > the database i want to replique is read only on the consumer > if someone has got an idea , i try many things , read many time the > redhat manual but > it don t work > thanks > basile > > -- > Fedora-directory-users mailing list > Fedora-directory-users@redhat.com > https://www.redhat.com/mailman/listinfo/fedora-directory-users
basile au siris
2005-Nov-14 11:02 UTC
Re: [Fedora-directory-users] probleme with replication
hi i may have find what was wrong , i don t use on the consumer enable legacy consumer , and then replication seems to start but server on the consummer stop here are the logs : consumer : NSMMReplicationPlugin - multimaster_be_state_change: replica dc=siris,dc=sorbonne,dc=fr is going offline; disabling replication [14/Nov/2005:11:28:35 +0100] - WARNING: Import is running with nsslapd-db-private-import-mem on; No other process is allowed to access the database [14/Nov/2005:11:28:40 +0100] - import userRoot: Workers finished; cleaning up... [14/Nov/2005:11:28:43 +0100] - import userRoot: Workers cleaned up. [14/Nov/2005:11:28:43 +0100] - import userRoot: Indexing complete. Post-processing... [14/Nov/2005:11:28:43 +0100] - import userRoot: Flushing caches... [14/Nov/2005:11:28:43 +0100] - import userRoot: Closing files... [14/Nov/2005:11:28:46 +0100] - import userRoot: Import complete. Processed 3171 entries in 11 seconds. (288.27 entries/sec) [14/Nov/2005:11:28:46 +0100] NSMMReplicationPlugin - multimaster_be_state_change: replica dc=siris,dc=sorbonne,dc=fr is coming online; enabling replication [14/Nov/2005:11:31:20 +0100] - Fedora-Directory/7.1 B2005.146.2010 starting up [14/Nov/2005:11:31:20 +0100] - Detected Disorderly Shutdown last time Directory Server was running, recovering database. [14/Nov/2005:11:35:19 +0100] - Fedora-Directory/7.1 B2005.146.2010 starting up [14/Nov/2005:11:35:21 +0100] - Detected Disorderly Shutdown last time Directory Server was running, recovering database. [14/Nov/2005:11:41:39 +0100] - Fedora-Directory/7.1 B2005.146.2010 starting up [14/Nov/2005:11:41:40 +0100] - Detected Disorderly Shutdown last time Directory Server was running, recovering database. [14/Nov/2005:11:44:15 +0100] - Fedora-Directory/7.1 B2005.146.2010 starting up [14/Nov/2005:11:44:16 +0100] - Detected Disorderly Shutdown last time Directory Server was running, recovering database. supplier : [14/Nov/2005:11:28:31 +0100] NSMMReplicationPlugin - Beginning total update of replica "agmt="cn=replication" (195:389)". [14/Nov/2005:11:28:42 +0100] NSMMReplicationPlugin - agmt="cn=replication" (195:389): Warning: unable to receive endReplication extended operation response (Can''t contact LDAP server) [14/Nov/2005:11:28:42 +0100] NSMMReplicationPlugin - Finished total update of replica "agmt="cn=replication" (195:389)". Sent 3171 entries. [14/Nov/2005:11:28:42 +0100] NSMMReplicationPlugin - agmt="cn=replication" (195:389): Simple bind failed, LDAP sdk error 91 (Can''t connect to the LDAP server), Netscape Portable Runtime error -5961 (TCP connection reset by peer.) i configure suuplier to authenticate a samba server , and add samba schema on the consumer but don t do all that configuration on the consumer . Could it be a problem thanks basile uffe@loop.to wrote:>Hello Basile. That error happens when a replication agreement is >created on the master with a bind DN that is not configured as one of >the "Current Supplier DNs" in the consumer''s replica configuration. > >There is probably a more verbose message in your master''s errors log in >this case. > >basile au siris wrote: > > > >>i try to do single master replication >>i use redhat documention , but when i try to initialize consumer >>i have: " replication error acquiring replica: permisssion >>denied.Error code: 3 " >>and on the consumer : >>" NSMMReplicationPlugin - conn =2 op=5 replica "dc=mysite,dc=fr" >>unable to acquire replica: error ; permission denied " >> >>the database i want to replique is read only on the consumer >>if someone has got an idea , i try many things , read many time the >>redhat manual but >>it don t work >>thanks >>basile >> >>-- >>Fedora-directory-users mailing list >>Fedora-directory-users@redhat.com >>https://www.redhat.com/mailman/listinfo/fedora-directory-users >> >> > > >-- >Fedora-directory-users mailing list >Fedora-directory-users@redhat.com >https://www.redhat.com/mailman/listinfo/fedora-directory-users > >
Richard Megginson
2005-Nov-14 14:50 UTC
Re: [Fedora-directory-users] probleme with replication
It looks as though you have created some sort of configuration that makes the supplier cause the consumer to crash during replication. What exactly did you do? I''d like to try to reproduce this problem. basile au siris wrote:> hi > i may have find what was wrong , i don t use on the consumer enable > legacy consumer , and then > replication seems to start but server on the consummer stop > here are the logs : > > consumer : > NSMMReplicationPlugin - multimaster_be_state_change: replica > dc=siris,dc=sorbonne,dc=fr is going offline; disabling replication > [14/Nov/2005:11:28:35 +0100] - WARNING: Import is running with > nsslapd-db-private-import-mem on; No other process is allowed to > access the database > [14/Nov/2005:11:28:40 +0100] - import userRoot: Workers finished; > cleaning up... > [14/Nov/2005:11:28:43 +0100] - import userRoot: Workers cleaned up. > [14/Nov/2005:11:28:43 +0100] - import userRoot: Indexing complete. > Post-processing... > [14/Nov/2005:11:28:43 +0100] - import userRoot: Flushing caches... > [14/Nov/2005:11:28:43 +0100] - import userRoot: Closing files... > [14/Nov/2005:11:28:46 +0100] - import userRoot: Import complete. > Processed 3171 entries in 11 seconds. (288.27 entries/sec) > [14/Nov/2005:11:28:46 +0100] NSMMReplicationPlugin - > multimaster_be_state_change: replica dc=siris,dc=sorbonne,dc=fr is > coming online; enabling replication > [14/Nov/2005:11:31:20 +0100] - Fedora-Directory/7.1 B2005.146.2010 > starting up > [14/Nov/2005:11:31:20 +0100] - Detected Disorderly Shutdown last time > Directory Server was running, recovering database. > [14/Nov/2005:11:35:19 +0100] - Fedora-Directory/7.1 B2005.146.2010 > starting up > [14/Nov/2005:11:35:21 +0100] - Detected Disorderly Shutdown last time > Directory Server was running, recovering database. > [14/Nov/2005:11:41:39 +0100] - Fedora-Directory/7.1 B2005.146.2010 > starting up > [14/Nov/2005:11:41:40 +0100] - Detected Disorderly Shutdown last time > Directory Server was running, recovering database. > [14/Nov/2005:11:44:15 +0100] - Fedora-Directory/7.1 B2005.146.2010 > starting up > [14/Nov/2005:11:44:16 +0100] - Detected Disorderly Shutdown last time > Directory Server was running, recovering database. > > supplier : > > [14/Nov/2005:11:28:31 +0100] NSMMReplicationPlugin - Beginning total > update of replica "agmt="cn=replication" (195:389)". > [14/Nov/2005:11:28:42 +0100] NSMMReplicationPlugin - > agmt="cn=replication" (195:389): Warning: unable to receive > endReplication extended operation response (Can''t contact LDAP server) > [14/Nov/2005:11:28:42 +0100] NSMMReplicationPlugin - Finished total > update of replica "agmt="cn=replication" (195:389)". Sent 3171 entries. > [14/Nov/2005:11:28:42 +0100] NSMMReplicationPlugin - > agmt="cn=replication" (195:389): Simple bind failed, LDAP sdk error 91 > (Can''t connect to the LDAP server), Netscape Portable Runtime error > -5961 (TCP connection reset by peer.) > > i configure suuplier to authenticate a samba server , and add samba > schema on the consumer > but don t do all that configuration on the consumer . > Could it be a problem > thanks > basile > > > > > > > > uffe@loop.to wrote: > >> Hello Basile. That error happens when a replication agreement is >> created on the master with a bind DN that is not configured as one of >> the "Current Supplier DNs" in the consumer''s replica configuration. >> >> There is probably a more verbose message in your master''s errors log in >> this case. >> >> basile au siris wrote: >> >> >> >>> i try to do single master replication >>> i use redhat documention , but when i try to initialize consumer >>> i have: " replication error acquiring replica: permisssion >>> denied.Error code: 3 " >>> and on the consumer : >>> " NSMMReplicationPlugin - conn =2 op=5 replica "dc=mysite,dc=fr" >>> unable to acquire replica: error ; permission denied " >>> >>> the database i want to replique is read only on the consumer >>> if someone has got an idea , i try many things , read many time the >>> redhat manual but >>> it don t work >>> thanks >>> basile >>> >>> -- >>> Fedora-directory-users mailing list >>> Fedora-directory-users@redhat.com >>> https://www.redhat.com/mailman/listinfo/fedora-directory-users >>> >> >> >> >> -- >> Fedora-directory-users mailing list >> Fedora-directory-users@redhat.com >> https://www.redhat.com/mailman/listinfo/fedora-directory-users >> >> > > -- > Fedora-directory-users mailing list > Fedora-directory-users@redhat.com > https://www.redhat.com/mailman/listinfo/fedora-directory-users