Koha Cataloging and idzebra Issues (was Re: 8 Perl Modules are Not Detected ... (was Re: .. CentOS+cPanel Hosting Server))
Hi, On Thu, Jun 28, 2012 at 5:41 PM, Bernardo Gonzalez Kriegel <bgkriegel@gmail.com> wrote: [...]
More close to finish?
Yes. But maybe now I am facing with what idzebra issue [0] (btw, I could be wrong on this..) [0] http://goo.gl/J2GjW I have imported MARC record into my Koha site, the URL location is: ./cgi-bin/koha/catalogue/detail.pl?biblionumber=1 [1] [1] http://goo.gl/Ig0zq and run: # /usr/local/bin/perl bin/migration_tools/rebuild_zebra.pl -b -w {p.s: No log/messages appear after running this 'rebuild_zebra.pl' command.} But No result found [2]. The log said: [3]. [2] http://goo.gl/Y67OY [3] http://paste.opensuse.org/view/simple/29737008 I also tried through "koha-zebra-daemon" (symlink to "./bin/koha-zebra-ctl.sh") # /etc/init.d/koha-zebra-daemon start Starting Zebra Server But this goes weird when I stop the daemon: # /etc/init.d/koha-zebra-daemon stop Stopping Zebra Server daemon: fatal: failed to stop the koha-zebra-ctl.catalog_kohadb daemon: No such process That is said: When I start the daemon, this daemon does not really running, right? It said "Starting..", but failed to run. "ps aux | grep 'koha-zebra-daemon'" command also tells nothing. How to deal with this issue? Any help would be very much appreciated. Best regards, -- Andi Sugandi.
Andi, and run:
# /usr/local/bin/perl bin/migration_tools/rebuild_zebra.pl -b -w
To look messages try adding "-v" for verbose.
rebuild_zebra.pl print no messages, unless there are errors
I also tried through "koha-zebra-daemon" (symlink to "./bin/koha-zebra-ctl.sh") # /etc/init.d/koha-zebra-daemon start Starting Zebra Server
But this goes weird when I stop the daemon: # /etc/init.d/koha-zebra-daemon stop Stopping Zebra Server daemon: fatal: failed to stop the koha-zebra-ctl.catalog_kohadb daemon: No such process
Try looking the zebra logs. If there are permissions problems, zebra will not run. You have done a single install, look if all the files belongs to the correct user,
And edit koha-zebra-ctl.sh (or the link), the user and group is hardcoded, if you are not using the user koha, then you must change that in the script.
That is said: When I start the daemon, this daemon does not really running, right? It said "Starting..", but failed to run.
"ps aux | grep 'koha-zebra-daemon'" command also tells nothing.
Exactly, do not beleive in the "Starting..." message, do a "ps aux | grep zebra".
Bernardo
Hi Bernardo, On Fri, Jun 29, 2012 at 8:51 AM, Bernardo Gonzalez Kriegel <bgkriegel@gmail.com> wrote: [...]
To look messages try adding "-v" for verbose.
rebuild_zebra.pl print no messages, unless there are errors
Doing: # /usr/local/bin/perl bin/migration_tools/rebuild_zebra.pl -b -w -v and the output message is: http://paste.opensuse.org/view/simple/30123112 But still, I do not see any zebra process running afterwards, and no result found on OPAC page: http://goo.gl/eMeqp .
Try looking the zebra logs. If there are permissions problems, zebra will not run.
I do not know yet where the idzebra log is on my system. Where is it on my /usr/local install?
You have done a single install, look if all the files belongs to the correct user,
All my files/directories on my 'single install' are belong to current user (/home/library), and the USER and GROUP variable on koha-zebra-ctl.sh file is koha. My user and group named koha: # id koha uid=32011(koha) gid=32013(koha) groups=32013(koha) Any suggestion why the issue is still happening? Thanks in advance, and have a nice weekend! :) Best regards, -- Andi Sugandi.
Hi, On Sat, Jun 30, 2012 at 11:38 AM, Andi Sugandi <andisugandi@gmail.com> wrote:
Doing: # /usr/local/bin/perl bin/migration_tools/rebuild_zebra.pl -b -w -v
and the output message is: http://paste.opensuse.org/view/simple/30123112
But still, I do not see any zebra process running afterwards, and no result found on OPAC page: http://goo.gl/eMeqp .
Try looking the zebra logs. If there are permissions problems, zebra will not run.
I do not know yet where the idzebra log is on my system. Where is it on my /usr/local install?
You have done a single install, look if all the files belongs to the correct user,
All my files/directories on my 'single install' are belong to current user (/home/library), and the USER and GROUP variable on koha-zebra-ctl.sh file is koha.
My user and group named koha: # id koha uid=32011(koha) gid=32013(koha) groups=32013(koha)
OPAC page now gives a result[4] based on my searching, but it happens ONLY after runing: zebrasrv-2.0 -f etc/koha-conf.xml [5] in terminal (SSH): [4] http://goo.gl/njUVz [5] http://paste.opensuse.org/view/simple/35185017 If I quit the process, then OPAC can not give any result on searching page (means that idzebra indexing stops working, right?) What do you think about it? I have no clue solving this issue as no log/error found/appeared there. Any help would be very much appreciated. Thanks in advance. Best regards, -- Andi Sugandi.
Hi, On Mon, Jul 2, 2012 at 3:50 PM, Andi Sugandi <andisugandi@gmail.com> wrote:
OPAC page now gives a result[4] based on my searching, but it happens ONLY after runing: zebrasrv-2.0 -f etc/koha-conf.xml [5] in terminal (SSH):
[4] http://goo.gl/njUVz [5] http://paste.opensuse.org/view/simple/35185017
If I quit the process, then OPAC can not give any result on searching page (means that idzebra indexing stops working, right?)
What do you think about it? I have no clue solving this issue as no log/error found/appeared there.
I read this[6] thread forum, seems like similar with my issue, but unfortunately no luck after re-evaluating the steps described on that forum. [6] http://koha.1045719.n5.nabble.com/Solved-Zebrasrv-2-0-td5714825.html I created manually the koha-zebradaemon log files in ./var/log directory : koha-zebradaemon.err koha-zebradaemon.log koha-zebradaemon-output.log But I can see nothing on those files after running: "/etc/init.d/koha-zebra-daemon start" Any suggestion? Thanks in advance. Best regards, -- Andi Sugandi.
Hi all, On Mon, Jul 2, 2012 at 3:57 PM, Andi Sugandi <andisugandi@gmail.com> wrote:
On Mon, Jul 2, 2012 at 3:50 PM, Andi Sugandi <andisugandi@gmail.com> wrote:
OPAC page now gives a result[4] based on my searching, but it happens ONLY after runing: zebrasrv-2.0 -f etc/koha-conf.xml [5] in terminal (SSH):
[4] http://goo.gl/njUVz [5] http://paste.opensuse.org/view/simple/35185017
If I quit the process, then OPAC can not give any result on searching page (means that idzebra indexing stops working, right?)
What do you think about it? I have no clue solving this issue as no log/error found/appeared there.
I read this[6] thread forum, seems like similar with my issue, but unfortunately no luck after re-evaluating the steps described on that forum.
[6] http://koha.1045719.n5.nabble.com/Solved-Zebrasrv-2-0-td5714825.html
I created manually the koha-zebradaemon log files in ./var/log directory :
koha-zebradaemon.err koha-zebradaemon.log koha-zebradaemon-output.log
But I can see nothing on those files after running: "/etc/init.d/koha-zebra-daemon start"
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 Suggestion? Any help will be very much appreciated. Thanks in advance. Best regards, -- Andi Sugandi.
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
Suggestion?
The issue is now solved: http://lists.katipo.co.nz/public/koha/2012-July/033492.html Thanks. Good luck, -- Andi Sugandi.
participants (2)
-
Andi Sugandi -
Bernardo Gonzalez Kriegel