[Koha] Problems with OPAC
PasiK
pasi.korkalo at oululainen.com
Wed Feb 17 10:27:52 NZDT 2010
Found them, they're in files under /etc/koha/zebradb, but there are a couple
of variables that I have no idea how to set:
__ZEBRA_SRU_HOST__:__ZEBRA_SRU_AUTHORITIES_PORT__
__ZEBRA_DATA_DIR__
__ZEBRA_USER__
What would be the correct values for these?
PasiK wrote:
>
> 23:12:16-16/02 [fatal] Element <xslt
> stylesheet="__INTRANET_TMPL_DIR__/prog/en/xslt/MARC21slim2DC.xsl"/>: could
> not locate stylesheet
> '__INTRANET_TMPL_DIR__/prog/en/xslt/MARC21slim2DC.xsl' in config
> /etc/koha/koha-conf.xml
>
> So where is this then, it's not in /etc/koha/koha-conf.xml like the error
> message says?
>
>
> Colin Campbell-5 wrote:
>>
>> On 16/02/10 14:37, PasiK wrote:
>>>
>>> Ok, not that's sorted, but I'm still stuck. koha-zebra-ctl.sh wants a
>>> command
>>> called 'daemon', but Slackware doesn't have this command. What does it
>>> do
>>> and where can I get it?
>>>
>> Its a debianism doc on http://www.libslack.org/daemon/
>> You'll just want to start your zebra servers similarly to the other
>> daemons in the Slack rc scripts.
>> Cheers
>> Colin
>>
>>
>>>
>>> Braedon Vickers wrote:
>>>>
>>>> On 16/02/10 02:46, PasiK wrote:
>>>>> I can't get the zebra-daemons to start, this is what they say with sh
>>>>> -x:
>>>>>
>>>>> koha-zebra-ctl.sh:
>>>>>
>>>>> + USER=__KOHA_USER__
>>>>> + GROUP=__KOHA_GROUP__
>>>>> + DBNAME=__DB_NAME__
>>>>> + NAME=koha-zebra-ctl.__DB_NAME__
>>>>> + LOGDIR=__LOG_DIR__
>>>>> + ERRLOG=__LOG_DIR__/koha-zebradaemon.err
>>>>> + STDOUT=__LOG_DIR__/koha-zebradaemon.log
>>>>> + OUTPUT=__LOG_DIR__/koha-zebradaemon-output.log
>>>>> + KOHA_CONF=__KOHA_CONF_DIR__/koha-conf.xml
>>>>> + RUNDIR=__ZEBRA_RUN_DIR__
>>>>> + LOCKDIR=__ZEBRA_LOCK_DIR__
>>>>> + ZEBRASRV=__PATH_TO_ZEBRA__/zebrasrv
>>>>> + test -f __PATH_TO_ZEBRA__/zebrasrv
>>>>> + exit 0
>>>>>
>>>>> koha-zebraqueue-ctl.sh:
>>>>>
>>>>> + USER=__KOHA_USER__
>>>>> + GROUP=__KOHA_GROUP__
>>>>> + DBNAME=__DB_NAME__
>>>>> + NAME=koha-zebraqueue-ctl-__DB_NAME__
>>>>> + LOGDIR=__LOG_DIR__
>>>>> + PERL5LIB=__PERL_MODULE_DIR__
>>>>> + KOHA_CONF=__KOHA_CONF_DIR__/koha-conf.xml
>>>>> + ERRLOG=__LOG_DIR__/koha-zebraqueue.err
>>>>> + STDOUT=__LOG_DIR__/koha-zebraqueue.log
>>>>> + OUTPUT=__LOG_DIR__/koha-zebraqueue-output.log
>>>>> + export KOHA_CONF
>>>>> + export PERL5LIB
>>>>> + ZEBRAQUEUE=__SCRIPT_DIR__/zebraqueue_daemon.pl
>>>>> + test -f __SCRIPT_DIR__/zebraqueue_daemon.pl
>>>>> + exit 0
>>>>>
>>>>> Obviously something wrong with the configuration, but what
>>>>> configuration
>>>>> where?
>>>>>
>>>> It looks to me like you have not build the Zebra config files when you
>>>> originally ran Makefile.pl, so you instead have the templates.
>>>> Apologies, i forgot that was a possibility. Each of the __SOMETHING__
>>>> strings needs to be replaced with the correct value for your install.
>>>> Someone else may be able to tell you how to do this with a script.
>>>> Otherwise, as an example, the start sections of one set of
>>>> mykoha-zebra-ctl.sh and koha-zebraqueue-ctl.sh are:
>>>>
>>>> USER=koha
>>>> GROUP=koha
>>>> DBNAME=koha
>>>> NAME=koha-zebra-ctl.$DBNAME
>>>> LOGDIR=/var/log/koha
>>>> ERRLOG=$LOGDIR/koha-zebradaemon.err
>>>> STDOUT=$LOGDIR/koha-zebradaemon.log
>>>> OUTPUT=$LOGDIR/koha-zebradaemon-output.log
>>>> KOHA_CONF=/etc/koha/koha-conf.xml
>>>> RUNDIR=/var/run/koha/zebradb
>>>> LOCKDIR=/var/lock/koha/zebradb
>>>> # you may need to change this depending on where zebrasrv is installed
>>>> ZEBRASRV=/usr/bin/zebrasrv
>>>> ZEBRAOPTIONS="-v none,fatal,warn"
>>>>
>>>> USER=koha
>>>> GROUP=koha
>>>> DBNAME=koha
>>>> NAME=koha-zebraqueue-ctl-$DBNAME
>>>> LOGDIR=/var/log/koha
>>>> PERL5LIB=/usr/share/koha/lib
>>>> KOHA_CONF=/etc/koha/koha-conf.xml
>>>> ERRLOG=$LOGDIR/koha-zebraqueue.err
>>>> STDOUT=$LOGDIR/koha-zebraqueue.log
>>>> OUTPUT=$LOGDIR/koha-zebraqueue-output.log
>>>> export KOHA_CONF
>>>> export PERL5LIB
>>>> ZEBRAQUEUE=/usr/share/koha/bin/zebraqueue_daemon.pl
>>>>
>>>> Try just fixing those two files, but there may be more that you need to
>>>> do. I have never turned Zebra on from no configuration. Hopefully
>>>> someone with more knowledge of the configuration system can chime in
>>>> here.
>>>>
>>>> Braedon Vickers
>>>>
>>>> --
>>>> TechnologyWise Ltd, Tauranga, NZ
>>>> braedon at tw.co.nz
>>>> www.technologywise.co.nz
>>>> ph: +64 (0)7 571 1060
>>>> fax: +64 (0)7 571 1061
>>>>
>>>> _______________________________________________
>>>> Koha mailing list
>>>> Koha at lists.katipo.co.nz
>>>> http://lists.katipo.co.nz/mailman/listinfo/koha
>>>>
>>>>
>>>
>>
>>
>> --
>> Colin Campbell
>> Chief Software Engineer,
>> PTFS Europe Limited
>> Content Management and Library Solutions
>> +44 (0) 208 366 1295 (phone)
>> +44 (0) 7759 633626 (mobile)
>> colin.campbell at ptfs-europe.com
>> skype: colin_campbell2
>>
>> http://www.ptfs-europe.com
>> _______________________________________________
>> Koha mailing list
>> Koha at lists.katipo.co.nz
>> http://lists.katipo.co.nz/mailman/listinfo/koha
>>
>>
>
>
--
View this message in context: http://old.nabble.com/Problems-with-OPAC-tp27530296p27615274.html
Sent from the Koha - Discuss mailing list archive at Nabble.com.
More information about the Koha
mailing list