[Date Prev][Date Next]
Re: slapadd -q and db_archive
--On Thursday, June 16, 2005 7:37 PM -0700 Howard Chu <email@example.com> wrote:
Put another way - read the docs to make sure you understand what a patch
does. Don't use patches you don't understand.
The "-q" (quick mode) feature is part of the 2.3 release and is
documented in the 2.3 manpages.
In the case of back-bdb/hdb it turns off transaction support in the DB
environment while it does its work. If you just start slapd right away,
there's no issue because slapd always enables transactions again before
doing anything else. If you run something else (like db_archive, in this
case) then you'll get the above error - since there was no transaction
support, there is no transaction log file to examine.
Not entirely correct. If you don't run db_recover before starting slapd,
various parts of db_stat won't work, and possibly other things as well.
Principal Software Developer
GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html
"These censorship operations against schools and libraries are stronger
than ever in the present religio-political climate. They often focus on
fantasy and sf books, which foster that deadly enemy to bigotry and blind
faith, the imagination." -- Ursula K. Le Guin