[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: Test 001 fails, ldapsearch hangs (ITS#226)
I didn't change the .conf files is that a problem? The INSTALL didn't
say I had to before running the tests.
Kurt Zeilenga wrote:
>
> Suggest checking 'netstat -f inet' to ensure port 9009 is not in use.
netstat does show 9009 when doing the tests:
[b-coons]$ netstat
Active Internet connections (w/o servers)
Proto Recv-Q Send-Q Local Address Foreign Address
State
tcp 0 1 Nap-OEC.Max2-143.a:1068 localhost:9009
SYN_SENT
Active UNIX domain sockets (w/o servers)
Proto RefCnt Flags Type State I-Node Path
unix 1 [ ] STREAM CONNECTED 416 @00000037
and it does not show 9009 active after the tests fail.
> Suggest checking 'ps -xa' to ensure no errant slapd is running.
no errant slapd's
>
> Set SLAPD_DEBUG environment variable to 13.
>
> Then run the test suite once. Example netstat/ps to see if slapd
> is still active after failure.
slapd is not active after failure.
> Examine test-db/master.log and
> test-db/ldapsearch.out for hints of what might be going wrong.
>
> If no hints, repeat with SLAPD_DEBUG set to 255. This will generate
> LOTS of output.
I did 255 and get this:
[test-db]# tail -f master.log
line 16 (suffix "o=University of Michigan, c=US")
line 17 (directory ./test-db)
line 18 (rootdn "cn=Manager, o=University of Michigan, c=US")
line 19 (rootpw secret)
line 20 (index cn,sn,uid pres,eq,approx)
line 21 (index default none)
line 22 (lastmod on)
slapd starting
listening for connections on 9, activity on:
before select active_threads 0
[test-db]# ls -l ldapsearch.out
-rw-rw-r-- 1 root root 0 Jul 21 19:05 ldapsearch.out
and here is the whle tests-db directory:
[test-db]# ls -l
total 174
-rw-rw-r-- 1 root root 3 Jul 21 19:08 NEXTID
-rw------- 1 root root 13672 Jul 21 19:05 cn.gdbm
-rw------- 1 root root 39598 Jul 21 19:05 dn.gdbm
-rw------- 1 root root 13659 Jul 21 19:05 dn2id.gdbm
-rw------- 1 root root 12565 Jul 21 19:05 id2children.gdbm
-rw------- 1 root root 26836 Jul 21 19:05 id2entry.gdbm
-rw-rw-r-- 1 root root 0 Jul 21 19:05 ldapsearch.out
-rw-rw-r-- 1 root root 14915 Jul 21 19:08 master.log
-rw------- 1 root root 14026 Jul 21 19:05 objectclass.gdbm
-rw-rw-r-- 1 root root 67 Jul 21 19:05 slapd.args
-rw-rw-r-- 1 root root 4 Jul 21 19:05 slapd.pid
-rw------- 1 root root 12774 Jul 21 19:05 sn.gdbm
-rw------- 1 root root 12742 Jul 21 19:05 uid.gdbm
Thanks,
Brian