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

Re: N-Way Master replication no contextcsn



Okay so I down loaded  tar and followed these instructions.

http://www.openldap.org/software/release/install.html

It says that everything was okay and I received no errors.  I restarted the
slapd service and it still shows that it is the old version.

I guess I'm still missing something.

Eric Speake
Web Systems Administrator
O'Reilly Auto Parts



From:	Christian Kratzer <ck@cksoft.de>
To:	espeake@oreillyauto.com
Cc:	openldap-technical@openldap.org,
            openldap-technical-bounces@OpenLDAP.org
Date:	08/02/2013 10:09 AM
Subject:	Re: N-Way Master replication no contextcsn



Hi,

On Fri, 2 Aug 2013, espeake@oreillyauto.com wrote:

> As a noob upgrading appears to easier said than done.  I am running on
> Ubuntu 10.04 on my master and I have tried to create packages from the
code
> I downloaded from the web site and the install just doesn't work.  So I
> found an RPM and and converted it via alien to a deb file and used dpkg
to
> try and install and even with --force it erred out trying to overwrite
the
> slapd.d folder.  Is there and easy way to build the package as a deb file
> so I can install it and also add it to my repo for the other servers.

you could try just fetching the official tarball and building and
installing from that.

also take a backup of you config and your data with:

 		 slapcat -n0 -l > config.ldif
 		 slapcat -l data.ldif

Greetings
Christian


>
> Thanks,
> Eric Speake
> Web Systems Administrator
> O'Reilly Auto Parts
>
>
>
> From:		 Christian Kratzer <ck-lists@cksoft.de>
> To:		 espeake@oreillyauto.com
> Cc:		 openldap-technical@openldap.org
> Date:		 07/29/2013 10:44 AM
> Subject:		 Re: N-Way Master replication no contextcsn
> Sent by:		 openldap-technical-bounces@OpenLDAP.org
>
>
>
> Hi,
>
> On Fri, 26 Jul 2013, espeake@oreillyauto.com wrote:
>
>>
>> Trying a different method of replication to suit or need and I set up
two
>> test servers for n-way master mirroring servers.  Both servers have the
>> same configuration being fed to them through puppet.  In the logs I can
> see
>> them bind and check cookies but I get CSN too old, ignoring
>> 20110608165005.984980Z#000000#000#000000 (olcOverlay=
>> {4}syncprov,olcDatabase={1}hdb,cn=config)  THen the last slapd entry in
> the
>> log is rid=002
>> cookie=rid=002,sid=002,csn=20110915141524.047299Z#000000#000#000000 and
>> then nothing else happens.  If I make a change to user it never syncs to
>> the other server.
>>
>> At this point I don't know what to look at or what you might want to
look
>> at to help diagnose the problem.  I followed the documentation in the
> admin
>> guide to set this up.
>>
>> Any and all help is appreciated.
>
> 1. You are using an ancient openldap version 2.4.28 compiled by your
> distribution.  Please start by updating to a current 2.4.35 build from
> sources.
>
> 2. You say both servers have the same configuration through puppet ? I
see
> you are using cn=config. How are you distributing this configuration. You
> should not write any files to slapd.d via puppet or other means.  Use
> slapcat/slapadd -n0 to export and import configurations.
>
> Greetings
> Christian
>
> --
> Christian Kratzer                      CK Software GmbH
> Email:   ck@cksoft.de                  Wildberger Weg 24/2
> Phone:   +49 7032 893 997 - 0          D-71126 Gaeufelden
> Fax:     +49 7032 893 997 - 9          HRB 245288, Amtsgericht Stuttgart
> Web:     http://www.cksoft.de/         Geschaeftsfuehrer: Christian
Kratzer
>
>
> --
> This message has been scanned for viruses and dangerous content,
> and is believed to be clean.
>  Message id: 07A406006FB.AF9AA
>
>
>
>
> This communication and any attachments are confidential, protected by
Communications Privacy Act 18 USCS ? 2510, solely for the use of the
intended recipient, and may contain legally privileged material. If you are
not the intended recipient, please return or destroy it immediately. Thank
you.
>

--
Christian Kratzer                      CK Software GmbH
Email:   ck@cksoft.de                  Wildberger Weg 24/2
Phone:   +49 7032 893 997 - 0          D-71126 Gaeufelden
Fax:     +49 7032 893 997 - 9          HRB 245288, Amtsgericht Stuttgart
Web:     http://www.cksoft.de/         Geschaeftsfuehrer: Christian Kratzer

--
This message has been scanned for viruses and dangerous content,
and is believed to be clean.
  Message id: C01E4600DDE.A423A




This communication and any attachments are confidential, protected by Communications Privacy Act 18 USCS § 2510, solely for the use of the intended recipient, and may contain legally privileged material. If you are not the intended recipient, please return or destroy it immediately. Thank you.