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

