Dear Joe

Your suggestion worked. These two services now started smoothly.
--------------------------------------------------------------------------------------------------------------
psm@libra3:~$ sudo /usr/share/koha/bin/koha-zebra-ctl.sh start
Starting Zebra Server
psm@libra3:~$ sudo /usr/share/koha/bin/koha-zebraqueue-ctl.sh start
Starting Zebraqueue Daemon
psm@libra3:~$

-----------------------------------------------------------------------------------

But still I'm not getting the z3950 utility. What's wrong? Am I to open ports of z3950 servers (e.g. 7090 for Loc) in ubuntu gutsy? I'm running my PC (ubuntu gutsy) under proxy server.

partha

----- Original Message -----
From: "Joe Atzberger"
To: "Partha Mukhopadhyay"
Cc: koha-devel@lists.koha.org
Subject: Re: [Koha-devel] Koha 3 Z3950 error on Ubuntu Gutsy
Date: Tue, 23 Dec 2008 11:15:11 -0500

Can't locate Unix/Syslog.pm

Try:
sudo cpan Unix::Syslog;

--Joe

On Tue, Dec 23, 2008 at 6:47 AM, Partha Mukhopadhyay <psm_vu@india.com> wrote:
Dear all

I'm facing a problem in accessing Z3950 search utility in koha 3 on Ubuntu Gutsy. Everytime I enter a query in z3950 search interface it report - "Nothing found; Try another search" (although i know the documents are available in LoC server). What went wrong? I'm attaching herewith a set of data regarding my koha installation:

running zebra
-----------------------

psm@libra3:~$ sudo  ps -ef|grep zebra

[sudo] password for psm:

koha      5048     1  0 16:35 ?        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 -f /etc/koha/koha-conf.xml
koha      5049  5048  0 16:35 ?        00:00:00 /usr/bin/zebrasrv -f /etc/koha/koha-conf.xml
koha      5053     1  0 16:35 ?        00:00:00 daemon --name=koha-zebraqueue-ctl-koha --errlog=/var/log/koha/koha-zebraqueue.err --stdout=/var/log/koha/koha-zebraqueue.log --output=/var/log/koha/koha-zebraqueue-output.log --verbose=1 --respawn --delay=30 --user=koha koha -- perl -I /usr/share/koha/lib /usr/share/koha/bin/zebraqueue_daemon.pl -f /etc/koha/koha-conf.xml
psm       6070     1  1 16:54 ?        00:00:09 gedit file:///var/log/koha/koha-zebradaemon.err
psm       6284  5858  0 17:07 pts/0    00:00:00 grep zebra
psm@libra3:~$

It seems these are running. Is not it? Now the log files. See the entries below -


koha-zebradaemon.err file
----------------------------------------------------

blank

koha-zebradaemon-output.log file
----------------------------------------------------

16:30:51-23/12 [log] zebra_start /etc/koha/zebradb/zebra-biblios.cfg 1.3.50
16:30:51-23/12 [log] zebra_start /etc/koha/zebradb/zebra-authorities.cfg 1.3.50
16:30:51-23/12 [server] Adding dynamic listener on unix:/var/run/koha/zebradb/bibliosocket id=1
16:30:51-23/12 [server] Adding dynamic listener on unix:/var/run/koha/zebradb/authoritysocket id=2
16:30:51-23/12 [server] Starting server /usr/bin/zebrasrv pid=6992
16:32:53-23/12 [server] Shutting down listener.
16:32:53-23/12 [server] Shutting down listener.
16:32:53-23/12 [debug][log] zebra_stop
16:32:53-23/12 [debug][log] zebra_stop
16:35:40-23/12 [log] zebra_start /etc/koha/zebradb/zebra-biblios.cfg 1.3.50
16:35:40-23/12 [log] zebra_start /etc/koha/zebradb/zebra-authorities.cfg 1.3.50
16:35:40-23/12 [server] Adding dynamic listener on unix:/var/run/koha/zebradb/bibliosocket id=1
16:35:40-23/12 [server] Adding dynamic listener on unix:/var/run/koha/zebradb/authoritysocket id=2
16:35:40-23/12 [server] Starting server /usr/bin/zebrasrv pid=5049


koha-zebraqueue.err file
-------------------------------------------

20081223 16:57:33 koha-zebraqueue-ctl-koha: client (pid 6115) exited with 2 status
20081223 16:57:33 koha-zebraqueue-ctl-koha: client (pid 6116) exited with 2 status
20081223 16:57:33 koha-zebraqueue-ctl-koha: client (pid 6117) exited with 2 status
20081223 16:57:33 koha-zebraqueue-ctl-koha: client (pid 6118) exited with 2 status
20081223 16:57:34 koha-zebraqueue-ctl-koha: client (pid 6119) exited with 2 status
20081223 16:57:34 koha-zebraqueue-ctl-koha: terminating too quickly, waiting 30 seconds

Koha-zebraqueue-output.log file
---------------------------------------------------

Can't locate Unix/Syslog.pm in @INC (@INC contains: /usr/share/koha/lib /etc/perl /usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl .) at /usr/share/koha/bin/zebraqueue_daemon.pl line 14.
BEGIN failed--compilation aborted at /usr/share/koha/bin/zebraqueue_daemon.pl line 14.

Dr. Parthasarathi Mukhopadhyay
Department of Library and Information Science
University of Burdwan, Burdwan, West Bengal, India



Parthasarathi Mukhopadhyay
Department of Library and Information Science
University of Burdwan, Burdwan, West Bengal, India

--