[Koha-devel] z3950 search debug

paul POULAIN paul.poulain at free.fr
Fri Feb 20 05:15:14 CET 2004


Hi,

I'm working/testing z3950 client at the moment.
I've some problems to reproduce the "server has gone away" problem.
In fact, I don't succeed at all.
It works fine for me (except minor problem rendering UNIMARC records).

WHAT I do :
* my z3950 server contains 2 servers :
INSERT INTO z3950servers VALUES ('z3950.bnf.fr', 2211, 
'ABCDEFGHIJKLMNOPQRSTUVWXYZ1456', 'Z3950', 'Z3950_BNF', 'BNF', 1, 1, 1, 
'UNIMARC');
INSERT INTO z3950servers VALUES ('bubase.univ-angers.fr', 210, 
'ADVANCE', '', '', 'ANGERS', 2, 1, 1, 'MARC21');

* I open a rxvt and launch ./processqueue, after defining PERL5LIB and 
KOHA_CONF (KOHA_CONF being defined because my dev conf is in 
/etc/koha-stable.conf file, that is not the default conf)

* I type an ISBN, or a title, and I can see in the console :
starting loop
4834/23 : Processing isbn=2226075178 at BNF z3950.bnf.fr:2211 
ABCDEFGHIJKLMNOPQRSTUVWXYZ1456 UNIMARC (1 forks)
4835/23 : Processing isbn=2226075178 at ANGERS bubase.univ-angers.fr:210 
ADVANCE MARC21 (2 forks)
4834/23 : 2 >>
4834/23 : creating and 4834/23 : working on results entry 34
4834/23 : connected to BNF
4834/23 : BNF : 1 records found, retrieving them (max 80)
4835/23 : 2 >>
4835/23 : creating and 4835/23 : working on results entry 35
4835/23 : connected to ANGERS
4835/23 : ANGERS : no records found
4835/23 : bubase.univ-angers.fr:210 search done.
4834/23 : BNF : z3950.bnf.fr:2211 records retrieved 1 SPEED: 1
4834/23 : z3950.bnf.fr:2211 search done.
starting loop
starting loop
starting loop
starting loop
starting loop
4843/24 : Processing isbn=2715805586 at BNF z3950.bnf.fr:2211 
ABCDEFGHIJKLMNOPQRSTUVWXYZ1456 UNIMARC (1 forks)
4844/24 : Processing isbn=2715805586 at ANGERS bubase.univ-angers.fr:210 
ADVANCE MARC21 (2 forks)
4843/24 : 2 >>
4843/24 : creating and 4843/24 : working on results entry 36
4843/24 : connected to BNF
4843/24 : BNF : 1 records found, retrieving them (max 80)
4844/24 : 2 >>
4844/24 : creating and 4844/24 : working on results entry 37
4844/24 : connected to ANGERS
4843/24 : BNF : z3950.bnf.fr:2211 records retrieved 1 SPEED: 1
4843/24 : z3950.bnf.fr:2211 search done.
4844/24 : ANGERS : no records found
4844/24 : bubase.univ-angers.fr:210 search done.
starting loop

I tried  5 differents books, each more than once, without relaunching ./processqueue.

and NEVER had "server has gone away".
So, does anyone have an idea ?

I had one : "maybe i should use daemon-launch.pl script to launch the daemon". I tried, but get :
" standard in must be a tty "
and I don't know what to do with this message (I tried on TTY1 and got the same error message)

Any idea ?


-- 
Paul POULAIN
Consultant indépendant en logiciels libres
responsable francophone de koha (SIGB libre http://www.koha-fr.org)






More information about the Koha-devel mailing list