From: Troy Telford on
I'm running sid; there was a couple of recent updates to slapd, from 2.4.21-1 to 2.4.23-1 (and then 2.4.23-2)

The config itself wasn't changed; the backup file made is the same as the current one.

However, slapd doesn't start anymore.

All I have to go on is the following:
(/var/log/auth.log):
Jul 16 12:26:53 pilot slapd[7441]: auxpropfunc error invalid parameter supplied
Jul 16 12:26:53 pilot slapd[7441]: _sasl_plugin_load failed on sasl_auxprop_plug_init for plugin: ldapdb

and the following from syslog:
syslog.0:Jul 15 23:04:29 pilot slapd[3050]: @(#) $OpenLDAP: slapd 2.4.23 (Jul 15 2010 19:20:59) $ ^Iroot(a)monster:/tmp/buildd/openldap-2.4.23/debian/build/servers/slapd

From what I've looked at for the auth.log, that error isn't a fatal one; slapd isn't/can't use the plugin anyway.

But it is disconcerting to have slapd stop working entirely, with zero config changes on my part.
--
Troy Telford
ttelford.groups(a)gmail.com


--
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
Archive: http://lists.debian.org/25249DDD-0348-49D8-A25C-21C3B83942E2(a)gmail.com
From: Troy Telford on

On Jul 16, 2010, at 12:39 PM, Troy Telford wrote:

> I'm running sid; there was a couple of recent updates to slapd, from 2.4.21-1 to 2.4.23-1 (and then 2.4.23-2)
>
> The config itself wasn't changed; the backup file made is the same as the current one.
>
> However, slapd doesn't start anymore.
>
> All I have to go on is the following:
> (/var/log/auth.log):
> Jul 16 12:26:53 pilot slapd[7441]: auxpropfunc error invalid parameter supplied
> Jul 16 12:26:53 pilot slapd[7441]: _sasl_plugin_load failed on sasl_auxprop_plug_init for plugin: ldapdb
>
> and the following from syslog:
> syslog.0:Jul 15 23:04:29 pilot slapd[3050]: @(#) $OpenLDAP: slapd 2.4.23 (Jul 15 2010 19:20:59) $ ^Iroot(a)monster:/tmp/buildd/openldap-2.4.23/debian/build/servers/slapd
>
> From what I've looked at for the auth.log, that error isn't a fatal one; slapd isn't/can't use the plugin anyway.
>
> But it is disconcerting to have slapd stop working entirely, with zero config changes on my part.
>

I found the solution: it was a db version issue.

I did the following:

cd /var/lib
# make a backup just in case...
rsync -aP ldap ldap.org
cd ldap
db4.8_recover
db4.8_checkpoint -1
chown openldap:openldap *
/etc/init.d/slapd start

And now ldap works again.
--
Troy Telford
ttelford.groups(a)gmail.com