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

adding syncprov module fails



Hi,
I am trying to set up a cascading replication from scratch, adding
syncprov module fails with:

,----[ output of slapd -dsync ]
| @(#) $OpenLDAP: slapd 2.4.12 (Oct 17 2008 16:01:17) $
|         dieter@rubin.l4b.de:/work/openldap-2.4.12/servers/slapd
| slap_queue_csn: queing 0xa583f0 20081021122834.783484Z#000000#001#000000
| slap_graduate_commit_csn: removing 0xa578b0 20081021122834.783484Z#000000#001#000000
| slapd starting
| slap_queue_csn: queing 0x40a70480 20081021122922.151442Z#000000#001#000000
| Control 1.3.6.1.4.1.4203.1.9.1.1 already registered.
| syncprov_init: Failed to register control -9
| slap_graduate_commit_csn: removing 0xa52ef0 20081021122922.151442Z#000000#001#000000
`----

this is my script to load the module

$LDAPMODIFY -x -D $ROOTDN -w $CPW -H $HOST <<EOF
dn: olcOverlay=syncprov,olcDatabase={0}config,cn=config
changetype: add
objectClass: olcOverlayConfig
objectClass: olcSyncProvConfig
olcOverlay: syncprov
EOF

My initial slapd.conf is just

,----[ slapd.conf ]
| include /opt/openldap-2.4/etc/openldap/schema/core.schema
| include /opt/openldap-2.4/etc/openldap/schema/cosine.schema
| include /opt/openldap-2.4/etc/openldap/schema/inetorgperson.schema
| include /opt/openldap-2.4/etc/openldap/schema/nis.schema
| 
| pidfile         /opt/openldap-2.4/var/run/slapd.pid
| argsfile        /opt/openldap-2.4/var/run/slapd.args
| 
| modulepath      /opt/openldap-2.4/libexec/openldap
| moduleload syncprov.la
| 
| database config
| rootdn  "cn=config"
| rootpw  "xxx"
`----

How come that the control is already registered?

-Dieter

-- 
Dieter KlÃnter | Systemberatung
http://www.dpunkt.de/buecher/2104.html
GPG Key ID:8EF7B6C6
53Â08'09,95"N
10Â08'02,42"E