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.
- 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.
- 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.
Hi,
On Fri, 2 Aug 2013, espeake@oreillyauto.com wrote:
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.
you obviously have at least one old version left on your system.
Ideally you shoud first remove all traces of your previous ldap installation by removing respective rpms, deps or other packags.
You could also use find to search for slapd binaries and libraries on the system but If you are not too experienced you can easily shoot yourself in the foot by removing libaries in use by the rest of you system.
Best guess is propably to start with a clean installation perhaps in a VM compile there.
Greetings Christian
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.
- 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.
- 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.
Christian,
I did find a way to make the slapadd work by removing all of the files from the slapd.d directory and then doing aa slapadd. I run into the following error and I have not been able to get passed it and the errors caused by this one, in processing this from the ldif I get an error.
The first line is line 19 of the file.
dn: cn=module{0},cn=config objectClass: olcModuleList cn: module{0} olcModulePath: /usr/lib/ldap olcModuleLoad: {0}back_hdb.la olcModuleLoad: {1}ppolicy.la olcModuleLoad: {2}memberof.la olcModuleLoad: {3}dynlist.la olcModuleLoad: {4}syncprov.la olcModuleLoad: {5}refint.la olcModuleLoad: {6}accesslog.la structuralObjectClass: olcModuleList
51fff80d str2entry: invalid value for attributeType objectClass #0 (syntax 1.3.6.1.4.1.1466.115.121.1.38) slapadd: could not parse entry (line=19)
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: 08/02/2013 03:01 PM Subject: Re: N-Way Master replication no contextcsn Sent by: openldap-technical-bounces@OpenLDAP.org
Hi,
On Fri, 2 Aug 2013, espeake@oreillyauto.com wrote:
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.
you obviously have at least one old version left on your system.
Ideally you shoud first remove all traces of your previous ldap installation by removing respective rpms, deps or other packags.
You could also use find to search for slapd binaries and libraries on the system but If you are not too experienced you can easily shoot yourself in the foot by removing libaries in use by the rest of you system.
Best guess is propably to start with a clean installation perhaps in a VM compile there.
Greetings Christian
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.
- 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.
- 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.
-- 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: CE383600A53.A232E
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.
openldap-technical@openldap.org