I have tried 'sudo /etc/init.d/koha-zebra-daemon start' which does not give me any errors, but I am also convinced it does NOT start the daemon. As far as I'm concerned, it just echoes a text but does not actually start anything. Why I think zebra is not running: This is my output on the non-working system: biblios@debian:~$ ps -ef | grep zebrasrv biblios 3322 3085 0 11:27 pts/0 00:00:00 grep zebrasrv This is my output on the working system: biblios@debian:~$ ps -ef | grep zebrasrv koha 2325 1 0 11:55 ? 00:00:00 daemon --name=koha-zebra-ctl.koha --errlog=/var/log/koha/koha-zebradaemon.err --stdout=/var/log/koha/koha-zebradaemon.log --output=/var/log/koha/koha-zebradaemon-output.log --verbose=1 --respawn --delay=30 --user=koha koha -- /usr/bin/zebrasrv -v none,fatal,warn -f /etc/koha/koha-conf.xml koha 3019 2325 0 12:07 ? 00:00:00 /usr/bin/zebrasrv -v none,fatal,warn -f /etc/koha/koha-conf.xml biblios 3110 3004 0 12:56 pts/0 00:00:00 grep zebrasrv Also, I can do a 'sudo /etc/init.d/koha-zebra-daemon restart' on the working system without any problems. --- On Mon, 10/25/10, Chris Nighswonger <cnighswonger@foundations.edu> wrote: From: Chris Nighswonger <cnighswonger@foundations.edu> Subject: Re: [Koha] No search results again... To: "Marty" <ontariowolf64@yahoo.com> Cc: "koha koha" <koha@lists.katipo.co.nz> Received: Monday, October 25, 2010, 12:09 PM 2010/10/25 Marty <ontariowolf64@yahoo.com>
This is not a good day... We have upgraded from 3.00.04 to 3.00.06, after running rebuild_zebra.pl -b -a -z it does not have any search results anymore... Tried rebuild_zebra.pl -b -w as well, still no search results...
Things I suspect to be not as they should be:
biblios@debian:~$ sudo /etc/init.d/koha-zebra-daemon restart Restarting the Zebra Server daemon: fatal: failed to find pid for koha-zebra-ctl.koha: No such file or directory
biblios@debian:~$ ps -ef | grep zebrasrv biblios 3322 3085 0 11:27 pts/0 00:00:00 grep zebrasrv
no error messages in log files...
What gives? Why? It runs fine on a parallel system but I need this one running!
First just try 'sudo /etc/init.d/koha-zebra-daemon start' to restart zebra. Once zebra is started do 'rebuild_zebra.pl -r -a -b -v' which will give you much more info about what might be going wrong. Kind Regards, Chris
Marty, have you tried to run zebra server from the command line, as explained in the INSTALL file 1.1 Zebra Search Server This process send responses to search requests sent by Koha or Z39.50/SRU/SRW clients. $ sudo -u ${KOHA_USER} zebrasrv -f /etc/koha/koha-conf.xml (note that the path to koha-conf.xml may be different depending on your installation choices) Note: the user you run Zebra as will be the only user with write permission on the Zebra index; in development mode, you may wish to use your system user. Perhaps any error could surface in this way Bernardo 2010/10/25 Marty <ontariowolf64@yahoo.com>
I have tried 'sudo /etc/init.d/koha-zebra-daemon start' which does not give me any errors, but I am also convinced it does NOT start the daemon. As far as I'm concerned, it just echoes a text but does not actually start anything. Why I think zebra is not running:
This is my output on the non-working system:
biblios@debian:~$ ps -ef | grep zebrasrv biblios 3322 3085 0 11:27 pts/0 00:00:00 grep zebrasrv
This is my output on the working system:
biblios@debian:~$ ps -ef | grep zebrasrv koha 2325 1 0 11:55 ? 00:00:00 daemon --name=koha-zebra-ctl.koha --errlog=/var/log/koha/koha-zebradaemon.err --stdout=/var/log/koha/koha-zebradaemon.log --output=/var/log/koha/koha-zebradaemon-output.log --verbose=1 --respawn --delay=30 --user=koha koha -- /usr/bin/zebrasrv -v none,fatal,warn -f /etc/koha/koha-conf.xml koha 3019 2325 0 12:07 ? 00:00:00 /usr/bin/zebrasrv -v none,fatal,warn -f /etc/koha/koha-conf.xml biblios 3110 3004 0 12:56 pts/0 00:00:00 grep zebrasrv
Also, I can do a 'sudo /etc/init.d/koha-zebra-daemon restart' on the working system without any problems.
--- On *Mon, 10/25/10, Chris Nighswonger <cnighswonger@foundations.edu>*wrote:
From: Chris Nighswonger <cnighswonger@foundations.edu> Subject: Re: [Koha] No search results again... To: "Marty" <ontariowolf64@yahoo.com> Cc: "koha koha" <koha@lists.katipo.co.nz> Received: Monday, October 25, 2010, 12:09 PM
2010/10/25 Marty <ontariowolf64@yahoo.com>
This is not a good day... We have upgraded from 3.00.04 to 3.00.06, after running rebuild_zebra.pl-b -a -z it does not have any search results anymore... Tried rebuild_zebra.pl -b -w as well, still no search results...
Things I suspect to be not as they should be:
biblios@debian:~$ sudo /etc/init.d/koha-zebra-daemon restart Restarting the Zebra Server daemon: fatal: failed to find pid for koha-zebra-ctl.koha: No such file
or directory
biblios@debian:~$ ps -ef | grep zebrasrv biblios 3322 3085 0 11:27 pts/0 00:00:00 grep zebrasrv
no error messages in log files...
What gives? Why? It runs fine on a parallel system but I need this one
running!
First just try 'sudo /etc/init.d/koha-zebra-daemon start' to restart zebra.
Once zebra is started do 'rebuild_zebra.pl -r -a -b -v' which will give you much more info about what might be going wrong.
Kind Regards, Chris
_______________________________________________ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha
On Mon, Oct 25, 2010 at 1:02 PM, Marty <ontariowolf64@yahoo.com> wrote:
I have tried 'sudo /etc/init.d/koha-zebra-daemon start' which does not give me any errors, but I am also convinced it does NOT start the daemon. As far as I'm concerned, it just echoes a text but does not actually start anything. Why I think zebra is not running:
This is my output on the non-working system: biblios@debian:~$ ps -ef | grep zebrasrv biblios 3322 3085 0 11:27 pts/0 00:00:00 grep zebrasrv
This is my output on the working system: biblios@debian:~$ ps -ef | grep zebrasrv koha 2325 1 0 11:55 ? 00:00:00 daemon --name=koha-zebra-ctl.koha --errlog=/var/log/koha/koha-zebradaemon.err --stdout=/var/log/koha/koha-zebradaemon.log --output=/var/log/koha/koha-zebradaemon-output.log --verbose=1 --respawn --delay=30 --user=koha koha -- /usr/bin/zebrasrv -v none,fatal,warn -f /etc/koha/koha-conf.xml koha 3019 2325 0 12:07 ? 00:00:00 /usr/bin/zebrasrv -v none,fatal,warn -f /etc/koha/koha-conf.xml biblios 3110 3004 0 12:56 pts/0 00:00:00 grep zebrasrv
Also, I can do a 'sudo /etc/init.d/koha-zebra-daemon restart' on the working system without any problems.
Sounds like permission issues. Assuming the installation on the non-working box is the same as the "bibliios" box, try '/usr/bin/zebrasrv -v none,fatal,warn -f /etc/koha/koha-conf.xml' Which, as Bernardo says, should give you more insight. Kind Regards, Chris
participants (3)
-
Bernardo Gonzalez Kriegel -
Chris Nighswonger -
Marty