24 June 2006

Corrupt openldap data

So openldap wont start (following a power failure), actually it reports starting succeeds, but the process fails at, or just after, startup. I cd into /var/lib/ldap and enter db_recover, this returns "db_recover: PANIC: fatal region error detected; run recovery". Running slapindex fixes the problem.