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

(ITS#6214) slapacl causes bdb_db_close error



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) (131.173.16.92)


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.
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.