Why does slack come with 3 versions of Berkeley db? It has db3-3.3.11 , db31-3.1.17 , and db4-4.2.52 .
I thinks it's screwing up my testing of openldap. I installed openldap package i got from linuxpackages.net.
Very basic and minimual slapd.conf file.
Code:
include /etc/openldap/schema/core.schema
include /etc/openldap/schema/cosine.schema
include /etc/openldap/schema/inetorgperson.schema
loglevel 296
pidfile /var/run/slapd.pid
argsfile /var/run/slapd.args
password-hash {SSHA}
database bdb
suffix "dc=hopto,dc=org"
rootdn "cn=Manager,dc=hopto,dc=org"
rootpw {SSHA}QxZTzC3ZAYiGtpoOp+J4GkrM14XU3NC8
directory /var/ldap/hopto.org
mode 0600
index objectClass eq
index cn,sn,mail pres,eq
cachesize 2000
access to *
by * read
I can start slapd, but the I can't kill it, even with -sigkill.
Tried:
Code:
kill -INT `cat /var/run/slapd.pid`
kill -s sigkill `pidof slapd`
killall slapd
Have to reboot to stop it. Then if I run a db_recover, I get an error that the logfile is of an unsupported version.
So my question is could the different versions of db that come stock with slack be messing me up here?
If not, any ideas would be helpful, as I'm new to openldap.