Hello,
I upgraded (portmanager on FreeBSD) my openldap install on a delta-synch master and client machines on Friday. All of the client machines upgraded without a hitch and restarted correctly. The master failed with this error on the console: /usr/local/etc/openldap/slapd.conf: line 60: index attribute "reqEnd" undefined
Line 60 is from the accesslog definitions:
# Accesslog database definitions database bdb suffix cn=accesslog directory /var/db/openldap-data/accesslog rootdn cn=accesslog index default eq index entryCSN,objectClass,reqEnd,reqResult,reqStart
I changed the loglevel to -1 and tried to start the process. Here is the log output:
Jul 26 08:12:04 vanity slapd[55419]: @(#) $OpenLDAP: slapd 2.4.23 (Jul 23 2010 16:39:09) $ blah@vanity:/usr/ports/net/openl dap24-server/work/openldap-2.4.23/servers/slapd Jul 26 08:12:04 vanity slapd[55419]: line 21 (gentlehup on) Jul 26 08:12:04 vanity slapd[55419]: line 24 (pidfile /var/run/openldap/slapd.pid) Jul 26 08:12:04 vanity slapd[55419]: line 25 (argsfile /var/run/openldap/slapd.args) Jul 26 08:12:04 vanity slapd[55419]: line 28 (modulepath /usr/local/libexec/openldap) Jul 26 08:12:04 vanity slapd[55419]: line 29 (moduleload back_bdb) Jul 26 08:12:04 vanity slapd[55419]: loaded module back_bdb Jul 26 08:12:04 vanity slapd[55419]: bdb_back_initialize: initialize BDB backend Jul 26 08:12:04 vanity slapd[55419]: bdb_back_initialize: Berkeley DB 4.6.21: (September 27, 2007) Jul 26 08:12:04 vanity slapd[55419]: module back_bdb: null module registered Jul 26 08:12:04 vanity slapd[55419]: line 35 (sizelimit 262144) Jul 26 08:12:04 vanity slapd[55419]: line 36 (timelimit 300) Jul 26 08:12:04 vanity slapd[55419]: line 39 (TLSCACertificateFile /usr/local/openssl/myCA/ca-cert.pem) Jul 26 08:12:04 vanity slapd[55419]: line 40 (TLSCertificateFile /usr/local/openssl/myCA/vanity.mtmary.edu.cert) Jul 26 08:12:04 vanity slapd[55419]: line 41 (TLSCertificateKeyFile /usr/local/openssl/myCA/vanity.mtmary.edu.key) Jul 26 08:12:04 vanity slapd[55419]: line 42 (TLSRandFile /dev/random) Jul 26 08:12:04 vanity slapd[55419]: line 55 (database bdb) Jul 26 08:12:04 vanity slapd[55419]: bdb_db_init: Initializing BDB database Jul 26 08:12:04 vanity slapd[55419]: line 56 (suffix cn=accesslog) Jul 26 08:12:04 vanity slapd[55419]: >>> dnPrettyNormal: <cn=accesslog> Jul 26 08:12:04 vanity slapd[55419]: <<< dnPrettyNormal: <cn=accesslog>, <cn=accesslog> Jul 26 08:12:04 vanity slapd[55419]: line 57 (directory /var/db/openldap-data/accesslog) Jul 26 08:12:04 vanity slapd[55419]: line 58 (rootdn cn=accesslog) Jul 26 08:12:04 vanity slapd[55419]: >>> dnPrettyNormal: <cn=accesslog> Jul 26 08:12:04 vanity slapd[55419]: <<< dnPrettyNormal: <cn=accesslog>, <cn=accesslog> Jul 26 08:12:04 vanity slapd[55419]: line 59 (index default eq) Jul 26 08:12:04 vanity slapd[55419]: line 60 (index entryCSN,objectClass,reqEnd,reqResult,reqStart) Jul 26 08:12:04 vanity slapd[55419]: index entryCSN 0x0004 Jul 26 08:12:04 vanity slapd[55419]: index objectClass 0x0004 Jul 26 08:12:04 vanity slapd[55419]: slapd destroy: freeing system resources. Jul 26 08:12:04 vanity slapd[55419]: slapd stopped. Jul 26 08:12:04 vanity slapd[55419]: connections_destroy: nothing to destroy.
Any help in figuring this out would be appreciated.
Peter