Good morning, A few days ago it was suggested to me that my environmental variables Koha_conf and PERL5LIB were not set up, which may lead to the problems I had running the migration tools (bulkmarcimport, authority import) also the zebra indexing. It seems to me that my environmental variables are set up correctly. Here we have run the echo command and also tried bulk authority import again. If this printout below suggests anything new, I am grateful to hear your thoughts. Thanks again! koha@Koha3:~/kohaclone/misc/migration_tools$ echo $KOHA_CONF && echo $PERL5LIB /home/koha/koha-dev/etc/koha-conf.xml /etc/perl/C4 koha@Koha3:~/kohaclone/misc/migration_tools$ ./bulkauthimport.pl -file bulkauthimport.xml Use of uninitialized value $conf_fname in concatenation (.) or string at /etc/perl/C4/Context.pm line 321. read_config_file() returned undef at /etc/perl/C4/Context.pm line 321. Use of uninitialized value $conf_fname in concatenation (.) or string at /etc/perl/C4/Context.pm line 321. read_config_file() returned undef at /etc/perl/C4/Context.pm line 321. Use of uninitialized value $conf_fname in concatenation (.) or string at /etc/perl/C4/Context.pm line 321. read_config_file() returned undef at /etc/perl/C4/Context.pm line 321. Use of uninitialized value $conf_fname in concatenation (.) or string at /etc/perl/C4/Context.pm line 321. read_config_file() returned undef at /etc/perl/C4/Context.pm line 321. Use of uninitialized value $conf_fname in concatenation (.) or string at /etc/perl/C4/Context.pm line 321. read_config_file() returned undef at /etc/perl/C4/Context.pm line 321. Can't call method "config" on unblessed reference at /etc/perl/C4/Context.pm line 655. Compilation failed in require at /etc/perl/C4/Items.pm line 30. Compilation failed in require at /etc/perl/C4/XSLT.pm line 22. BEGIN failed--compilation aborted at /etc/perl/C4/XSLT.pm line 22. Compilation failed in require at /etc/perl/C4/Search.pm line 27. BEGIN failed--compilation aborted at /etc/perl/C4/Search.pm line 27. Compilation failed in require at /etc/perl/C4/AuthoritiesMarc.pm line 24. BEGIN failed--compilation aborted at /etc/perl/C4/AuthoritiesMarc.pm line 24. Compilation failed in require at ./bulkauthimport.pl line 20. BEGIN failed--compilation aborted at ./bulkauthimport.pl line 20. I am also interested in the response to Luis Diaz recent question, about how to make sure that zebra indexing is actually working when you have chosen to use the zebra indexing after the initial web installer setup (turning nozebra sys pref OFF, then running rebuild_zebra.pl - is this all it takes?) Thanks again, Amy Amy C. Schuler Manager of Information Services Cary Institute of Ecosystem Studies PO Box AB Millbrook, NY 12545 (845) 677-7600 x164 schulera@caryinstitute.org<mailto:schulera@ecostudies.org>
Hi Amy, 2010/1/7 Amy Schuler <schulera@caryinstitute.org>:
koha@Koha3:~/kohaclone/misc/migration_tools$ ./bulkauthimport.pl -file bulkauthimport.xml
You need to supply the -m parameter: '-m MARCXML' as I assume your records are in xml format from your file extension. See 'perl bulkauthimport.pl -h' for more info on commandline params.
I am also interested in the response to Luis Diaz recent question, about how to make sure that zebra indexing is actually working when you have chosen to use the zebra indexing after the initial web installer setup (turning nozebra sys pref OFF, then running rebuild_zebra.pl – is this all it takes?)
You can 'sudo ps -ef | grep zebra' at the command line to verify that the daemon is running. Searches that work with the nozebra syspref off should also indicate zebra is running and healthy. Kind Regards, Chris
participants (2)
-
Amy Schuler -
Chris Nighswonger