Wed Apr 27 11:51:29 ICT 2016

Upgrading Berkeley DB

Berkeley DB is used as a backend for LDAP at CSIM. To upgrade it:

  1. Stop LDAP;
  2. Goto /var/db/openldap-data;
  3. db_checkpoint-old.version -l to create a checkpoint;
  4. db_recover-old.version to make sure the files are in a stable state;
  5. db_recover-new.version -e to migrate the files to the new version;
  6. Start LDAP.

Posted by Olivier | Permanent link | File under: administration, freebsd