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

Re: (ITS#6214) slapacl causes bdb_db_close error

dkastens@uni-osnabrueck.de wrote:
> Full_Name: Dirk Kastens
> Version: 2.4.17
> OS: Red Hat Enterprise Linux Server release 5.3
> URL: ftp://ftp.openldap.org/incoming/
> Submission from: (NULL) (
> I'm using BerkeleyDB.4.6.21
> This issue existed in openldap 2.4.16, so I updated to 2.4.17, but the error
> still exists.

It seems no one else encountered the problem or reported it against 2.4.16 
before... Anyway, thanks for the report, it's now fixed in CVS HEAD.

> When I call "slapacl", for example
> slapacl -b uid=xmuster,ou=people,dc=myorg -D uid=xmuster,ou=people,dc=myorg
> the output ends with the lines:
> bdb(dc=myorg): Error: closing the transaction region with active transactions
> bdb_db_close: database "dc=myorg": close failed: Invalid argument (22)
> and the database is corrupted. slapd wasn't running during execution. After
> running slapacl slapd starts with the message:
> bdb_db_open: database "dc=myorg": unclean shutdown detected; attempting
> recovery.
> This seems to be an old but re-occuring bug.

   -- Howard Chu
   CTO, Symas Corp.           http://www.symas.com
   Director, Highland Sun     http://highlandsun.com/hyc/
   Chief Architect, OpenLDAP  http://www.openldap.org/project/