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

(ITS#5570) Error while using MirrorMode Replication



Full_Name: Shravan R
Version: 2.3.39
OS: Linux 2.4.9
URL: 
Submission from: (NULL) (202.168.89.5)


Hi,

I am trying the MirrorMode Replication using syncrepl on 2 Linux machines.
I followed the below configuration, but found an error.

# Global section
       serverID    1
       # database section

       # syncrepl directives
       syncrepl      rid=001
                     provider=ldap://ldap-ridr1.example.com
                     bindmethod=simple
                     binddn="cn=mirrormode,dc=example,dc=com"
                     credentials=mirrormode
                     searchbase="dc=example,dc=com"
                     schemachecking=on
                     type=refreshAndPersist
                     retry="60 +"

       syncrepl      rid=002
                     provider=ldap://ldap-rid2.example.com
                     bindmethod=simple
                     binddn="cn=mirrormode,dc=example,dc=com"
                     credentials=mirrormode
                     searchbase="dc=example,dc=com"
                     schemachecking=on
                     type=refreshAndPersist
                     retry="60 +"

       mirrormode on

The error is as follows:
Config: ** successfully added syncrepl "ldap://ldap-ridr1.example.com";
line 105 (syncrepl ***)
/usr/local/etc/openldap/slapd.conf: line 105: syncrepl: database already
shadowed.
/usr/local/etc/openldap/slapd.conf: line 105: <syncrepl> handler exited with 1!

This error occurs when it reads the 2nd occurance of syncrepl at retry="60 +"

Please let me know, what went wrong in the configuration resulting in this
error.

Also, there is a warning for serverID, while reading the config file. Is this
fine?
reading config file /usr/local/etc/openldap/slapd.conf
line 2 (serverID    1)
/usr/local/etc/openldap/slapd.conf: line 2: unknown directive <serverID> outside
backend info and database definitions (ignored).


Thanks...
Shravan R