SORT and VLV tags in directory server access logs

Hi all,

I have an old version of Netscape CMS that uses a SUN Directory Server v5.2P2 as internal database.

The CMS is unable to start since yesterday.

I can see in the access log of the Directory server the following lines :

[08/Nov/2006:11:00:45 +0100] conn=1 op=517 msgId=525 - SRCH base="ou=certificaterepository,ou=ca,o=netscapecertificateserver" scope=1 filter="(certStatus=REVOKED)" attrs=ALL

[08/Nov/2006:11:00:48 +0100] conn=1 op=517 msgId=525 - SORT serialno (15632)

[08/Nov/2006:11:01:03 +0100] conn=1 op=517 msgId=525 - VLV 5:10:3838:15632 3839:15632 (0)

[08/Nov/2006:11:01:03 +0100] conn=1 op=517 msgId=525 - RESULT err=0 tag=101 nentries=16 etime=18 notes=U

When I perform an ldapsearch with option -S (for sort) :

./ldapsearch -p 5389 -D "cn=directory manager" -w xxxxxxx -b "ou=certificaterepository,ou=ca,o=netscapecertificateserver" -S serialno "(certStatus=REVOKED)"

I get the following lines in the access log :

[08/Nov/2006:11:04:24 +0100] conn=18 op=0 msgId=1 - BIND dn="cn=directory manager" method=128 version=3

[08/Nov/2006:11:04:24 +0100] conn=18 op=0 msgId=1 - RESULT err=0 tag=97 nentries=0 etime=0 dn="cn=directory manager"

[08/Nov/2006:11:04:24 +0100] conn=18 op=1 msgId=2 - SRCH base="ou=certificaterepository,ou=ca,o=netscapecertificateserver" scope=2 filter="(certStatus=REVOKED)" attrs=ALL

[08/Nov/2006:11:04:36 +0100] conn=18 op=1 msgId=2 - RESULT err=0 tag=101 nentries=15630 etime=12

Therefore I would like to understand what is the meaning of the lines :

and in particular "VLV 5:10:3838:15632 3839:15632"

08/Nov/2006:11:01:03 +0100] conn=1 op=517 msgId=525 - VLV 5:10:3838:15632 3839:15632 (0)

[08/Nov/2006:11:01:03 +0100] conn=1 op=517 msgId=525 - RESULT err=0 tag=101 nentries=16 etime=18 notes=U

I guess , this corresponds to a specific sort that is not indexed (notes=U).

Thanks

[1956 byte] By [franck3364] at [2007-11-26 11:20:11]
# 1
See: http://docs.sun.com/source/816-6698-10/indexing.html#14324Short answer is that the client is requesting a VLV search - and in order for that search to be indexed, a specific index needs to be built for it.
Capitan_Holy_Hippie at 2007-7-7 3:35:33 > top of Java-index,Web & Directory Servers,Directory Servers...