[Koha] Koha and daemon Issue (was Re: Koha Cataloging and idzebra Issues [...] )

Andi Sugandi andisugandi at gmail.com
Tue Jul 10 20:28:18 NZST 2012


Hi Mason,

Thanks for the reply.

On Tue, Jul 10, 2012 at 2:46 PM, Mason James <mtj at kohaaloha.com> wrote:

>> # daemon --name=koha-zebra-ctl.kohadb --verbose=1 --respawn --delay=30
>> --user=koha:koha -X /usr/local/bin/zebrasrv -v -f
>> /home/library/public_html/cgi-bin/etc/koha-conf.xml
>>
>> 11:35:38-10/07 [fatal] Failed to listen on
>> /home/library/public_html/cgi-bin/etc/koha-conf.xml

> looks like you have made a typo in your koha-conf.xml file, in your <listen id="biblioserver"> element

This is it:
<listen id="biblioserver"
>unix:/home/library/public_html/cgi-bin/var/run/zebradb/bibliosocket</listen>

Is that wrong on my "<listen id="biblioserver">" element?

>> 11:35:38-10/07 [server] Adding dynamic listener on
>> /home/library/public_html/cgi-bin/etc/koha-conf.xml id=0 <<<<<<<<<<<<
>
> you appear to be attempting to use your koha-conf.xml file, as a unix-socket for zebra?

I only try to implement[0] the script on "./bin/koha-zebra-ctl.sh"
file, to see what really happen on my Koha-Zebra Indexing issue which
has the output told in this thread:

daemon --name=$NAME --errlog=$ERRLOG --stdout=$STDOUT --output=$OUTPUT
--verbose=1 --respawn --delay=30 $OTHERUSER -- $ZEBRASRV $ZEBRAOPTIONS
-f $KOHA_CONF

Because running "/etc/init.d/koha-zebra-daemon  start" does not tell
anything when there are errors [1].

[0] http://lists.katipo.co.nz/public/koha/2012-July/033453.html
[1] http://lists.katipo.co.nz/public/koha/2012-June/033314.html

> ps: it was probably a bad idea to edit that part of your config file :)

"./bin/koha-zebra-ctl.sh" or "./etc/koha-conf.xml" file? I never edit
those both files.

Thanks.

Best regards,
-- 
Andi Sugandi.


More information about the Koha mailing list