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

Sebastian Krieg sebastian.krieg at tuz-eisenach.de
Sat Apr 4 08:17:50 NZDT 2015

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:
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
20:39:43-03/04 [session] Session - OK 13 unix:/var/run/koha/zebradb/bibliosocket
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
20:39:43-03/04 [log] dict_lookup_grep:
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

More information about the Koha mailing list