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

Re: index data loss issue

On Wed, 22 May 2002 16:32:52 -0500 (EST)
"John Madden" <jmadden@ivytech.edu> wrote:

> This is a strange one and I'm hoping it's just a simple configuration
> problem, but I don't even know where to begin looking for solutions.
> While the LDAP directory is running, we've added an index on
> "mailacceptinggeneralid," Postfix's default email alias attribute, which
> appears to work ok after 'slapindex'ing it.  However, after a restart of
> slapd, data is no longer returned when filtering on this attribute. 
> Quite a serious issue.
> This is, as of Monday, our production LDAP directory, so there
> unfortunately is no room for "well, turn up debugging, and let's see
> what happens."  In the meantime, we sit and watch the load average on
> the box rise to 31+ everytime someone sends a mass email... :)

Try this: stop openldap, regenerate indices, start openldap. This should take no more than 3 minutes max (depending on the number of entries and indices you have). My guess is openldap is confused because you added an index to it while it was running.