Thanks for the reply Quanah.
On 2009/4/25 Quanah Gibson-Mount wrote:
you fail to note what release you are using of OpenLDAP or BDB. There were known issues with some earlier releases failing to checkpoint correctly.
OpenLDAP 2.3.28
I've no idea the version of BDB - how would I find this out ?
You also fail to note your checkpoint parameter in slapd.conf.
There doesn't seem to be a checkpoint setting in either slapd.conf or the DB_CONFIG file.
Should there be ?
Also, rather than manually deleting logs, you can set BDB up to do it for you. See the various options that can be set in DB_CONFIG.
Yes, this can be specified with DB_LOG_AUTO_REMOVE but I wish to backup the log files before I remove them which is why I wish to do this manually.
It seems that after running "slapd_db_checkpoint -1" and placing a checkpoint I can then run "slapd_db_archive -a" and get returned all the redundant log files - hooray !
Quite how these used to get returned (and they did) without a checkpoint directive either in slapd.conf or DB_CONFIG I'm not sure.
I plan to add a "txn_checkpoint" entry to DB_CONFIG immediately :-)
Thanks.
--On Monday, April 27, 2009 12:29 PM +0100 Andrew Hall whippyhubbles@googlemail.com wrote:
It seems that after running "slapd_db_checkpoint -1" and placing a checkpoint I can then run "slapd_db_archive -a" and get returned all the redundant log files - hooray !
Quite how these used to get returned (and they did) without a checkpoint directive either in slapd.conf or DB_CONFIG I'm not sure.
I plan to add a "txn_checkpoint" entry to DB_CONFIG immediately :-)
You only need to place one in slapd.conf. Glad it is working again!
--Quanah
--
Quanah Gibson-Mount Principal Software Engineer Zimbra, Inc -------------------- Zimbra :: the leader in open source messaging and collaboration
--On Monday, April 27, 2009 11:50 AM +0100 Andrew Hall whippyhubbles@googlemail.com wrote:
Thanks for the reply Quanah.
On 2009/4/25 Quanah Gibson-Mount wrote:
you fail to note what release you are using of OpenLDAP or BDB. There were known issues with some earlier releases failing to checkpoint correctly.
OpenLDAP 2.3.28
I've no idea the version of BDB - how would I find this out ?
Check out what version of the BDB libraries OpenLDAP is linked against.
I would note that OpenLDAP 2.3.28 is particularly ancient. The final OpenLDAP 2.3 release was 2.3.43, and OpenLDAP stable is currently 2.4.16.
--Quanah
--
Quanah Gibson-Mount Principal Software Engineer Zimbra, Inc -------------------- Zimbra :: the leader in open source messaging and collaboration
openldap-technical@openldap.org