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

Replication problems (solution!!!!!!!!)

Hi All,

I had a problem with replication:

Error on master:

ERROR: Constraint violation 
	replica: bln.feas.net:391 
	time: 1016200920.0 
	dn: uid=testuser, ou=People, dc=<domain>, dc=net 
	changetype: add 
	givenName: test 
	objectClass: inetOrgPerson 
	objectClass: organizationalPerson 
	objectClass: person 
	uid: testuser 
	cn: test user 
	sn: user 
	creatorsName: cn=Manager,dc=<domain>,dc=net 
	createTimestamp: 20020315140200Z 
	modifiersName: cn=Manager,dc=<domain>,dc=net 
	modifyTimestamp: 20020315140200Z

Error on slave:

daemon: conn=1 fd=14 connection from IP=<ip>:35529 (IP=:: 34049)
conn=1 op=0 BIND dn="CN=<cn>,DC=<domain>,DC=NET" method=128
conn=1 op=0 RESULT tag=97 err=0 text=
conn=1 op=1 ADD dn="OU=TEST,DC=<domain>,DC=NET"
is_entry_objectclass("ou=test, dc=<domain>, dc=net",
"2.16.840.1.113730.3.2.6") no objectClass attribute
conn=1 op=1 RESULT tag=105 err=19 text=creatorsName: no user
modification allowed
conn=0 op=4 UNBIND
conn=-1 fd=9 closed

I had an error that slapd couldn't find a db:

unable to open Berkeley db /etc/sasldb: No such file or directory

Run in command prompt on all servers master and slaves: saslpasswd root
And give your password twice
Restart ldap servers

With me it worked!!!!!