[Koha] Error no search results

Carlos Rodrigo Cordova Sandoval carlos.cordovas at gmail.com
Thu Nov 8 07:33:26 NZDT 2012


Paul
sugeristes make changes, reindex all zabra but still throws me,



log result search


15:23:46-07/11 zebrasrv(1) [loglevel] returning log bit 0x4000 for
'session'
15:23:46-07/11 zebrasrv(1) [loglevel] returning NO log bit for
'sessiondetail'
15:23:46-07/11 zebrasrv(1) [loglevel] returning log bit 0x8000 for
'request'
15:23:46-07/11 zebrasrv(1) [loglevel] returning NO log bit for
'requestdetail'
15:23:46-07/11 zebrasrv(1) [session] Session - OK 1 tcp:::1 1856
15:23:46-07/11 zebrasrv(1) [debug] ir_session (input)
15:23:46-07/11 zebrasrv(1) [debug] Got PDU, 117 bytes: lead=B4 73 83
15:23:46-07/11 zebrasrv(1) [request] Auth idPass kohauser -
15:23:46-07/11 zebrasrv(1) [request] Init ERROR 1 ID:81 Name:ZOOM-C/YAZ
Version:3.0.49 8a980f7051e22ca1e4fac0395ed7f8647cd9eda3
15:23:46-07/11 zebrasrv(1) [debug]   result immediately available
15:23:46-07/11 zebrasrv(1) [debug] ir_session (output)
15:23:46-07/11 zebrasrv(1) [debug] Wrote PDU, 145 bytes
15:23:46-07/11 zebrasrv(1) [session] Timeout. Closing connection


log conect to zebra
# yaz-client
Z> auth kohauser zebrastripes
Authentication set to User (kohauser), Pass (zebrastripes)
Z> open unix:/var/run/koha/zebradb/bibliosocket
Connecting...OK.
Sent initrequest.
Connection accepted by v3 target.
ID     : 81
Name   : Zebra Information Server/GFS/YAZ
Version: 3.0.49 8a980f7051e22ca1e4fac0395ed7f8647cd9eda3
Options: search present delSet triggerResourceCtrl scan sort
extendedServices namedResultSets
Elapsed: 0.001777
Z>  base biblios
Z> f computer
Sent searchRequest.
Received SearchResponse.
Search was a success.
Number of hits: 15, setno 1
SearchResult-1: term=computer cnt=15
records returned: 0
Elapsed: 0.030415
Z> s 1
Sent presentRequest (1+1).
Records: 1
[biblios]Record type: USmarc
00356nam a2200133Ia 4500
008 120911s9999    xx            000 0 und d
082 04 $a 004.22/M984/1990
100 1  $a Murray, William D.
245 10 $a Computer and digital system architecture
260    $a Englewood Cliffs
260    $b Prentice Hall
260    $c 1990
650 7  $a ARQUITECTURA DE COMPUTADORAS
999    $c 28 $d 28

nextResultSetPosition = 2
Elapsed: 0.075386


what else I can make a suggestion.

thanks

-Carlos


2012/11/6 Paul <paul.a at aandc.org>

> At 04:01 PM 11/6/2012 -0300, Carlos Rodrigo Cordova Sandoval wrote:
>
>> hello,
>>
>> I have problem when searching the catalog gives results not me, i am using
>> zebra and koha 3.8.06, attached the logs, and a picture showing that the
>> records are not looking but thank you very much.
>>
>
> It looks as though you are trying to re-index as root, not user=koha (or
> whatever name you set up during install for zebra indexing); also, try
> doing it in two steps, as biblios need XML [-x]:
>
> su koha
> cd usr/share/koha
> ./bin/migration_tools/rebuild_**zebra.pl <http://rebuild_zebra.pl> -b -r
> -v -x
> then
> ./bin/migration_tools/rebuild_**zebra.pl <http://rebuild_zebra.pl> -a -r
> -v
>
> Best - Paul
>
>
>  Log
>>
>> zebrasrv -v all -f /etc/koha/koha-conf.xml
>> 15:46:39-06/11 zebrasrv(1) [loglevel] returning log bit 0x4000 for
>> 'session'
>> 15:46:39-06/11 zebrasrv(1) [loglevel] returning NO log bit for
>> 'sessiondetail'
>> 15:46:39-06/11 zebrasrv(1) [loglevel] returning log bit 0x8000 for
>> 'request'
>> 15:46:39-06/11 zebrasrv(1) [loglevel] returning NO log bit for
>> 'requestdetail'
>> 15:46:39-06/11 zebrasrv(1) [session] Session - OK 1 tcp:::1 8232
>> 15:46:39-06/11 zebrasrv(1) [debug] ir_session (input)
>> 15:46:39-06/11 zebrasrv(1) [debug] Got PDU, 117 bytes: lead=B4 73 83
>> 15:46:39-06/11 zebrasrv(1) [request] Auth idPass kohauser -
>> 15:46:39-06/11 zebrasrv(1) [request] Init ERROR 1 ID:81 Name:ZOOM-C/YAZ
>> Version:3.0.49 8a980f7051e22ca1e4fac0395ed7f8**647cd9eda3
>> 15:46:39-06/11 zebrasrv(1) [debug]   result immediately available
>> 15:46:39-06/11 zebrasrv(1) [debug] ir_session (output)
>> 15:46:39-06/11 zebrasrv(1) [debug] Wrote PDU, 143 bytes
>> 15:46:39-06/11 zebrasrv(1) [session] Timeout. Closing connection
>>
>> zebra reindex
>> [root at host62 ~]# /usr/share/koha/bin/migration_**tools/rebuild_zebra.pl-b -a
>> -r -v
>> Zebra configuration information
>> ==============================**==
>> Zebra biblio directory      = /var/lib/koha/zebradb/biblios
>> Zebra authorities directory = /var/lib/koha/zebradb/**authorities
>> Koha directory              = /usr/share/koha/intranet/cgi-**bin
>> BIBLIONUMBER in :     999$c
>> BIBLIOITEMNUMBER in : 999$d
>> ==============================**==
>> ====================
>> exporting authority
>> ====================
>>
>> Records exported: 0
>> ====================
>> REINDEXING zebra
>> ====================
>> ====================
>> exporting biblio
>> ====================
>> 401...........................**..............................**
>> ..............................**.............
>> Records exported: 454
>> ====================
>> REINDEXING zebra
>> ====================
>> ====================
>> CLEANING
>> ====================
>> [root at host62 ~]#
>>
>> --
>> -Carlos
>> ______________________________**_________________
>> Koha mailing list  http://koha-community.org
>> Koha at lists.katipo.co.nz
>> http://lists.katipo.co.nz/**mailman/listinfo/koha<http://lists.katipo.co.nz/mailman/listinfo/koha>
>>
>
> ---
> Maritime heritage and history, preservation and conservation,
> research and education through the written word and the arts.
> <http://NavalMarineArchive.com**> and <http://UltraMarine.ca>
>
>


-- 
-Carlos


More information about the Koha mailing list