Next one:
olcReplicationInterval: value #0: <olcReplicationInterval> keyword is
obsolete (ignored)
str2entry: invalid value for attributeType olcDbConfig #3 (syntax
1.3.6.1.4.1.1466.115.121.1.15)
=> ldif_enum_tree: failed to read entry for
/usr/local/etc/openldap/slapd.d/cn=config/olcDatabase={1}hdb.ldif
slaptest: bad configuration file!
That line is: olcDbConfig: {3}
Whole section is (ignore vim line no. prefix):
21 olcDbConfig: {0}# Suretec Systems Ltd. - GH - 09/03/2006
22 olcDbConfig: {1}#
23 olcDbConfig: {2}# Not changed from defaults, will tweak once we have
more entr
24 ies
25 olcDbConfig: {3}
26 olcDbConfig: {4}# one 0.25 GB cache
27 olcDbConfig: {5}set_cachesize 0 268435456 1
28 olcDbConfig: {6}
29 olcDbConfig: {7}# Data Directory
30 olcDbConfig: {8}#set_data_dir db
31 olcDbConfig: {9}
32 olcDbConfig: {10}# Transaction Log settings
33 olcDbConfig: {11}set_lg_regionmax 262144
34 olcDbConfig: {12}set_lg_bsize 2097152
35 olcDbConfig: {13}#set_lg_dir logs
36 olcDbConfig: {14}
37 olcDbConfig: {15}# Note: special DB_CONFIG flags are no longer needed
for "qui
38 ck"
39 olcDbConfig::
ezE2fSMgc2xhcGFkZCg4KSBvciBzbGFwaW5kZXgoOCkgYWNjZXNzIChzZWUgdGhl
40 aXIgLXEgb3B0aW9uKS4g
Doh, just didn't like empty attributes:
olcDbConfig: {3}
to:
olcDbConfig: {3}#
olcDbConfig: {6}#
olcDbConfig: {9}#
etc.
Next one:
[root@suretec openldap]# slaptest
monitor_back_register_entry_attrs(""): base="cn=databases,cn=monitor"
scope=one
filter="(namingContexts:distinguishedNameMatch:=dc=suretecsystems,dc=com)":
unable to find entry
backend_startup_one: bi_db_open failed! (1)
slap_startup failed (test would succeed using the -u switch)