I have both OpenLDAP 2.3.11 and OpenLDAP 2.3.12 compiled on a Suse 9.3
box with the same configure line. 2.3.11 compiles and runs fine without
any problems. 2.3.12 on the other hand compiles fine too but when I try
to run it it throws the following error in the logs.
Nov 23 11:22:00 dev1 slapd[22700]: bdb_db_open: unclean shutdown
detected; attem pting recovery.
Nov 23 11:22:00 dev1 slapd[22700]: bdb_db_open:
dbenv_open(/opt/openldap/2.3.12/ var/openldap-data)
Nov 23 11:22:00 dev1 slapd[22700]: bdb(o=mycompany): Berkeley DB li brary
configured to support only private environments
Nov 23 11:22:00 dev1 slapd[22700]: bdb_db_open: Recovery needed but
environment is missing - assuming recovery was done manually...
Nov 23 11:22:00 dev1 slapd[22700]: bdb(o=mycompany): Berkeley DB li brary
configured to support only private environments
Nov 23 11:22:00 dev1 slapd[22700]: bdb_db_open: dbenv_open failed:
Invalid argum ent (22)
Nov 23 11:22:00 dev1 slapd[22700]: backend_startup_one: bi_db_open
failed! (22)
Nov 23 11:22:00 dev1 slapd[22700]: slapd shutdown: initiated
Nov 23 11:22:00 dev1 slapd[22700]: ==> unique_close
Nov 23 11:22:00 dev1 slapd[22700]: slapd destroy: freeing system
resources.
Nov 23 11:22:00 dev1 slapd[22700]: slapd stopped.
Nov 23 11:22:00 dev1 slapd[22700]: connections_destroy: nothing to
destroy.