I just installed Koha version 1.2.2 using the installer.pl that came with the distribution. I keep getting a 500 error on every cgi file. In addition the log file looks like this for every cgi file. [Tue Aug 27 15:37:24 2002] [error] (2)No such file or directory: exec of /usr/local/koha/intranet/cgi-bin/loadmodules.pl failed [Tue Aug 27 15:37:24 2002] [error] [client 204.184.247.120] Premature end of script headers: /usr/local/koha/intranet/cgi-bin/loadmodules.pl I put the C4 directory in the /usr/lib/perl5/site_perl/5.6.1 directory so it looks like this /usr/lib/perl5/site_perl/5.6.1/C4/*.pm I also have the env in Apache and the include in koha.conf. Any assistance would be greatly appreciated. Thanks, Don Wright Aurora Schools
Does the file: /usr/local/koha/intranet/cgi-bin/loadmodules.pl exist in your filesystem? Is the url: http://your.domain.name:8080/cgi-bin/loadmodules.pl or http://your.domain.name:8080/cgi-bin/koha/loadmodules.pl Steve Tonnesen On Tue, 27 Aug 2002, Don Wright wrote:
I just installed Koha version 1.2.2 using the installer.pl that came with the distribution. I keep getting a 500 error on every cgi file. In addition the log file looks like this for every cgi file.
[Tue Aug 27 15:37:24 2002] [error] (2)No such file or directory: exec of /usr/local/koha/intranet/cgi-bin/loadmodules.pl failed [Tue Aug 27 15:37:24 2002] [error] [client 204.184.247.120] Premature end of script headers: /usr/local/koha/intranet/cgi-bin/loadmodules.pl
I put the C4 directory in the /usr/lib/perl5/site_perl/5.6.1 directory so it looks like this /usr/lib/perl5/site_perl/5.6.1/C4/*.pm I also have the env in Apache and the include in koha.conf.
Any assistance would be greatly appreciated.
On Tue, Aug 27, 2002 at 03:46:49PM -0500, Don Wright said:
I just installed Koha version 1.2.2 using the installer.pl that came with the distribution. I keep getting a 500 error on every cgi file. In addition the log file looks like this for every cgi file.
[Tue Aug 27 15:37:24 2002] [error] (2)No such file or directory: exec of /usr/local/koha/intranet/cgi-bin/loadmodules.pl failed [Tue Aug 27 15:37:24 2002] [error] [client 204.184.247.120] Premature end of script headers: /usr/local/koha/intranet/cgi-bin/loadmodules.pl
I put the C4 directory in the /usr/lib/perl5/site_perl/5.6.1 directory so it looks like this /usr/lib/perl5/site_perl/5.6.1/C4/*.pm I also have the env in Apache and the include in koha.conf.
Hi Don Can you try doing a which perl and find what the path the perl is Then check loadmodules.pl to make sure the first line is set to that perl. Off the top of my head the perl scripts all start with #!/usr/bin/perl if perl is not there that could be causing this problem. IE if your perl is in /usr/local/bin/perl or something. You could symlink it to /usr/bin/perl and then the scripts should run. I hope this helps Chris -- Chris Cormack Programmer 025 500 789 Katipo Communications Ltd chris@katipo.co.nz www.katipo.co.nz
Did Chris' suggestion of checking if perl was in /usr/bin work for you Don? I'm going to modify the installer so it checks for that possibility now... Steve. On Tue, 27 Aug 2002, Don Wright wrote:
I just installed Koha version 1.2.2 using the installer.pl that came with the distribution. I keep getting a 500 error on every cgi file. In addition the log file looks like this for every cgi file.
[Tue Aug 27 15:37:24 2002] [error] (2)No such file or directory: exec of /usr/local/koha/intranet/cgi-bin/loadmodules.pl failed [Tue Aug 27 15:37:24 2002] [error] [client 204.184.247.120] Premature end of script headers: /usr/local/koha/intranet/cgi-bin/loadmodules.pl
I put the C4 directory in the /usr/lib/perl5/site_perl/5.6.1 directory so it looks like this /usr/lib/perl5/site_perl/5.6.1/C4/*.pm I also have the env in Apache and the include in koha.conf.
Any assistance would be greatly appreciated. Thanks, Don Wright Aurora Schools
participants (3)
-
Chris Cormack -
Don Wright -
Tonnesen Steve