[Date Prev][Date Next] [Chronological] [Thread] [Top]

make test failure when running under cygwin

I have successfully compiled openldap on my Win2K box under cygwin (version 1.3.6). I am getting an error when I do a 'make test' Here is the output of the make test:
$ make test
cd tests; make test
make[1]: Entering directory `/home/kperrier/src/openldap-2.0.18/tests'
ln: `./data': cannot overwrite directory
make[1]: [test-ldbm] Error 1 (ignored)
ln: `./schema': File exists
make[1]: [test-ldbm] Error 1 (ignored)
Initiating LDAP tests for LDBM...
>>>>> Executing all LDAP tests...
>>>>> Test Directory: .
>>>>> Backend: ldbm
>>>>> Starting test000-rootdse ...
running defines.sh . ldbm
Datadir is ./data
Cleaning up in ./test-db...
Starting slapd on TCP/IP port 9009...
Using ldapsearch to retrieve all the entries...
namingContexts: o=OpenLDAP Project,l=Internet
supportedControl: 2.16.840.1.113730.3.4.2
supportedLDAPVersion: 2
supportedLDAPVersion: 3
subschemaSubentry: cn=Subschema

>>>>> Test succeeded
>>>>> ./scripts/test000-rootdse completed OK.
>>>>> waiting 10 seconds for things to exit

>>>>> Starting test001-slapadd ...
running defines.sh . ldbm
Datadir is ./data
Cleaning up in ./test-db...
Running slapadd to build slapd database...
gdbm fatal: read error
slapadd failed (255)!
>>>>> ./scripts/test001-slapadd failed (exit 255)
make[1]: *** [test-ldbm] Error 255
make[1]: Leaving directory `/home/kperrier/src/openldap-2.0.18/tests'
make: *** [test] Error 2

kperrier@SEAWOLF ~/src/openldap-2.0.18

I searched the archive for clues and I saw an a post that tests/test-db directory there is a master.log file. If I go into that directory and I attempt to an ls -la, I get this error:
$ ls -la
ls: master.log: Permission denied
total 25
drwxr-xr-x 2 kperrier None 0 Dec 18 14:56 .
drwxr-xr-x 7 kperrier None 0 Oct 25 10:18 ..
-rw-r--r-- 1 kperrier None 7168 Dec 19 12:09 cn.gdbm
-rw-r--r-- 1 kperrier None 3909 Dec 19 12:09 dn2id.gdbm
-rw-r--r-- 1 kperrier None 6152 Dec 19 12:09 id2entry.gdbm
-rw-r--r-- 1 kperrier None 3072 Dec 19 12:09 nextid.gdbm
-rw-r--r-- 1 kperrier None 3248 Dec 19 12:09 objectClass.gdbm

kperrier@SEAWOLF ~/src/openldap-2.0.18/tests/test-db
$ cat master.log
cat: master.log: Permission denied

kperrier@SEAWOLF ~/src/openldap-2.0.18/tests/test-db

As you can see, I cannot see the file or cat out the contents of it. If I do a ps, the slapd process is still running. I have to kill -9 it stop the process, kill and kill -HUP do not work.

Does anyone have any ideas or pointers on where I can go or what I can do to get openldap working?

"We sleep safe in our beds because rough men stand ready in the night to
visit violence on those who would do us harm"

                                               -- George Orwell