hi, I have Koh sucessfully running with mysql5 on Etch. It seems to work fine. Except if I try to add a Biblio with a Z39.50 search(works) and click the "Add record" button I get prompted to save the .pl file. It doesn't execute on the server. What's going on. I figure it's an Apache2/perl issue but I can't work it out. Thanks in advance.. I'll try the MARC load in batch next week. Cheers
Here's the error I get running on the command line. Am I missing a library? or is this one of the Mysql issues on Etch..... Thanks Grant Johnson Systems Coordinator Robertson Library University of Prince Edward Island $ perl addbiblio.pl Can't locate C4/Auth.pm in @INC (@INC contains: /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 addbiblio.pl line 24. BEGIN failed--compilation aborted at addbiblio.pl line 24.
On Fri, Aug 3, 2007 at 9:41 PM, in message <46B3A112.5AB7.007F.3@groupwise.upei.ca>, "Grant Johnson" <fgjohnson@upei.ca> wrote:
hi,
I have Koha successfully running with mysql5 on Etch. It seems to work fine.
Except if I try to add a Biblio with a Z39.50 search(works) and click the "Add record" button I get prompted to save the .pl file.
It doesn't execute on the server.
What's going on. I figure it's an Apache2/perl issue but I can't work it out.
Thanks in advance.. I'll try the MARC load in batch next week. Cheers
_______________________________________________ Koha mailing list Koha@lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha
"Grant Johnson" <fgjohnson@upei.ca> wrote:
Here's the error I get running on the command line. Am I missing a library? or is this one of the Mysql issues on Etch.....
If you're testing a script from the command line, you need to tell perl where the Koha modules live, with either perl -I /path/to/koha/intranet/modules script.pl or export PERL5LIB=/path/to/koha/intranet/modules # before running perl BUT!
Except if I try to add a Biblio with a Z39.50 search(works) and click the "Add record" button I get prompted to save the .pl file.
It doesn't execute on the server.
this is some Apache configuration error. Check that you have cgid.conf and cgid.load in /etc/apache2/mods-enabled and if not, try a2enmod cgid && /etc/init.d/apache2 reload but I don't remember the exact solution. Hope that helps, -- MJ Ray - see/vidu http://mjr.towers.org.uk/email.html Experienced webmaster-developers for hire http://www.ttllp.co.uk/ Also: statistician, sysadmin, online shop builder, workers co-op. Writing on koha, debian, sat TV, Kewstoke http://mjr.towers.org.uk/
Thanks, The perl script worked for one record - but no other ones. Sunwing . the OPAC is at http://osls.cs.up.upei.ca Is there a "required field" or invalid character tripping this? F. Grant Johnson Systems Coordinator Robertson Library University of Prince Edward Island
On Mon, Aug 6, 2007 at 11:42 AM, in message <46b7333c.Gv2x6dg/OrqvjKpI%mjr@phonecoop.coop>, MJ Ray <mjr@phonecoop.coop> wrote: "Grant Johnson" <fgjohnson@upei.ca> wrote: Here's the error I get running on the command line. Am I missing a library? or is this one of the Mysql issues on Etch.....
If you're testing a script from the command line, you need to tell perl where the Koha modules live, with either perl -I /path/to/koha/intranet/modules script.pl or export PERL5LIB=/path/to/koha/intranet/modules # before running perl
BUT!
Except if I try to add a Biblio with a Z39.50 search(works) and click the "Add record" button I get prompted to save the .pl file.
It doesn't execute on the server.
this is some Apache configuration error. Check that you have cgid.conf and cgid.load in /etc/apache2/mods-enabled and if not, try a2enmod cgid && /etc/init.d/apache2 reload but I don't remember the exact solution.
Hope that helps,
Sorry - That's http://osls.cs.upei.ca F. Grant Johnson Systems Coordinator Robertson Library University of Prince Edward Island
Sorry - That's http://osls.cs.upei.ca F. Grant Johnson Systems Coordinator Robertson Library University of Prince Edward Island
Hi all, http://softwarefreedomday.org/sfi#head-770c681740c27b7f8450cceec7e62338d6791 bf1 http://www.linux.com/feature/118245 Open source advocates and enthusiasts from around the world will take the message of free and open source software to the streets on September 15 for the fourth annual Software Freedom Day (SFD). "SFD is centered on a particular day each year in order to heighten the sense of unity that SFD teams around the world experience - we're all in this together, working simultaneously in scores of countries toward a common goal. Many proponents of Software Freedom have been holding publicly educational events for years; it is our hope that by concentrating such efforts on a single day each year we can achieve a worldwide awareness that remains elusive when our efforts are chronologically dispersed." (Taken from the SFD website) Is anyone thinking of participating and representing the Koha project and giving Koha demos??? Is there a local team you could join or would you think of starting one? Would anyone be willing to share their artistic talents and produce the design for a flyer/brochure for us all to use (each prints their own copies) and to give away on this day? Many thanks, Irma Irma Birchall Calyx information essentials Virtual librarianship and Koha hosting and support Sydney - Australia irma@calyx.net.au
On Mon 06 Aug, MJ Ray wrote:
BUT!
Except if I try to add a Biblio with a Z39.50 search(works) and click the "Add record" button I get prompted to save the .pl file.
It doesn't execute on the server.
this is some Apache configuration error. Check that you have cgid.conf and cgid.load in /etc/apache2/mods-enabled and if not, try a2enmod cgid && /etc/init.d/apache2 reload but I don't remember the exact solution.
There have been a lot of questions relating to the same subject: how to get z3950 searches to work. Like almost all of the others who have had problems I am using Debian etch. I installed all the Perl modules and yaz 3 from source while using Debian Sarge. I then for unconnected reasons updated the distribution to Etch. I then ran installer.pl. It produced on-screen errors (probably because the default db is mysql5): DBD::mysql::st execute failed: Invalid default value for 'aqbudgetid' ... and DBD::mysql::st execute failed: Invalid default value for 'id' ... but otherwise ran without problems. Everything seems to run more or less OK. After configuring the basics I tried to deal with z3950. I entered four servers but after reading messages in this thread reduced this to LoC alone. I also made the change MJ Ray suggested above (by linking the two files from mods-available to mods-enabled and restarting Apache2). Having read other messages I tried telneting from the computer to several of the servers: all worked fine. I then tested yaz and it worked: yaz-client z3950.loc.gov:7090/voyager connected to the LoC server. Entering at the ">" prompt f 0521606322 produced the full record for the title "Stamp Duty Land Tax" by Michael Thomas. However when I went to the add biblio page and entered the same number in the ISBN line and clicked on the z3950 search button I got first the box displaying the name of the server and a button to "search internet". When I clicked it I got a message asking whether I wanted to open .../z0350/search.pl (with the type text/x-perl) and to save-as, open or cancel ... The koha-error-log is much the same as those found by others: [Thu Aug 16 14:27:39 2007] [error] [client 217.155.252.94] something went wrong: No error at /usr/local/koha/intranet/cgi-bin/z3950/search.pl line 135., referer: http://11ns.co.uk/cgi-bin/koha/z3950/search.pl?oldbiblionumber=&isbn=0521606322 [Thu Aug 16 14:27:39 2007] [error] [client 217.155.252.94] doing the search at /usr/local/koha/intranet/cgi-bin/z3950/search.pl line 145., referer: http://11ns.co.uk/cgi-bin/koha/z3950/search.pl?oldbiblionumber=&isbn=0521606322 [Thu Aug 16 14:27:40 2007] [error] [client 217.155.252.94] connection 0: event 10 (end), referer: http://11ns.co.uk/cgi-bin/koha/z3950/search.pl?oldbiblionumber=&isbn=0521606322 [Thu Aug 16 14:27:40 2007] [error] [client 217.155.252.94] Library of Congress at /usr/local/koha/intranet/cgi-bin/z3950/search.pl line 161., referer: http://11ns.co.uk/cgi-bin/koha/z3950/search.pl?oldbiblionumber=&isbn=0521606322 [Thu Aug 16 14:27:40 2007] [error] [client 217.155.252.94] 0 Library of Congress error @attr 1=7 "0521606322": Connect failed (10000) Library of Congress:7090, referer: http://11ns.co.uk/cgi-bin/koha/z3950/search.pl?oldbiblionumber=&isbn=0521606322 [Thu Aug 16 14:27:40 2007] [error] [client 217.155.252.94] Premature end of script headers: search.pl, referer: http://11ns.co.uk/cgi-bin/koha/z3950/search.pl?oldbiblionumber=&isbn=0521606322 Any suggestions? I am stuck. (When I last used koha a few years ago, I did not have any problems using the "old" z3950.) Roger -- Roger Horne roger@hrothgar.co.uk http://www.hrothgar.co.uk/YAWS/
Roger Horne <roger@hrothgar.co.uk> wrote:
clicked it I got a message asking whether I wanted to open .../z0350/search.pl (with the type text/x-perl) and to save-as, open or cancel ...
I still think this is caused by a broken Apache, not a broken Koha. Can someone contact me off-list to give me a shell and web login to a server showing this bug, please? I'd like to find the definitive answer and it's koha project day here tomorrow. Regards, -- MJ Ray - see/vidu http://mjr.towers.org.uk/email.html Experienced webmaster-developers for hire http://www.ttllp.co.uk/ Also: statistician, sysadmin, online shop builder, workers co-op. Writing on koha, debian, sat TV, Kewstoke http://mjr.towers.org.uk/
participants (4)
-
Grant Johnson -
Irma -
MJ Ray -
Roger Horne