Yes. you can always display only the internal record number by using the special elementset 'zebra::mets::sysno' using SUTRS or XML record format. See
The error codes that Zebra uses are based on bib1 diagnostics, you can find a list of error codes at the following URL:
1. Zebra not properly compiled (see extended explanation below)
2. Module path incorrect in zebra-biblios.cfg (applies to Fedora/Red Hat/possibly others) (see extended explanation below)
1. this error means your zebra is not properly compiled. In order to be able to modify zebra data, one must have access to grs.xml definition.
This is provided by expat Library. (May come along with libxml2-devel) on Mandriva :
$ urpmi expat $ urpmi libexpat0-devel $ ./configure --enable-mod-grs-xml
on Debian :
$ apt-get install libexpat1-dev
You can recompile zebra. While running ./configure, one should read :
checking for XML_ParserCreate in -lexpat... yes checking expat.h usability... yes checking expat.h presence... yes checking for expat.h... yes checking for module grs-xml... shared
$ make $ make install
Then you'll have to recompile ZOOM :
perl -MCPAN -e 'install ZOOM'
will tell you that ZOOM is already installed. No problem :
cd /root/.cpan/build/ZOOM-your-version perl Makefile.PL make make install
will recompile ZOOM.
2.
Symptoms include: ERR109 when Zebrsrv receives request/NO filter modules loaded by rebuild_zebra.pl, no such record type: grs.marcxml.record in rebuild_zebra.pl
Solution:
edit zebra-biblios.cfg find: modulePath: /usr/lib/idzebra-2.0/modules REPLACE with: modulePath: /usr/local/lib/idzebra-2.0/modules (…or whatever the correct path to …/idzebra-2.0/modules is)
Save .cfg file, run rebuild_zebra.pl and restart zebrasrv
OPAC and searches will now work as filter modules load and indexes are created.
If you get a grs-xml error while you're sure you had expat & compiled zebra properly, note that grs-xml is a module loaded by zebra (it's not statically compiled unless you specify it), so, you have to add the followind line to your zebra-biblios.cfg file :
modulePath:/usr/local/lib/idzebra/modules/
(check for you path, it depends on your distro)
when you try to index your database, if you get : <quote> zebraidx: error while loading shared libraries: libyaz.so.2: cannot open shared object file: No such file or directory </quote> There are 2 possibilities :
In this case :
That should be enough
I'm using a PowerMac G4 running OS 10.4.8, as my prototype box Its telling me I need to install the ZOOM perl mod, to install the system. However, CPAN will not install this module on my Mac! I am getting an error that reads:
Unable to call script: yaz-config
I know that the Z3950 module doesn't work on OS X, and it looks like this is dependent on that module, but I was under the understanding that I could choose not to use this module, if I so pleased. Any thoughts? Thanks all!
Solution: be aware that Mac users do not have /usr/local/bin in path. You should then add it to your path.