[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: Using replication on RedHat servers
On Thursday, 6 August 2009 16:57:25 Pierre Laporte wrote:
> Hello,
>
> I am setting up several openldap servers, and would like them to be
> synchronized, multi-master style.
>
> Configuration :
> Version: 2.4.16 packaged by Symas
> OS: RedHat 5.3
>
> I have tried following the Admin guide but for some reason, I just can't
> include the syncprov module.
How were you trying to "include the syncprov module" ? With 'moduleload
syncprov.la' ? Was the modulepath set correctly? Can you provide some debug
output from slapd showing what it tried?
> When I add the line "overlay syncprov" in my
> slapd.conf file, slapd fails to start and i get this error message :
> Aug 6 17:29:21 localhost slapd[25880]: overlay "syncprov" not found
So, this means that the syncprov overlay was not found, it is most likely
provided as a module. Not knowing exactly how Symas packages their binaries, I
would run '"find /opt/symas -name 'syncprov*'" to try and find a module, or
"objdump -T `find /opt/symas -name 'slapd'`|grep syncprov" to determine if
syncprov is built in.
> I found some information about this bug at
> https://bugzilla.redhat.com/show_bug.cgi?id=466937 , but i'm not sure
> whether it applies for symas'package :
> "syncprov is compiled statically into slapd daemon to keep backward
> compatibility"
No, the Red Hat people just made some bad decisions previously ...
> I tried to skip this part, but as expected, replication doesn't work. I
> keep getting this message in logs.
> Aug 6 17:33:10 localhost slapd[25901]: slap_global_control: unrecognized
> control: 1.3.6.1.4.1.4203.1.9.1.1
> According to a thread in this mailing list, this error appears when
> syncprov is not loaded in slapd.conf (
> http://www.openldap.org/lists/openldap-software/200605/msg00277.html)
>
> So here I am, stuck. I can't find syncprov.la in my module folder
> (/opt/symas/lib64/openldap), and I can't find any way to solve this
> problem.
>
> Did I miss something ? How can i get this to work ?
There are other options for packages for Red Hat, such as:
http://staff.telkomsa.net/packages/rhel5/openldap/
(see http://staff.telkomsa.net/packages/OpenLDAP.repo)
Which ships syncprov as a module ... see the comments in the default
slapd.conf.
Of course, as the Symas people usually say about Red Hat, contact the provider
of your binaries for support :-p. I can't imagine that Symas would ship
without syncprov, so you may want to consult any documentation they have
provided if you haven't yet come right.
Regards,
Buchan