You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by paul POULAIN <pa...@free.fr> on 2003/05/06 15:28:25 UTC

[users@httpd] strange things in errorlog, (apache 2.0, Perl CGI)

Hi,

I've just install a mdk9.1 (with httpd2) and written my vhost.conf file.
I work on Koha (www.koha.org), that is a Perl programm (not mod_perl, 
but CGI).
MARC::Record, yaz-2.0, Net-z3950.0.33 and some other perl packages 
installed.

Everything works fine, except on a few pages, that shows "waiting for 
..." forever.
The error log only show (after 2mn):
[Fri May 02 17:04:40 2003] [error] [client 127.0.0.1] Premature end of 
script headers: search.pl, referer: 
http://127.0.0.1:7777/cgi-bin/koha/acqui.simple/addbiblio.pl?oldbiblionumber=8

If I close the mozilla windows, after 3 or 4 more minuts, the log is 
suddenly filled with dozens of :
[Fri May 02 16:56:52 2003] [error] [client 127.0.0.4] Use of 
uninitialized value in hash element at 
/usr/lib/perl5/site_perl/5.8.0/MARC/Record.pm line 206., referer: 
http://koha.dev/cgi-bin/koha/acqui.simple/addbiblio.pl?oldbiblionumber=8

Note it occurs only on a runtime error in the module. In case of a 
compilation error, the error is reported immediatly as previously.

It's a bug in Koha, but with my previous install (http1.3 from mdk90), 
The errors where reported immediatly to the error log.

At the moment, it's pretty unuseable for error tracking !


What happend ?

VHOSTS.CONF :
=============
Listen 7777
<VirtualHost 127.0.0.1:7777>
ServerName koha.dev
DocumentRoot /home/paul/koha.dev/koha/koha-tmpl
ScriptAlias /cgi-bin/ /home/httpd/html/koha.dev/cgi-bin/
ErrorLog logs/koha_error.log
SetEnv PERL5LIB /home/paul/koha.dev/koha
</VirtualHost>
==============

Thanks for ideas/suggestions

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



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org