uknet80
asked on
can't start zebra daemon for koha
Dear Expert,
I do require zebra search engine to search records under koha library system.
I can start zebra daemon if I use zebra documentation and steps:
[root@RHEL5-koha oai-pmh]# zebrasrv-2.0 -c conf/zebra.cfg
17:29:17-11/05 [log] zebra_start 2.0.42 4ff9ad25e172e7bdcf2d8d94ea 6a606ab53b cfe9
17:29:17-11/05 [log] config conf/zebra.cfg
17:29:17-11/05 [log] Loaded filter module /usr/lib/idzebra-2.0/modul es/mod-saf ari.so
17:29:17-11/05 [log] Loaded filter module /usr/lib/idzebra-2.0/modul es/mod-dom .so
17:29:17-11/05 [log] Loaded filter module /usr/lib/idzebra-2.0/modul es/mod-tex t.so
17:29:17-11/05 [log] Loaded filter module /usr/lib/idzebra-2.0/modul es/mod-grs -regx.so
17:29:17-11/05 [log] Loaded filter module /usr/lib/idzebra-2.0/modul es/mod-alv is.so
17:29:17-11/05 [log] Loaded filter module /usr/lib/idzebra-2.0/modul es/mod-grs -xml.so
17:29:17-11/05 [log] Loaded filter module /usr/lib/idzebra-2.0/modul es/mod-grs -marc.so
17:29:17-11/05 [server] Adding dynamic listener on tcp:@:9999 id=0
17:29:17-11/05 [server] Starting server zebrasrv-2.0 pid=19058
netstat -tulpn
tcp 0 0 :::9999 :::* LISTEN 19030/zebrasrv-2.0
ps aux | grep srv
root 19030 0.0 0.1 86912 2048 pts/2 S+ 17:22 0:00 zebrasrv-2.0 -c conf/zebra.cfg
But with koha instruction daemon doesn't start:
[root@RHEL5-koha ~]# zebrasrv-2.0 -f /etc/koha/koha-conf.xml
17:26:26-11/05 [log] zebra_start 2.0.42 4ff9ad25e172e7bdcf2d8d94ea 6a606ab53b cfe9
17:26:26-11/05 [log] config /etc/koha/zebradb/zebra-bi blios.cfg
17:26:26-11/05 [log] Loaded filter module /usr/lib/idzebra-2.0/modul es/mod-saf ari.so
17:26:26-11/05 [log] Loaded filter module /usr/lib/idzebra-2.0/modul es/mod-dom .so
17:26:26-11/05 [log] Loaded filter module /usr/lib/idzebra-2.0/modul es/mod-tex t.so
17:26:26-11/05 [log] Loaded filter module /usr/lib/idzebra-2.0/modul es/mod-grs -regx.so
17:26:26-11/05 [log] Loaded filter module /usr/lib/idzebra-2.0/modul es/mod-alv is.so
17:26:26-11/05 [log] Loaded filter module /usr/lib/idzebra-2.0/modul es/mod-grs -xml.so
17:26:26-11/05 [log] Loaded filter module /usr/lib/idzebra-2.0/modul es/mod-grs -marc.so
17:26:26-11/05 [log] zebra_start 2.0.42 4ff9ad25e172e7bdcf2d8d94ea 6a606ab53b cfe9
17:26:26-11/05 [log] config /etc/koha/zebradb/zebra-au thorities- dom.cfg
17:26:26-11/05 [log] Loaded filter module /usr/lib/idzebra-2.0/modul es/mod-saf ari.so
17:26:26-11/05 [log] Loaded filter module /usr/lib/idzebra-2.0/modul es/mod-dom .so
17:26:26-11/05 [log] Loaded filter module /usr/lib/idzebra-2.0/modul es/mod-tex t.so
17:26:26-11/05 [log] Loaded filter module /usr/lib/idzebra-2.0/modul es/mod-grs -regx.so
17:26:26-11/05 [log] Loaded filter module /usr/lib/idzebra-2.0/modul es/mod-alv is.so
17:26:26-11/05 [log] Loaded filter module /usr/lib/idzebra-2.0/modul es/mod-grs -xml.so
17:26:26-11/05 [log] Loaded filter module /usr/lib/idzebra-2.0/modul es/mod-grs -marc.so
17:26:26-11/05 [server] Adding dynamic listener on unix:/var/run/koha/zebradb /bibliosoc ket id=1
17:26:26-11/05 [server] Adding dynamic listener on unix:/var/run/koha/zebradb /authority socket id=2
17:26:26-11/05 [server] Starting server zebrasrv-2.0 pid=19047
there is no daemon service
but process id running:
[root@RHEL5-koha oai-pmh]# ps aux | grep srv
root 19047 0.1 0.3 89812 5576 pts/1 S+ 17:26 0:00 zebrasrv-2.0 -f /etc/koha/koha-conf.xml
any suggestions?
following software installed for zebra:
idzebra-2.0-2.0.42-1.x86_6 4.rpm
idzebra-2.0-debuginfo-2.0. 42-1.x86_6 4.rpm
libidzebra-2.0-2.0.42-1.x8 6_64.rpm
libidzebra-2.0-devel-2.0.4 2-1.x86_64 .rpm
libidzebra-2.0-modules-2.0 .42-1.x86_ 64.rpm
Redhat version:
Red Hat Enterprise Linux Server release 5.4 (Tikanga)
thanks
I do require zebra search engine to search records under koha library system.
I can start zebra daemon if I use zebra documentation and steps:
[root@RHEL5-koha oai-pmh]# zebrasrv-2.0 -c conf/zebra.cfg
17:29:17-11/05 [log] zebra_start 2.0.42 4ff9ad25e172e7bdcf2d8d94ea
17:29:17-11/05 [log] config conf/zebra.cfg
17:29:17-11/05 [log] Loaded filter module /usr/lib/idzebra-2.0/modul
17:29:17-11/05 [log] Loaded filter module /usr/lib/idzebra-2.0/modul
17:29:17-11/05 [log] Loaded filter module /usr/lib/idzebra-2.0/modul
17:29:17-11/05 [log] Loaded filter module /usr/lib/idzebra-2.0/modul
17:29:17-11/05 [log] Loaded filter module /usr/lib/idzebra-2.0/modul
17:29:17-11/05 [log] Loaded filter module /usr/lib/idzebra-2.0/modul
17:29:17-11/05 [log] Loaded filter module /usr/lib/idzebra-2.0/modul
17:29:17-11/05 [server] Adding dynamic listener on tcp:@:9999 id=0
17:29:17-11/05 [server] Starting server zebrasrv-2.0 pid=19058
netstat -tulpn
tcp 0 0 :::9999 :::* LISTEN 19030/zebrasrv-2.0
ps aux | grep srv
root 19030 0.0 0.1 86912 2048 pts/2 S+ 17:22 0:00 zebrasrv-2.0 -c conf/zebra.cfg
But with koha instruction daemon doesn't start:
[root@RHEL5-koha ~]# zebrasrv-2.0 -f /etc/koha/koha-conf.xml
17:26:26-11/05 [log] zebra_start 2.0.42 4ff9ad25e172e7bdcf2d8d94ea
17:26:26-11/05 [log] config /etc/koha/zebradb/zebra-bi
17:26:26-11/05 [log] Loaded filter module /usr/lib/idzebra-2.0/modul
17:26:26-11/05 [log] Loaded filter module /usr/lib/idzebra-2.0/modul
17:26:26-11/05 [log] Loaded filter module /usr/lib/idzebra-2.0/modul
17:26:26-11/05 [log] Loaded filter module /usr/lib/idzebra-2.0/modul
17:26:26-11/05 [log] Loaded filter module /usr/lib/idzebra-2.0/modul
17:26:26-11/05 [log] Loaded filter module /usr/lib/idzebra-2.0/modul
17:26:26-11/05 [log] Loaded filter module /usr/lib/idzebra-2.0/modul
17:26:26-11/05 [log] zebra_start 2.0.42 4ff9ad25e172e7bdcf2d8d94ea
17:26:26-11/05 [log] config /etc/koha/zebradb/zebra-au
17:26:26-11/05 [log] Loaded filter module /usr/lib/idzebra-2.0/modul
17:26:26-11/05 [log] Loaded filter module /usr/lib/idzebra-2.0/modul
17:26:26-11/05 [log] Loaded filter module /usr/lib/idzebra-2.0/modul
17:26:26-11/05 [log] Loaded filter module /usr/lib/idzebra-2.0/modul
17:26:26-11/05 [log] Loaded filter module /usr/lib/idzebra-2.0/modul
17:26:26-11/05 [log] Loaded filter module /usr/lib/idzebra-2.0/modul
17:26:26-11/05 [log] Loaded filter module /usr/lib/idzebra-2.0/modul
17:26:26-11/05 [server] Adding dynamic listener on unix:/var/run/koha/zebradb
17:26:26-11/05 [server] Adding dynamic listener on unix:/var/run/koha/zebradb
17:26:26-11/05 [server] Starting server zebrasrv-2.0 pid=19047
there is no daemon service
but process id running:
[root@RHEL5-koha oai-pmh]# ps aux | grep srv
root 19047 0.1 0.3 89812 5576 pts/1 S+ 17:26 0:00 zebrasrv-2.0 -f /etc/koha/koha-conf.xml
any suggestions?
following software installed for zebra:
idzebra-2.0-2.0.42-1.x86_6
idzebra-2.0-debuginfo-2.0.
libidzebra-2.0-2.0.42-1.x8
libidzebra-2.0-devel-2.0.4
libidzebra-2.0-modules-2.0
Redhat version:
Red Hat Enterprise Linux Server release 5.4 (Tikanga)
thanks
ASKER
ls -l /var/run/koha/zebradb/bibl iosocket /var/run/koha/zebradb/auth oritysocke t
srw-rw-rw- 1 root root 0 May 11 17:26 /var/run/koha/zebradb/auth oritysocke t
srw-rw-rw- 1 root root 0 May 11 17:26 /var/run/koha/zebradb/bibl iosocket
[root@RHEL5-koha ~]# cat /var/run/koha/zebradb/auth oritysocke t
cat: /var/run/koha/zebradb/auth oritysocke t: No such device or address
[root@RHEL5-koha ~]# cat /var/run/koha/zebradb/bibl iosocket
cat: /var/run/koha/zebradb/bibl iosocket: No such device or address
what to do with these two?
> Adding dynamic listener on unix:/var/run/koha/zebradb /bibliosoc ket id=1
> Adding dynamic listener on unix:/var/run/koha/zebradb /authority socket id=2
srw-rw-rw- 1 root root 0 May 11 17:26 /var/run/koha/zebradb/auth
srw-rw-rw- 1 root root 0 May 11 17:26 /var/run/koha/zebradb/bibl
[root@RHEL5-koha ~]# cat /var/run/koha/zebradb/auth
cat: /var/run/koha/zebradb/auth
[root@RHEL5-koha ~]# cat /var/run/koha/zebradb/bibl
cat: /var/run/koha/zebradb/bibl
what to do with these two?
> Adding dynamic listener on unix:/var/run/koha/zebradb
> Adding dynamic listener on unix:/var/run/koha/zebradb
File type "s" mean "socket" in "srw-rw-rw- ..."
So with koha configuration file, zebra service creates two sockets and listen to these two sockets.
The query send to the koha or within koha will pass to those two sockets.
> # ps aux | grep srv
> root 19047 0.1 0.3 89812 5576 pts/1 S+ 17:26 0:00 zebrasrv-2.0 -f /etc/koha/koha-conf.xml
It shows zebrsrv is up and running.
You might want to check koha documentation that how to test.
So with koha configuration file, zebra service creates two sockets and listen to these two sockets.
The query send to the koha or within koha will pass to those two sockets.
> # ps aux | grep srv
> root 19047 0.1 0.3 89812 5576 pts/1 S+ 17:26 0:00 zebrasrv-2.0 -f /etc/koha/koha-conf.xml
It shows zebrsrv is up and running.
You might want to check koha documentation that how to test.
ASKER
after installing KOHA, I added several records, but when i try searching for record I get no results (book not found). Do I have to have zebra search engine to search for item under KOHA, or zebra's job is just to speed search query?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
great link, thank you
> Adding dynamic listener on unix:/var/run/koha/zebradb
Please do
ls -l /var/run/koha/zebradb/bibl
and
cat /var/run/koha/zebradb/bibl
cat /var/run/koha/zebradb/auth