On Mon, 4 Feb 2008, Howard Chu wrote:
You cannot copy the database files from one machine to another unless
you're extremely careful and follow the procedures outlined in the
BerkeleyDB documentation. It sounds like you didn't follow those
procedures. Your problem isn't coincidental, it's inevitable when you
don't RTFM.
Huh?
I can't seem to find it right now, but I distinctly recall reading
documentation that indicated you could either start a syncrepl slave with
no database, or to jumpstart the process and make it quicker you could copy
the database from the master on to it before starting.
While no longer in the 2.4 documentation, the documentation from 2.3:
http://www.openldap.org/doc/admin23/replication.html#Configuring%20slurpd%20and%20a%20slave%20slapd%20instance
Discusses copying the database from the master to the slave in a slurpd
context. Other than indicating to be sure that both systems are homogenous
(same hardware, same OS, same versions; which in my case was completely
true), there are no dire warnings or pointers to BerkeleyDB documentation
procedures.