[Koha] daemon failing to insert into marc_breeding

MJ Ray mjr at dsl.pipex.com
Thu Nov 18 01:38:53 NZDT 2004


On 2004-11-16 17:12:07 +0000 Harry Jackson <h.jackson at acu.ac.uk> wrote:

> I am assessing Koha 2.0.1RC1 for use here and I am in need of some 
> pointers.

2.0.2 is out now, but announcements seem to be running slow. There 
aren't any changes to the importing, as far as I know, so an upgrade 
probably won't help you.

> The output from the daemon is as follows (looks fine to my untrained 
> eye)
>       1 starting loop
>       2 starting loop
>       3 starting loop
>       4 29114/37 : Processing isbn=0470846747 at LibraryOfCongress 
> z3950.loc.gov:7090 Voyager MARC21 (1 forks)
>       5 29114/37 : 2 >>
>       6 29114/37 : creating and 29114/37 : working on results entry 73
>       7 29114/37 : connected to LibraryOfCongress
>       8 29114/37 : LibraryOfCongress : 1 records found, retrieving 
> them (max 
> 80)
>       9 29115/37 : Processing isbn=0470846747 at ION.SLV.VIC.GOV.AU 
> 192.190.180.3:7090 voyager MARC21 (2 forks)
>      10 29115/37 : 2 >>
>      11 29115/37 : creating and 29115/37 : working on results entry 74
>      12 29115/37 : connected to ION.SLV.VIC.GOV.AU
>      13 29115/37 : ION.SLV.VIC.GOV.AU : no records found
>      14 29115/37 : 192.190.180.3:7090 search done.

I'm a bit surprised that there's no line like "z3950.log.gov:7090 
search done" in there. Can any z3950daemon guru just confirm to me 
whether there should be, please?

To be frank, I've often resorted to network monitors and lots of print 
statements in the daemon to figure out what it's doing. I hope that 
the 2.2.0 daemon works better, but I've not had time to test it yet. 
I'll try to get time in the next few days.

> And to answer the question at:
>     185 # and connect to z3950 server
>     186 #FIXME: why do we need $dbi ? can't we use $dbh ?
> in the daemon source. The reason you are unable to use the handle 
> created 
> before the fork is because you cannot share database connections 
> across 
> process's.

Of course! Thanks for pointing it out. I'll go change the note in the 
2.1/2.2 sources if it's still there.

-- 
MJR/slef    My Opinion Only and not of any group I know
  Creative copyleft computing - http://www.ttllp.co.uk/
  Unsolicited attachments to the pipex address deleted
Will HLF fund tree-killings? http://www.thewalks.co.uk/




More information about the Koha mailing list