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

Andi Sugandi andisugandi at gmail.com
Thu Jul 12 19:43:03 NZST 2012


Hi all,


On Tue, Jul 10, 2012 at 11:59 AM, Andi Sugandi <andisugandi at gmail.com> wrote:

[...]

> I try running again another modified command taken from
> "./bin/koha-zebra-ctl.sh" file to see my issues of idzebra on indexing
> the records of my Koha (3.8.2) instalation, http://goo.gl/Ig0zq :
>
> # 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
> 11:35:38-10/07 [server] Adding dynamic listener on
> /home/library/public_html/cgi-bin/etc/koha-conf.xml id=0
> 11:35:38-10/07 [fatal] Failed to listen on
> /home/library/public_html/cgi-bin/etc/koha-conf.xml
> 11:35:38-10/07 [server] Adding dynamic listener on
> /home/library/public_html/cgi-bin/etc/koha-conf.xml id=0
> 11:35:38-10/07 [fatal] Failed to listen on
> /home/library/public_html/cgi-bin/etc/koha-conf.xml
> 11:35:38-10/07 [server] Adding dynamic listener on
> /home/library/public_html/cgi-bin/etc/koha-conf.xml id=0
> 11:35:38-10/07 [fatal] Failed to listen on
> /home/library/public_html/cgi-bin/etc/koha-conf.xml
>
> As always, my koha-conf.xml file is already on proper permission:
>
> # ll /home/library/public_html/cgi-bin/etc/koha-conf.xml
> -rw-r--r-- 1 koha koha 12792 Jun 28 10:50
> /home/library/public_html/cgi-bin/etc/koha-conf.xml
>
>
> What do you think?
>
> I see that idzebra can ONLY index records without "daemon" and running
> it by root. Please see my OPAC screenshot: http://goo.gl/njUVz on my
> previous thread:
> http://lists.katipo.co.nz/public/koha/2012-July/033325.html

My apologies, these issues are totally because the permission my user
home directory (/home/library ) was not appropriate: "drwx------", it
should (at least): "drwx--x--x" so koha user (and koha group) is able
to have granted to access Koha directory (single install to:
/home/library/public_html/cgi-bin/ ).

Well, now "daemon" can run "zebrasrv" (via
/etc/init.d/koha-zebra-daemon start) without problem:
http://goo.gl/sRx4F (screenshot)

Thanks Koha community for building this awesome application and
empowering its users! :)

Best regards,
-- 
Andi Sugandi.


More information about the Koha mailing list