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

Re: Slurpd fails to replicate (ITS#1298)



I can report exactely the same problem on
RedHat-7.1 + openldap-2.0.11-8

I used the same configuration files as when I used version
2.0.7 - there it worked.

One workarround is to put into the crontab the following line:

*	*	*	*	*	[ -f
/var/lib/ldap/replica/slurpd.replog ] && /usr/sbin/slurpd -r
/var/lib/ldap/replica/slurpd.replog -o && rm -f
/var/lib/ldap/replica/slurpd.replog


 Roger Moore wrote:

> Upgrading to OpenLDAP 2.0.11 on RedHat 7.1 causes slurpd to fail to update
slave
> servers. After upgrading a configuration which correctly updated slave
nodes
> using slurpd no longer generates updates.
>
> Using single-shot mode works correctly
> 
> 	i.e. slurpd -r <replog file> -o
> 
> Correctly performs the update. However when I run:
> 
> 	slurpd -d -1
> 
> I see that the config file is correctly parsed and I see the copies of the
slapd
> replog file being made correctly however I see no output from the update
thread
> until I ctrl-C the daemon when I get:
> 
> 	fm: exiting
> 	begin replication thread for white-clued0.fnal.gov:389
> 	end replication thread for white-clued0.fnal.gov:389
> 	slurpd: terminated.
> 
> The replica configuration I have works correctly with 2.0.7 its only when
I
> upgraded to 2.0.11 that I noticed this problem. I can post the config if
its
> helpful. As far as I can tell it seems that the threads in 2.0.11 are
somehow
> not running (but I know next to nothing about thread programming!). The
RPM I am
> using is the official update to OpenLDAP 2.0.11-8.
>