[Koha] multiply zebra daemons problem on ubuntu 16.04
Katrin Fischer
katrin.fischer.83 at web.de
Tue Mar 10 00:49:13 NZDT 2020
Hi,
which version of Koha are you running and how have they been installed?
Tarball or packages?
If you run Koha from packages, they should be taking care of running
Zebra correctly, not making it necessary to run/setup any jobs yourself.
Katrin
On 04.03.20 09:43, Irakli Garibashvili wrote:
> Dear All,
>
> We have encountered this problem when upgrading Ubuntu from version 14.04 to - 16.04 :
>
> We run multiply instances of koha on the ubuntu server.
> (Single Koha with several MySQL databases – koha, koha1, koha2, koha3)
>
> For each of the instances, we have to run separate koha-zebra-daemon.
> The daemon for the instance of koha1 is the following:
> ---------------------------------------------------------------------------------------
>
> USER=koha
> GROUP=koha
> DBNAME=koha1
> NAME=koha-zebra-ctl.$DBNAME
> LOGDIR=/var/log/koha1
> ERRLOG=$LOGDIR/koha-zebradaemon.err
> STDOUT=$LOGDIR/koha-zebradaemon.log
> OUTPUT=$LOGDIR/koha-zebradaemon-output.log
> KOHA_CONF=/etc/koha1/koha-conf.xml
> RUNDIR=/var/run/koha1/zebradb
> LOCKDIR=/var/lock/koha1/zebradb
> # you may need to change this depending on where zebrasrv is installed
> ZEBRASRV=/usr/bin/zebrasrv
> ZEBRAOPTIONS="-v none,fatal,warn"
> ....................................................................................................
> .............the same as for instance of koha, koha2, koha3...........
>
> ---------------------------------------------------------------------------------------
> When I activate the daemon, on Ubuntu 14.04 it passes without any problem, but on Ubuntu 16.04 I get the following error:
> ---------------------------------------------------------------------------------------
> $ sudo update-rc.d koha1-zebra-daemon defaults
> insserv: script koha1-zebra-daemon: service koha-zebra-daemon already provided!
> insserv: exiting now!
> update-rc.d: error: insserv rejected the script header
> ---------------------------------------------------------------------------------------
> Can anyone help me to solve the problem?
>
> Best regards
>
> Irakli Garibashvili
> Tbilisi, GEORGIA
> _______________________________________________
>
> Koha mailing list http://koha-community.org
> Koha at lists.katipo.co.nz
> Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha
More information about the Koha
mailing list