User manual
Koha's Web Installer, Crontab, and Other Server Configurations
Add the
zebrasry
command to the file somewhere near the end of the file
as follows:
# script with local commands to be executed from init on system startup
# Here you should add things, that should happen directly after booting
# before we're going to the first run level.
/usr /bin /zebrasry -f /etc /koha -dev /etc /koha- conf.xml &
Note the use of the & character at the end of the
zebrasry
command; this tells the
command to run silently in the background.
Configuring the correct SAX
parser
Koha uses Simple API for XML (SAX) parsers to process XML data. It is possible
that multiple XML parsers are installed on the server. We need to use the
LibXML:: SAX: : Parser.
The other parsers such as
XML:: SAX: : PurePerl
or
XML: :SAX :: Expat
are known to have bugs with certain character types.
First we run a test to check which parser is setup on the server. To print the
parser that is in use, we run the Koha program
/misc /sax_parser_ print .pl:
koha @koha @linux: -> cd /home /koha /kohaclone /misc/
koha @linux: /home /koha /kohaclone /misc # ./sax_parser_print.pl
Koha wants something like:
XML:: LibXML ::SAX::Parser =HASH(0x81fe220)
You have:
XML ::LibXML::SAX= HASH(0x834fea4)
Looks bad, check INSTALL.* documentation.
That error,
looks bad,
indicates that the configured parser is not suitable for
Koha use. We will need to edit the initialization file of the parser and change
its configuration.
First we locate the file
ParserDetails . ini:
koha @linux: /home /koha /kohaclone /misc # locate ParserDetails.ini
/usr /lib /per15 /vendor perl/ 5.10.0 /XML /SAX /ParserDetails.ini
We edit this file replace
[XML: : SAX: :PurePerl
] or
[XML: :SAX ::Expat]
as the case may be with
[XML: : LibXML: : SAX: : Parser]
.
[62]