Hello,

 

I am attempting to install openldap (latest version 2.6.1) on windows using Cygwin where I have installed dependencies of gcc core and make in order to get configure to run. I then run configure from a Cygwin terminal (without any arguments). Configure seems to run fine, and so does make depend, and make. Then when I attempt to run make test (or slapd with any other well formatted slapd.conf file) I get the following error message. I have turned on the highest level of logging and don’t get any additional useful information and have been going at this for a couple days now without any luck. I have tried manipulating permissions on the db folder as well as using different folder names and locations. I can see the lock.mdb file being generated in the /tests/testrun/db.1.a  folder, but nothing else. Any insight or help would be very appreciated.

 

620dab00.2d2e09dc 0x800000010 config_build_entry: "olcDatabase={2}monitor"

620dab00.2d2e359c 0x800000010 slap_get_csn: conn=-1 op=0 generated new csn=20220217015512.758001Z#000000#000#000000 manage=0

620dab00.2d2ecdf4 0x800000010 backend_startup_one: starting "o=OpenLDAP Project,l=Internet"

620dab00.2d2edba0 0x800000010 mdb_db_open: "o=OpenLDAP Project,l=Internet"

620dab00.2d3072a8 0x800000010 mdb_db_open: database "o=OpenLDAP Project,l=Internet": dbenv_open(/tests/testrun/db.1.a).

620dab00.2d3a1894 0x800000010 mdb_db_open: database "o=OpenLDAP Project,l=Internet" cannot be opened: Invalid argument (22). Restore from backup!

620dab00.2d3a37d4 0x800000010 backend_startup_one (type=mdb, suffix="o=OpenLDAP Project,l=Internet"): bi_db_open failed! (22)

620dab00.2d3a42c4 0x800000010 slapd shutdown: initiated

620dab00.2d3c25f8 0x800000010 slapd destroy: freeing system resources.

620dab00.2d5278d0 0x800000010 slapd stopped.

 

Thanks,

Josh