[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Ref : Re: (ITS#4229) DB_CONFIG.example not adapted
This is a multipart message in MIME format.
--=_alternative 00352EC8C12570C9_=
Content-Type: text/plain; charset="us-ascii"
Hi Quanah;
Thanks for your reply.
But the problem is that when I use slapindex -q I get the errors explained
in ITS 4228.
Best Regards
Ali
--On Tuesday, November 29, 2005 10:28 AM +0000
ali.pouya@dgi.finances.gouv.fr wrote:
> Full_Name: Ali Pouya
> Version: 2.3.12
> OS: Linux Redhat Advanced Serveur 4
> URL: ftp://ftp.openldap.org/incoming/
> Submission from: (NULL) (145.242.3.30)
>
>
> The DB_CONFIG.example file shipped with OpenLdap recommends the flag
> DB_TXN_NOT_DURABLE for fast operations (slapadd and slapindex)but BDB
> 4.3.29 does not recognize this flag.
> I use DB_TXN_WRITE_NOSYNC instead.
> Is this a good solution ?
> If yes it could be added in the file.
> Best Regards
> Ali Pouya
Hi Ali,
The recommended version of BDB to use with OL is still 4.2.52 + patches,
which is likely why the DB_CONFIG file shipped with OpenLDAP has the BDB
4.2 syntax in it. However, for fast operations (slapadd or slapindex) in
2.3, you can ignore these parameters altogether with BDB 4.2 or BDB 4.3,
and simply use the "-q" flag to the tools instead. The lines you
reference
should really be pulled from the 2.3 version of DB_CONFIG altogether, and
likely replaced with "# Use -q for fast operations while running slapadd
or
slapindex" or something similar.
--Quanah
--
Quanah Gibson-Mount
QA Engineer
<http://www.openldap.org>
--=_alternative 00352EC8C12570C9_=
Content-Type: text/html; charset="us-ascii"
<br><font size=2 face="sans-serif">Hi Quanah;</font>
<br><font size=2 face="sans-serif">Thanks for your reply.</font>
<br><font size=2 face="sans-serif">But the problem is that when I use slapindex -q I get the errors explained in ITS 4228.</font>
<br><font size=2 face="sans-serif">Best Regards</font>
<br><font size=2 face="sans-serif">Ali</font>
<br>
<br><font size=2 face="sans-serif"><br>
</font><font size=2 face="Courier New">--On Tuesday, November 29, 2005 10:28 AM +0000 <br>
ali.pouya@dgi.finances.gouv.fr wrote:<br>
<br>
> Full_Name: Ali Pouya<br>
> Version: 2.3.12<br>
> OS: Linux Redhat Advanced Serveur 4<br>
> URL: ftp://ftp.openldap.org/incoming/<br>
> Submission from: (NULL) (145.242.3.30)<br>
><br>
><br>
> The DB_CONFIG.example file shipped with OpenLdap recommends the flag<br>
> DB_TXN_NOT_DURABLE for fast operations (slapadd and slapindex)but BDB<br>
> 4.3.29 does not recognize this flag.<br>
> I use DB_TXN_WRITE_NOSYNC instead.<br>
> Is this a good solution ?<br>
> If yes it could be added in the file.<br>
> Best Regards<br>
> Ali Pouya<br>
<br>
Hi Ali,<br>
<br>
The recommended version of BDB to use with OL is still 4.2.52 + patches, <br>
which is likely why the DB_CONFIG file shipped with OpenLDAP has the BDB <br>
4.2 syntax in it. However, for fast operations (slapadd or slapindex) in <br>
2.3, you can ignore these parameters altogether with BDB 4.2 or BDB 4.3, <br>
and simply use the "-q" flag to the tools instead. The lines you reference <br>
should really be pulled from the 2.3 version of DB_CONFIG altogether, and <br>
likely replaced with "# Use -q for fast operations while running slapadd or <br>
slapindex" or something similar.<br>
<br>
<br>
--Quanah<br>
<br>
--<br>
Quanah Gibson-Mount<br>
QA Engineer<br>
<http://www.openldap.org></font>
<br>
--=_alternative 00352EC8C12570C9_=--