[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Accesslog purge doesn't work in Openldap 2.4.21 - Ubuntu Lucid
- To: openldap-technical@openldap.org
- Subject: Accesslog purge doesn't work in Openldap 2.4.21 - Ubuntu Lucid
- From: Miguel Montero Rodríguez <migmonte@gmail.com>
- Date: Wed, 4 Jul 2012 12:05:20 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=ANcwn5Hz6hoZ0w35TK3EckS607hQ3LlRxS2Yftu1lME=; b=bKQAN0yroBQOFdFu13nxqyWRHLjQJSf1alhgC6e9KGkDJbzDbtW5QWXcaEaeerAhQo TX0EQi2frmj6OW0P0B+4A5hU2IlaZtp7vOsr0MPffW5HOEeYhRGVt6cdxMAahDlofaGY 1dFq89DkzVAZ38PKnLeRbQQ2fhgbYLGbKJ0j11aALPOrnqAgm0+fCXItonSs2Xo84xtL AKCY4kEuPhMK4TvbWlj8peSm/PpAEOg6OgUQqRN1G5lyQImRSNxH+Nz3bAmsJkt2L+h4 JZSa4EZBDN3xXrJEQ4d1BawCYbIhjPayQ6tRph0JdIJU+bCCsknhxUaPLOGkfTgdNuLA SOzg==
Hi everyone,
I've just seen that /var/lib/ldap/accesslog is growing so I've realized that olcAccessLogPurge is not working properly (for example, I have log.0000000001 file from 2011-09-10).
The files that I used to configure accesslog are:
----------------------------------------------------------------
dn: olcDatabase={2}hdb,cn=config
objectClass: olcDatabaseConfig
objectClass: olcHdbConfig
olcDatabase: {2}hdb
olcDbDirectory: /var/lib/ldap/accesslog
olcSuffix: cn=accesslog
olcRootDN: cn=Administrator,dc=example,dc=net
olcDbIndex: default eq
olcDbIndex: entryCSN,objectClass,reqEnd,reqResult,reqStart
----------------------------------------------------------------
The other file for configuring the accesslog is:
----------------------------------------------------------------
dn: olcOverlay=accesslog,olcDatabase={1}hdb,cn=config
objectClass: olcOverlayConfig
objectClass: olcAccessLogConfig
olcOverlay: accesslog
olcAccessLogDB: cn=accesslog
olcAccessLogOps: all
olcAccessLogSuccess: TRUE
# scan the accesslog DB every day, and purge entries older than 7 days
olcAccessLogPurge: 07+00:00 01+00:00
----------------------------------------------------------------
LDAP is working properly but not this. Anyone can tell me any clue about this?
Thank you in advance.
Best regards,
Miguel.