[Date Prev][Date Next]
Re: Using replication on RedHat servers
On Thursday, 6 August 2009 16:57:25 Pierre Laporte wrote:
> 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: 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
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: slap_global_control: unrecognized
> control: 126.96.36.199.4.1.4188.8.131.52.1
> According to a thread in this mailing list, this error appears when
> syncprov is not loaded in slapd.conf (
> 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
> Did I miss something ? How can i get this to work ?
There are other options for packages for Red Hat, such as:
Which ships syncprov as a module ... see the comments in the default
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.