[Koha] multiple Koha zebra problem

George Mikuchadze gmikuchadze at gmail.com
Thu Mar 12 21:11:08 NZDT 2020


Dear Katrin,
Many thanks for Your reply. The problem is the following:
We use multiple koha-s (with the same number of zebra daemons), now we want
to install koha v3.22.21 on ubuntu 16.04. When I activate koha-zebra-daemon
for the second instance of koha (koha1), I get the 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
-----------------------------------------------------------------------------------------------------------------------
Here is the content of koha1-zebra-daemon:
...............................................................................................................
.............the same as for instance of koha, koha2,
koha3.......................
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...........

The main strange is the following: it (the same version of koha and zebra)
works without any problem on Ubuntu 14.04!

Thanks in advance

George Mikuchadze


More information about the Koha mailing list