[Koha] installation/configuration problems/questions

Simon Hogg simon.hogg at brookes.ac.uk
Fri Jan 9 22:02:08 NZDT 2004


Morning/Afternoon/Evening (apply to your time zone accordingly ;-) )

I have been trying to get this thing to work, but have failed fantastically so far.

The problem I have is this error:

[Thu Jan  8 14:20:17 2004] [error] [client 161.73.140.72] Premature end of script headers: 
/var/www/opac/cgi-bin/koha/opac-main.pl

This error is generated from the url: http://beopc.brookes.ac.uk/cgi-bin/koha/opac-main.pl
Initially I do see the kohasplash.jpg displayed for a split second before the browser (I
use IE, Mozilla, Opera & Lynx) errors.

I realise that this is the most vague and unhelpful error message, but in an attempt to 
get it to work I have:

1) checked/changed/modified (chown/chgrp etc) the permissions on all the 
scripts/directories to no effect (yet)

2) changed the vitual host entry in httpd.conf (have started in effect with a 'one line'
type entry and then added/substracted entries to no effect)

3) have checked the perl scripts eg perl -wc opac-man.pl, no errors reported.

4) looked through the README, scripts, in fact any file that seems relevant.

5) I have written a 1 line perl script and '1 line' html file ('hello world') which are
in the same directory as opac-main.pl, interestingly both these fail, even though they
are just fine.

6) checked/changed/added to/deleted from /etc/koha.conf with no result

Version details:

Koha 1.2.3
Perl 5.6.0
Redhat Linux 7.0
MySql 3.23.22
Apache  1.3.12

These urls do work though:

http://beopc.brookes.ac.uk/join.html

http://beopc.brookes.ac.uk/main.html

So, in summary I strongly suspect the problem does lie with the virtual host configuration 
in httpd.conf (as in point 5) above), although I did start with the example given on the 
Koha web pages, but that is an example of course. I also have the O'Reilley Apache book, 
but have gleaned nothing obvious from that so far.

I realise that there are so many variables there is no absolute answer, but if anyone has
had a similar problem, a summary of what you did to solve it would be most useful. If 
anyone wants more information, please ask.... didn't think it appropriate to start posting 
conf files to the list.

Cheers

	Simon

-- 
Simon Hogg, Learning Resources, Oxford Brookes University,
Headington, Oxford, OX3 0BP, UK.

Postmaster & Academic Computing Officer.

Email:   simon.hogg at brookes.ac.uk
Tel. :   (+44) 01865 483314
Fax. :   (+44) 01865 483073




More information about the Koha mailing list