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

Replicated database discrepancies

We're running OpenLDAP 1.2.7 using the RPM that ships with Redhat Linux 6.1
(I believe it uses the GNU DBM library), with a master server and several
slaves.  We recently encountered a problem where the slapd on the master
server died (no messages in syslog, the daemon was just gone).  It was
restarted and seemed to work fine, however we soon found that there were
around a dozen LDAP entries that existed in all the slaves but not the
master.  Running "strings" on the .dbb files and doing some greps showed
that the data was in the .dbb files, however ldapsearch wouldn't find it.
In the end we copied the database over from one of the slaves.

This is the second time in just over a month that we've found discrepancies
between the master and slaves, though this was the first time slapd had
crashed before we saw this.

Has anyone encountered problems like this before?  Any suggestions how we
could fix this?