[Koha] multiply zebra daemons problem on ubuntu 16.04

Irakli Garibashvili igar at hotmail.com
Wed Mar 4 21:43:05 NZDT 2020


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


More information about the Koha mailing list