[Koha] Running Zebra Server Automatically
Suyadi
abufarros at gmail.com
Wed Jun 30 20:36:32 NZST 2010
Would you have made a Koha system user?
If not, run the command:
$ sudo adduser koha
Then, make sure the owner and group /usr/share/koha/var is koha
Alternatively, (not recomended)
Edit file /usr/share/koha/bin/koha-zebra-ctl.sh &
/usr/share/koha/bin/koha-zebraqueue-ctl.sh
then replace:
#!/bin/bash
USER=koha
GROUP=koha
with:
#!/bin/bash
USER=root
GROUP=root
The principle is /usr/share/koha/var is writable by the user and group
defined in /usr/share/koha/bin/koha-zebra-ctl.sh &
/usr/share/koha/bin/koha-zebraqueue-ctl.sh
bariki.kamara wrote:
>
> Dear Suyadi,
>
> Thanks for your effort, but this procedures that you gave me had already
> done during the installation stages.
>
> Regards,
> Kamara
>
>
>
>>
>> You should run zebra & zebraqueue as ubuntu service.
>> Step to running zebra as sevice and auto update when updating
>> biblio/authority record:
>> $ sudo ln -s /usr/share/koha/bin/koha-zebra-ctl.sh
>> /etc/init.d/koha-zebra-daemon
>> $ sudo update-rc.d koha-zebra-daemon defaults
>> $ sudo ln -s /usr/share/koha/bin/koha-zebraqueue-ctl.sh
>> /etc/init.d/koha-zebraqueue-daemon
>> $ sudo update-rc.d koha-zebraqueue-daemon defaults
>>
>> See the file: INSTALL.ubuntu
>>
>> Sincely,
>> Suyadi
>> Muhammadiyah University of Surakarta
>> Solo, Jateng, Indonesia
>>
>>
>> bariki.kamara wrote:
>>>
>>> Hi,
>>>
>>> Hope you all are pretty fine.
>>>
>>> I would like to ask if there is a way of running Zebra server
>>> automatically during the main server start-up. I cant find the records
>>> which added into the system until I run manually zebra server, I use
>>> the
>>> following command to run the zebra server sudo -u kohaadmin zebrasrv -f
>>> /etc/koha/koha-conf.xml. I use Ubuntu server 9.10 as my platform.
>>>
>>> Regards,
>>> Bariki G. Kamara
>>>
>>>
>>> ---------------------- CONFIDENTIALITY NOTICE
>>> --------------------------------
>>>
>>> PLEASE CONSIDER THE ENVIRONMENT BEFORE PRINTING THIS E-MAIL
>>>
>>> This email is intended only for the person to whom it is addressed and
>>> may
>>> contain confidential information and may be legally privileged. If you
>>> are
>>> not the intended recipient, you are notified that you may not use,
>>> distribute or copy this document in any manner whatsoever. Kindly also
>>> notify the sender by email and/or delete this e-mail. Any views or
>>> opinions
>>> expressed in this e-mail are those of the sender and do not necessarily
>>> coincide with those of the Open University of Tanzania.
>>>
>>> --------------------THE OPEN UNIVERSITY OF
>>> TANZANIA--------------------------
>>>
>>> _______________________________________________
>>> 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/Running-Zebra-Server-Automatically-tp29031359p29031580.html
>> Sent from the Koha - Discuss mailing list archive at Nabble.com.
>>
>> _______________________________________________
>> Koha mailing list
>> Koha at lists.katipo.co.nz
>> http://lists.katipo.co.nz/mailman/listinfo/koha
>>
>
>
>
> ---------------------- CONFIDENTIALITY NOTICE
> --------------------------------
>
> PLEASE CONSIDER THE ENVIRONMENT BEFORE PRINTING THIS E-MAIL
>
> This email is intended only for the person to whom it is addressed and may
> contain confidential information and may be legally privileged. If you are
> not the intended recipient, you are notified that you may not use,
> distribute or copy this document in any manner whatsoever. Kindly also
> notify the sender by email and/or delete this e-mail. Any views or
> opinions
> expressed in this e-mail are those of the sender and do not necessarily
> coincide with those of the Open University of Tanzania.
>
> --------------------THE OPEN UNIVERSITY OF
> TANZANIA--------------------------
>
> _______________________________________________
> 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/Running-Zebra-Server-Automatically-tp29031359p29032090.html
Sent from the Koha - Discuss mailing list archive at Nabble.com.
More information about the Koha
mailing list