[Pkg-openldap-devel] Bug#412474: slapd fails to start after update from 2.3.30-2 to 2.3.30-4

Wolfgang Granzer w at woif.org
Wed Feb 28 08:54:45 UTC 2007


Quoting Steve Langasek <vorlon at debian.org>:

> severity 412474 normal
> tags 412474 moreinfo unreproducible
> thanks
>
> On Mon, Feb 26, 2007 at 11:14:23AM +0100, Woif wrote:
>> Slapd fails to start after the update from 2.3.30-2 to 2.3.30-4.   
>> After setting the loglevel to 2 in slapd.conf, the following log   
>> entries appear in /var/log/syslog:
>> bdb(dc=xxx,dc=xxx): operation not permitted during recovery
>> bdb_db_open: db_open(/var/lib/ldap/id2entry.bdb) failed: Invalid   
>> argument (22)
>> backend_startup_one: bi_db_open failed! (22)
>> bdb_db_close: alock_close failed
>> slapd stopped.
>
>> After downgrading from 2.3.30-4 to 2.3.30-2, the problem remains   
>> and slapd does not start.
>
> Check the file permissions on /var/lib/ldap; the files have probably been
> changed to be owned by root somewhere along the line, possibly as a
> consequence of a database format upgrade?  There shouldn't have been such
> an upgrade between 2.3.30-2 and 2.3.30-4, and the debconf settings sent in
> your report don't explain this, so I don't know why this would be the case;
> and as it doesn't coincide with my experience, I'm downgrading this bug.
>
> --
> Steve Langasek                   Give me a lever long enough and a Free OS
> Debian Developer                   to set it on, and I can move the world.
> vorlon at debian.org                                   http://www.debian.org/
>
>

The file permissions on /var/lib/ldap are OK. It seems to be a problem  
with the database, perhaps it has been damaged during the update.  
After deleting the whole database, I restored it from a ldif backup.  
Now, slapd works again.



-- 
Wolfgang Granzer
w at woif.org
http://www.woif.org




More information about the Pkg-openldap-devel mailing list