[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: (ITS#5120) slapadd -q makes database logs unusable
hyc@symas.com wrote:
> ando@sys-net.it wrote:
>> When slapadd'ing -q, existing database log files seem to become unusable. If
>> this is correct, as it seems to be, slapadd could refuse to start with -q if log
>> files are present, or, for example, remove the logs if -qq.
>
> I guess we could add that check. The docs already say that if an error occurs,
> the entire database will be unusable. As such, you should only use it for
> initially populating a database, not for adding to an existing one.
The story is that I placed logs in a separate directory and I forgot to
clean them up when regenerating the DB after removing the database files :)
p.
Ing. Pierangelo Masarati
OpenLDAP Core Team
SysNet s.r.l.
via Dossi, 8 - 27100 Pavia - ITALIA
http://www.sys-net.it
---------------------------------------
Office: +39 02 23998309
Mobile: +39 333 4963172
Email: pierangelo.masarati@sys-net.it
---------------------------------------