On 2009/01/27, at 10:10 AM, David Riggs wrote:

> On Mon, Jan 26, 2009 at 4:01 PM, Mason James
> <mason.loves.su...@gmail.com> wrote:
>>
>> On 2009/01/27, at 9:39 AM, David Riggs wrote:
>>
>>> I ran the following commands (Ubuntu 8.04) and still get items  
>>> showing
>>> up in search results. Clicking on the item gives a 404 error.
>>>
>>> $> sudo su - koha
>>> $> export PERL5LIB=/usr/share/koha/lib/
>>> $> export KOHA_CONF=/etc/koha/koha-conf.xml
>>> $> perl -I /usr/share/koha/lib
>>> /usr/share/koha/bin/migration_tools/rebuild_zebra.pl -b -a -r
>>>
>>
>> just use 'rebuild_zebra.pl -r'
>>
>> no -a or -b  args
>>
>
> Apparently that's not allowed.
>
> $> k...@linimac:~$ perl  /usr/share/koha/bin/migration_tools/ 
> rebuild_zebra.pl -r
> Must specify -b or -a to reindex bibs or authorities
> Please do '/usr/share/koha/bin/migration_tools/rebuild_zebra.pl
> --help' to see usage.
>
> Thanks,
> - DR


ah, ok

try a 'zebraidx -c /yourpath/koha-conf.xml init' then

FYI: have a peek at line 488-ish of the rebuild script

   system("zebraidx -c $zebra_config -g $record_format -d  
$zebra_db_name     init") if $reset_index;

_______________________________________________
Koha-devel mailing list
Koha-devel@lists.koha.org
http://lists.koha.org/mailman/listinfo/koha-devel

Reply via email to