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

Re: how do you delete the entire openldap bdb database





--On Friday, June 25, 2004 11:29 AM -0400 John Borwick <borwicjh@wfu.edu> wrote:


The easy way to erase everything is
  1. stop slapd
  2. rm -f /path/to/ldap/dir/*
  3. start slapd

Not necessarily. It depends on how you've configured your DB_CONFIG file.

For example, if you are wise, you put your BDB transaction logs on a different disk or partition. Those are unlikely to be in that path. Also, if you are using shared memory segments, it is wise to delete those as well (man ipcs, ipcrm).

--Quanah

--
Quanah Gibson-Mount
Principal Software Developer
ITSS/Shared Services
Stanford University
GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html