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

slapd syncrepl failure in OpenLDAP 2.3.43



Hi,
I am using OpenLDAP 2.3.43 with BDB 4.5.20.
I wonder if anyone has seen this error before? It happened 37 times during a timespan of 6 hours or so (with the same missing key/data pair).
The replica 001 would not replicate during this time.
The "solution" was to shut it down and copy data over from another replica.

Excerpt from syslog:
Mar 27 08:42:57 accdir2 slapd[3810]: => bdb_idl_insert_key: c_get next_dup failed: DB_NOTFOUND: No matching key/data pair found (-30989)
Mar 27 08:42:57 accdir2 slapd[3810]: null_callback: error code 0x50
Mar 27 08:42:57 accdir2 slapd[3810]: conn=79260530 fd=39 ACCEPT from IP=10.21.10.23:50796 (IP=0.0.0.0:389)
Mar 27 08:42:57 accdir2 slapd[3810]: syncrepl_entry: rid 001 be_add failed (80)
Mar 27 08:42:57 accdir2 slapd[3810]: do_syncrepl: rid 001 retrying

I'm pretty sure that the first line is generated in OpenLDAP-2.3.43/servers/slapd/back-bdb/idl.c but the code is too tense for me to understand (or vice versa).

Regards,
Magne Land