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

OL 2.3.14 and slapo-accesslog



Hi All,

I am testing slapo-accesslog in OL 2.3.14 on a Debian Sarge server.

Here is an extract of my slapd.conf:

# slapo-accesslog DB
database bdb
suffix cn=log
directory       /var/lib/ldap/accesslog
index reqStart eq

#############################################################
# Accesslog - Access Logging overlay (required for delta syncrepl)
#############################################################

overlay accesslog
logdb cn=log
logops writes reads


According to the manpage of slapo-acceslog, "The suffix entry of the log
database will be created automatically by this overlay. The log entries
will be generated as the immediate children of the suffix entry."

However when I tried to start slapd I got this error message:

Dec 24 13:54:32 info-ldap-001 slapd[15551]: backend_startup_one:
starting "cn=log" 
Dec 24 13:54:32 info-ldap-001 slapd[15551]: bdb_db_open: cn=log 
Dec 24 13:54:32 info-ldap-001 slapd[15551]: bdb_db_open:
dbenv_open(/var/lib/ldap/accesslog) 
Dec 24 13:54:32 info-ldap-001 slapd[15551]: => bdb_entry_get: ndn:
"cn=log" 
Dec 24 13:54:32 info-ldap-001 slapd[15551]: => bdb_entry_get: oc:
"(null)", at: "contextCSN" 
Dec 24 13:54:32 info-ldap-001 slapd[15551]: bdb_dn2entry("cn=log") 
Dec 24 13:54:32 info-ldap-001 slapd[15551]: => bdb_dn2id("cn=log") 
Dec 24 13:54:32 info-ldap-001 slapd[15551]: <= bdb_dn2id: get failed:
DB_NOTFOUND: No matching key/data pair found (-30990) 
Dec 24 13:54:32 info-ldap-001 slapd[15551]: => bdb_entry_get: cannot
find entry: "cn=log" 
Dec 24 13:54:32 info-ldap-001 slapd[15551]: backend_startup_one:
bi_db_open failed! (32768) 

Did I miss something? Could someone please shed some light on that
matter? I would appreciate it.

Thanks.
Sam