openldap-2.4.35: "failed to start slapd"

Chris Rees crees at
Sun Apr 28 17:30:52 UTC 2013

On 28 April 2013 18:17, Jerry <jerry at> wrote:
> On Sun, 28 Apr 2013 16:48:33 +0100
> Chris Rees articulated:
>> Have you tried getting the older version and installing that?
>> Ports-mgmt/portdowngrade will help you do that.
>> Not a proper solution, but it'll get it working again if you're
>> desperate.
> Actually, the database "log" got corrupted. Even the "db-recover" would
> not correct it. Luckily, I had a semi-recent backup of the directory. I
> had to run  "/usr/local/libexec/slapd" via "GDB" to find out what the
> problem was. I have no idea what caused the corruption though. The only
> thing that comes to mind is that I DID NOT shut down openldap prior to
> updating it. That never caused a problem before though.

I'm really glad you had backups.  I'd be surprised if the in-place
upgrade broke things, but it might cause a problem.  I've never had an
issue with any daemons like that.

Xin Li, do you know if corruption due to this is possible?  Would a
@stopdaemon line be appropriate here?


More information about the freebsd-ports mailing list