Koha and daemon Issue (was Re: Koha Cataloging and idzebra Issues [...] )
Hi all. On Mon, Jul 9, 2012 at 11:22 AM, Andi Sugandi <andisugandi@gmail.com> wrote: [...]
I did command below instead of running "/etc/init.d/koha-zebra-daemon start" to see the exact/complete result/output:
# daemon --name=koha-zebra-ctl.kohadb --errlog=/home/library/public_html/cgi-bin/var/log/koha-zebradaemon.err --stdout=/home/library/public_html/cgi-bin/var/log/koha-zebradaemon.log --output=/home/library/public_html/cgi-bin/var/log/koha-zebradaemon-output.log --verbose=1 --respawn --delay=30 --user=koha.koha -X /usr/local/bin/zebrasrv -v none,fatal,warn -f /home/library/public_html/cgi-bin/etc/koha-conf.xml
http://paste.opensuse.org/view/simple/7590835
And the output is:
koha-zebra-ctl.kohadb: fatal: failed to start error delivery to /home/library/public_html/cgi-bin/var/log/koha-zebradaemon.err: Permission denied
But I think my permission on the files are correct: # ll /home/library/public_html/cgi-bin/var/log/ total 252 drwxr-xr-x 2 koha koha 4096 Jul 2 15:15 ./ drwxr-xr-x 6 koha koha 4096 Jun 28 10:53 ../ -rw-r--r-- 1 koha koha 198568 Jul 9 09:35 koha-error_log -rw-r--r-- 1 koha koha 35439 Jul 9 00:28 koha-opac-error_log -rw-r--r-- 1 koha koha 0 Jul 2 15:15 koha-zebradaemon.err -rw-r--r-- 1 koha koha 0 Jul 2 15:15 koha-zebradaemon.log -rw-r--r-- 1 koha koha 0 Jul 2 15:15 koha-zebradaemon-output.log -rw-r--r-- 1 koha koha 17 Jun 22 04:06 README
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 Any help will be very much appreciated. Thanks in advance. Best regards, -- Andi Sugandi.
participants (1)
-
Andi Sugandi