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

Re: Accesslog purge doesn't work in Openldap 2.4.21 - Ubuntu Lucid



I just set the checkpoint directive in my slapd configuration and set the logs to auto delete in DB_CONFIG myself. 

On Jul 8, 2012, at 12:19 PM, Miguel Montero RodrÃguez <migmonte@gmail.com> wrote:

Ok thank you!

But, anyone could tell me if it is normal to use a cron job to delete the accesslog with "db_archive -d"?

Thank you in advance.

On Fri, Jul 6, 2012 at 12:32 PM, Martin Schuster (IFKL IT OS DS CD) <Martin.Schuster1@infineon.com> wrote:
On 2012-07-06 10:52, Miguel Montero RodrÃguez wrote:
Hi everyone,

I've found how to know the version of the Berkeley database that "apt-get
install slapd" installs in Ubuntu Server 10.04 LTS (not 10.10, that's
desktop, sorry).

I'm sure you know, but I'm going to write it here if someone needs that
information.

Cool idea, but there are easier ways.

$ apt-cache show slapd | grep libdb
Depends: libc6 (>= 2.12), libdb5.1, [...]

$ ldd /usr/sbin/slapd | grep libdb
        libdb-5.1.so => [...]

hth, cheers,
--
Infineon Technologies IT-Services GmbH   Martin.Schuster1@infineon.com
Lakeside B05, 9020 Klagenfurt, Austria   Martin Schuster
         FB: LG Klagenfurt, FN 246787y   +43 5 1777 3517