I uncomment DB_TXT_NOSYNC when doing the original slapadd - then comment it back when I start for the first time. This causes slapd to run db_recover automatically to update the BDB environment and re-enable logging.
DB_CONFIG (all servers) set_cachesize 0 536870912 1 set_lg_regionmax 1048576 set_lg_bsize 2097152 set_lg_max 10485760 set_flags DB_LOG_AUTOREMOVE #set_flags DB_TXN_NOSYNC
-- -- Howard Chu Chief Architect, Symas Corp. http://www.symas.com Director, Highland Sun http://highlandsun.com/hyc OpenLDAP Core Team http://www.openldap.org/project/