[Koha] Koha 3.16.00: zebra index - search of new entries failed

Katrin Fischer Katrin.Fischer.83 at web.de
Fri Apr 10 09:41:50 NZST 2015


Hi Sebastian,

sadly, I know nothing about Fedora, but I noticed some things:

- you are running rebuild_zebra.pl without the -z switch. This means you
are doing a full reindex of your system every time, instead of just
processing changed and new records

- running the script as root would cause problems on other distributions
- it's known to mess with the permissions on your index files and could
cause the problems you see. Normally the rule is that the process should
always be run by your Koha user.

Hope this helps,

Katrin

Am 03.04.2015 um 21:17 schrieb Sebastian Krieg:
> Hello Koha,
> 
> I use koha with Fedora 21 Server and I have a problem after adding new entries.
> After adding the new entry will not shown by search. The search of new entries
> works only after a manually execution of the Zebra Index. 
> 
> The Zebra Index normally will execute as an cron job every 2 minutes by the user
> koha with this little skript:
> ---
> #!/bin/bash
> export KOHA_CONF=/etc/koha/koha-conf.xml
> export PERL5LIB=/var/www/koha/lib
> export XDG_RUNTIME_DIR=/tmp/
> perl /var/www/koha/bin/migration_tools/rebuild_zebra.pl --run-as-root -b -r -v
> ---
> 
> The skript has the rights:
> ---
> -rwxr-xr--    1 root koha   205 28. Mar 08:27 koha-index-cron.sh
> ---
> 
> In the Logfile /var/log/cron you will find every 2 minutes this entry
> ---
> […] CROND[23187]: (koha) CMD (koha bash /etc/koha/koha-index-cron.sh)
> ---
> and no errors.
> 
> After searching a new added entry the /var/log/koha/zebrasrv.log shows the
> entry:
> ---
> 20:39:43-03/04 [session] Session - OK 13 unix:/var/run/koha/zebradb/bibliosocket
> PID=1447
> 20:39:43-03/04 [request] Auth idPass kohauser -
> 20:39:43-03/04 [request] Init OK - ID:81 Name:ZOOM-C/YAZ Version:5.8.1
> 49a4d29a88820425b7d88b8550ca5e4bf5a42adb
> 20:39:43-03/04 [log] dict_lookup_grep:
> (\x01I\x01\x03)(r(a|\xC3\xA1|\xC3\xA0|\xC3\xA3|\xC3\xA5|\xC3\xA2|\xC4\x83|\xC4\x85|\xC8\xA7|\xC7\x8E|\xC8\x81|\xC8\x83)d(i|\xC3\xAD|\xC3\xAC|\xC3\xAE|\xE1\xBB\x8B|\xC4\xA9|\xC4\xAD|\xC4\xAF|\xC7\x90|\xC8\x89|\xC8\x8B)(o|\xC3\xB3|\xC3\xB2|\xC3\xB5|\xC3\xB4|\xC5\x8F|\xC7\xAB|\xC8\xAF|\xC5\x91|\xC7\x92|\xC8\x8D|\xC8\x8F).*)
> 20:39:43-03/04 [request] Search biblios OK 2 1 1+0 RPN @attrset Bib-1 @attr
> 1=1016 @attr 4=6 @attr 5=1 [SEARCH TERM]
> 20:39:43-03/04 [log] /etc/koha/zebradb/biblios/etc/dom-config-marc.xml dom
> filter: loading config file /etc/koha/zebradb/biblios/etc/dom-config-marc.xml
> 20:39:44-03/04 [request] Present OK -   1 1+1 
> 20:39:44-03/04 [request] Present OK -   1 2+1 
> 20:39:44-03/04 [session] Connection closed by client
> 20:39:44-03/04 [warn] ir_session (exception)
> ---
> 
> There is only one hint of the failed search:
> ---
> 20:39:44-03/04 [warn] ir_session (exception)
> ---
> 
> Has anyone an idea?
> 
> 
> Thanks Sebastian
> 
> 
> ___
> mailto:sebastian.krieg at tuz-eisenach.de
> _______________________________________________
> Koha mailing list  http://koha-community.org
> Koha at lists.katipo.co.nz
> http://lists.katipo.co.nz/mailman/listinfo/koha
> 



More information about the Koha mailing list