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

Re: Slapd in RedHat 6.2



> If you want to make subtree searches work faster (where the search base is not
> the suffix), then create an index for 'dn'.  Be warned, however, that this
> will create a *very* large index file, possibly hundreds of megabytes.
> 
> Let us know how the Pth goes.
> 
> Randy
> 

Yes,I have already create an index for 'dn'.

I use pth-1.3.6 and openldap-stable-20000704.tgz.
Error in "make test".
[root@dev1 openldap-1.2.11]# ./configure --with-ldbm-api=gdbm --with-threads=pth

make depend

make

cd tests

make

Initiating LDAP tests...
>>>>> Executing all LDAP tests...
>>>>> Test Directory: .
>>>>> Backend: ldbm
>>>>> Starting test001-ldif2ldbm ...
running defines.sh . ldbm
Datadir is ./data
Cleaning up in ./test-db...
Running ldif2ldbm to build slapd database...
Starting slapd on TCP/IP port 9009...
Using ldapsearch to retrieve all the entries...
Filtering ldapsearch results...
Filtering original ldif used to create database...
Comparing filter output...
>>>>> Test succeeded
>>>>> ./scripts/test001-ldif2ldbm completed OK.
>>>>> waiting 5 seconds for things to exit

>>>>> Starting test002-populate ...
running defines.sh . ldbm
Cleaning up in ./test-db...
Starting slapd on TCP/IP port 9009...
Using ldapsearch to check that slapd is running...
Waiting 5 seconds for slapd to start...
Waiting 5 seconds for slapd to start...
Waiting 5 seconds for slapd to start...
Waiting 5 seconds for slapd to start...
Waiting 5 seconds for slapd to start...
Waiting 5 seconds for slapd to start...
Using ldapmodify to populate the database...
ldapmodify failed!
kill: (18540) - No such pid
>>>>> ./scripts/test002-populate failed (exit 1)
make: *** [all-local] Error 1