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

issue with bad data ? In MMR setup



Hi,

Ldap daemon was being restarted every so many minutes. All the consumers were out of sync and had to be re-synced. This specific master in question in MMR setup was restored from other master and the issue went away. running 2.4.37 on centos6 with hdb backend on the masters and lmdb on the consumers.

ÂSearching thru the list shows a lot of hits with "too old", AFAIK ntp is kept quite closely. serverid "000" no longer exists as it was decomissioned since last year, hence contextcsn is really old. Not sure if that played a role in this havoc or not. Could you tell me what "srs" and "log" means in the context below?



Following is what I found in the log, and there were a lot of these which probably contributed to restart of the daemon:

Jun 14 00:05:21 name of the server slapd[16745]: srs csn 20131226183611.000000Z#000000#000#000000
Jun 14 00:05:21 name of the server slapd[16745]: log csn 20131206192447.000000Z#000000#000#000000
Jun 14 00:05:21 name of the server slapd[16745]: cmp -2, too old
Jun 14 00:05:21 name of the server slapd[16745]: log csn 20131206193513.000000Z#000000#000#000000
Jun 14 00:05:21 name of the server slapd[16745]: cmp -2, too old
</snip>
Jun 14 00:05:59 name of the server slapd[16745]: do_syncrep2: rid=0
01 (-1) Can't contact LDAP server
</snip>
Jun 14 00:06:15 name of the server slapd[16745]: log csn 20131229125124.532456Z#000000#001#000000
Jun 14 00:06:15 name of the server slapd[16745]: cmp -256, too old
Jun 14 00:06:15 name of the server slapd[16745]: log csn 20131229125143.680121Z#000000#001#000000
Jun 14 00:06:15 name of the server slapd[16745]: cmp -256, too old
Jun 14 00:06:15 name of the server slapd[16745]: log csn 2013122913
</snip>
Jun 14 00:06:59 name of the server slapd[31392]: do_syncrep2: rid=000 LDAP_RES_INTERMEDIATE - SYNC_ID_SET
Jun 14 00:06:59 name of the server slapd[31392]: do_syncrep2: rid=000 cookie=rid=000,sid=002,csn=20140613220035.981531Z#000000#001#000000
Jun 14 00:06:59 name of the server slapd[31392]: do_syncrep2: rid=000 LDAP_RES_INTERMEDIATE - REFRESH_DELETE

</snip>

thank you