I was able to turn the zebra server on and manually reindex with this command: sudo -u koha -H env KOHA_CONF=/etc/koha/koha-conf.xml PERL5LIB=/usr/share/koha/lib /usr/share/koha/bin/migration_tools/ rebuild_zebra.pl -b -r -v After a cataloging session, I can run the above command and the new materials are searchable. However, the cron job doesn't seem to index automatically after each record. The cron job is locted in /etc/cron.d and is named koha and contains the following: KOHAPATH=/usr/share/koha PERL5LIB=$KOHAPATH/lib KOHA_CONF=/etc/koha/koha-conf.xml # The cronjobs #1 * * * * koha $KOHAPATH/bin/migration_tools/rebuild_zebra.pl -a -b -z 2>&1 > /dev/null I am puzzled by this. The koha file is owned by root in the root group. Any ideas as to why the indexing doesn't work automatically? -- George Masters Network Engineer/Trainer 408.242.4632
Op 03-08-12 06:46, George Masters schreef:
#1 * * * * koha $KOHAPATH/bin/migration_tools/rebuild_zebra.pl -a -b -z 2>&1 > /dev/null
I am puzzled by this. The koha file is owned by root in the root group. Any ideas as to why the indexing doesn't work automatically?
Your cron job starts with a '#' which means that it is ignored. Try removing that. -- Robin Sheat Catalyst IT Ltd. ✆ +64 4 803 2204 GPG: 5957 6D23 8B16 EFAB FEF8 7175 14D3 6485 A99C EB6D
participants (2)
-
George Masters -
Robin Sheat