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

Re: Replication between different OS

My guess is that the freebsd compile of openldap is using a different DB
library that the RedHat boxes..   to copy the data files over like that
you need to make sure you use the same version of Berkely DB, GDBM,
Or slapcat the entire database out on the linux box (while it is slapd
is not running, as you are using 2.0.27), and then slapadd it on the
freebsd box.. as this will put the data to a common ldif file for
transporting between the boxes..

On Fri, 2003-10-24 at 13:34, Andre Fortin wrote:
> Hello,
> I currently have 4 RedHat Linux machines running openldap, and replication
> is working fine.  I've added a FreeBSD server and installed openldap, with
> the same schema files and config files.  When I start up slapd, it doesn't
> give any errors.  Upon any query, it returns this error:
> Oct 24 13:58:31 slb-mail3 slapd[61499]: <= ldbm_cache_open NULL
> "/usr/local/var/openldap-ldbm/dn2id.dbb" errno=79 reason="Inappropriate file
> type or format")
> Is this because the databases are written differently on Linux than FreeBSD?
> Or am I missing something?  If they're not meant to run together, I'll just
> revert to linux again..
> All servers are running OpenLDAP 2.0.27.
> I have done a slapcat export and imported it into the FreeBSD server, and
> that's fine, but the replication doesn't seem to be even trying to take
> place.. This is probably because it's not an exact replica of the database..
> Is there any way to get this working?  Thanks in advance,
> -----------------
> Andre Fortin, CCNA, MCSA, MCSE(W2K)
> Systems Administrator
> Persona Communications - Central Division
> 500 Barrydowne Rd.
> Sudbury, Ontario
> afortin@personainc.ca
> Tel.: (705)560-1560 ext. 266
Edward Rudd <eddie@omegaware.com>
Home Page <http://urkle.drip.ws/>

Attachment: signature.asc
Description: This is a digitally signed message part