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

Re: (ITS#3447) HEAD proxycache is not sending answerable queries



Your log here does not indicate that the problem has the same cause as 
ITS#3144. On your second search, the internal search got an error 10 
(LDAP_REFERRAL) which indicates a problem with the cache DB's naming 
context. Of course, such problems should never occur. It would help to 
see your slapd.conf, the actual ldapsearch for the queries, and a repeat 
of this test with all debugging enabled.

dieter@dkluenter.de wrote:

>Full_Name: Dieter Kluenter
>Version: HEAD
>OS: Linux
>URL: ftp://ftp.openldap.org/incoming/
>Submission from: (NULL) (217.227.20.120)
>
>
>Hi,
>I think I have to reactivate ITS#3144.
>back-ldap with overlay proxycache is honoring the first query and presents the
>result.
>When searching with the same query a second time, no results are shown.
>
>###### first search ###########
>send_ldap_result: conn=0 op=4 p=3
>send_ldap_result: err=32 matched="" text=""
>ENTRY ADDED/MERGED, CACHED ENTRIES=1
>STORED QUERIES = 1
>Added query expires at 1103319976
>Lock AQ index = 0
>TEMPLATE 0 QUERIES++ 1
>Unlock AQ index = 0 
>Base of added query = ou=adressbuch,dc=orange,dc=de
>send_ldap_response: msgid=5 tag=101 err=0
>################################
>
>###### second  search ###########
>query template of incoming query = (&(objectClass=)(sn=))
>Entering QC, querystr = (&(objectClass=evolutionPerson)(sn=hein))
>Lock QC index = 0
>QUERY ANSWERABLE
>=> hdb_search
>bdb_dn2entry("ou=adressbuch,dc=orange,dc=de")
>send_ldap_result: conn=1 op=4 p=3
>send_ldap_result: err=10 matched="" text=""
>send_ldap_response: msgid=5 tag=101 err=32
>ber_get_next
>sasl_read: want=4 error=Resource temporarily unavailable
>ldap_read: want=8 error=Resource temporarily unavailable
>[...]
>ldap_write: want=14, written=14
>  0000:  30 0c 02 01 05 65 07 0a  01 20 04 00 04 00         0....e... ....    
>conn=1 op=4 SEARCH RESULT tag=101 err=32 nentries=0 text=
>daemon: select: listen=11 active_threads=0 tvp=zero
>daemon: activity on 1 descriptors
>daemon: activity on: 18r
>daemon: read activity on 18
>connection_get(18)
>connection_get(18): got connid=1
>connection_read(18): checking for input on id=1
>###################################
>
>
>-Dieter
>
>
>
>
>  
>


-- 
  -- Howard Chu
  Chief Architect, Symas Corp.       Director, Highland Sun
  http://www.symas.com               http://highlandsun.com/hyc
  Symas: Premier OpenSource Development and Support