Re: [Koha] Error no search results
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 -b -r -v -x then ./bin/migration_tools/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 8a980f7051e22ca1e4fac0395ed7f8647cd9eda3 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@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@host62 ~]#
-- -Carlos _______________________________________________ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz 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>
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@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@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@host62 ~]#
-- -Carlos ______________________________**_________________ Koha mailing list http://koha-community.org Koha@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
Carlos Rodrigo Cordova Sandoval schreef op wo 07-11-2012 om 15:33 [-0300]:
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
I _think_ that this means that Koha is attempting to use the wrong password to access zebra. Check that the user and passwords in the "serverinfo" blocks in koha-conf.xml are correct. -- Robin Sheat Catalyst IT Ltd. ✆ +64 4 803 2204 GPG: 5957 6D23 8B16 EFAB FEF8 7175 14D3 6485 A99C EB6D
Robin, the username and password are configured correctly, verify where the zebra configuration file with user and pass <serverinfo id="biblioserver"> <ccl2rpn>/etc/koha/zebradb/ccl.properties</ccl2rpn> <user>kohauser</user> <password>zebrastripes</password> </serverinfo> and config zebradb [root@localhost zebradb]# cat /etc/koha/zebradb/etc/passwd kohauser:zebrastripes [root@localhost zebradb]# -Carlos 2012/11/7 Robin Sheat <robin@catalyst.net.nz>
Carlos Rodrigo Cordova Sandoval schreef op wo 07-11-2012 om 15:33 [-0300]:
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
I _think_ that this means that Koha is attempting to use the wrong password to access zebra. Check that the user and passwords in the "serverinfo" blocks in koha-conf.xml are correct.
-- Robin Sheat Catalyst IT Ltd. ✆ +64 4 803 2204 GPG: 5957 6D23 8B16 EFAB FEF8 7175 14D3 6485 A99C EB6D
_______________________________________________ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha
-- -Carlos
any suggestions -carlos 2012/11/8 Carlos Rodrigo Cordova Sandoval <carlos.cordovas@gmail.com>
Robin,
the username and password are configured correctly, verify where the zebra configuration file with user and pass
<serverinfo id="biblioserver"> <ccl2rpn>/etc/koha/zebradb/ccl.properties</ccl2rpn> <user>kohauser</user> <password>zebrastripes</password> </serverinfo>
and config zebradb
[root@localhost zebradb]# cat /etc/koha/zebradb/etc/passwd kohauser:zebrastripes [root@localhost zebradb]#
-Carlos
2012/11/7 Robin Sheat <robin@catalyst.net.nz>
Carlos Rodrigo Cordova Sandoval schreef op wo 07-11-2012 om 15:33 [-0300]:
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
I _think_ that this means that Koha is attempting to use the wrong password to access zebra. Check that the user and passwords in the "serverinfo" blocks in koha-conf.xml are correct.
-- Robin Sheat Catalyst IT Ltd. ✆ +64 4 803 2204 GPG: 5957 6D23 8B16 EFAB FEF8 7175 14D3 6485 A99C EB6D
_______________________________________________ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha
-- -Carlos
-- -Carlos
the problem was that I had uncommented the following lines in the restart and discuss with zebra look and it worked. /etc/koha/koha-conf.xml <!-- <listen id="biblioserver" >tcp:localhost:9998/bibliosocket</listen> <listen id="authorityserver" >tcp:localhost:9999/authoritysocket</listen> --> -Carlos 2012/11/9 Carlos Rodrigo Cordova Sandoval <carlos.cordovas@gmail.com>
any suggestions
-carlos
2012/11/8 Carlos Rodrigo Cordova Sandoval <carlos.cordovas@gmail.com>
Robin,
the username and password are configured correctly, verify where the zebra configuration file with user and pass
<serverinfo id="biblioserver"> <ccl2rpn>/etc/koha/zebradb/ccl.properties</ccl2rpn> <user>kohauser</user> <password>zebrastripes</password> </serverinfo>
and config zebradb
[root@localhost zebradb]# cat /etc/koha/zebradb/etc/passwd kohauser:zebrastripes [root@localhost zebradb]#
-Carlos
2012/11/7 Robin Sheat <robin@catalyst.net.nz>
Carlos Rodrigo Cordova Sandoval schreef op wo 07-11-2012 om 15:33 [-0300]:
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
I _think_ that this means that Koha is attempting to use the wrong password to access zebra. Check that the user and passwords in the "serverinfo" blocks in koha-conf.xml are correct.
-- Robin Sheat Catalyst IT Ltd. ✆ +64 4 803 2204 GPG: 5957 6D23 8B16 EFAB FEF8 7175 14D3 6485 A99C EB6D
_______________________________________________ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha
-- -Carlos
-- -Carlos
-- -Carlos
participants (3)
-
Carlos Rodrigo Cordova Sandoval -
Paul -
Robin Sheat