[Koha] Problems with 1.2.1 on Red Hat 7.2
Joshua Ferraro
jferraro at alma.athenscounty.lib.oh.us
Sat Jul 6 08:38:46 NZST 2002
I installed Set::Scalar and I get the same error. Now the log has the
following:
[Fri Jul 5 16:09:55 2002] [notice] Apache/1.3.22 (Unix) (Red-Hat/Linux)
mod_s
l/2.8.5 OpenSSL/0.9.6b DAV/1.0.2 PHP/4.0.6 mod_perl/1.26 configured --
resuming
normal operations
[Fri Jul 5 16:09:55 2002] [notice] suEXEC mechanism enabled (wrapper:
/usr/sbi
/suexec)
[Fri Jul 5 16:09:55 2002] [notice] Accept mutex: sysvsem (Default: sysvsem)
Here is the VirtualHost configuration:
# Ports to listen to for Koha
Listen 80
Listen 8080
# NameVirtualHost is used by one of the optional configurations detailed
below
#NameVirtualHost 11.22.33.44
# KOHA's OPAC Configuration
<VirtualHost koha.athenscounty.lib.oh.us:80>
ServerAdmin jferraro at athenscounty.lib.oh.us
DocumentRoot /usr/local/koha/opac/htdocs
ServerName koha.athenscounty.lib.oh.us
ScriptAlias /cgi-bin/koha/ /usr/local/koha/opac/cgi-bin/
ErrorLog /var/log/httpd/opac-error_log
TransferLog /var/log/httpd/opac-access_log
SetEnv PERL5LIB "/usr/local/koha/intranet/modules"
Options +Includes
AddHandler server-parsed .html
</VirtualHost>
# KOHA's INTRANET Configuration
<VirtualHost koha.athenscounty.lib.oh.us:8080>
ServerAdmin jferraro at athenscounty.lib.oh.us
DocumentRoot /usr/local/koha/intranet/htdocs
ServerName koha.athenscounty.lib.oh.us
ScriptAlias /cgi-bin/koha/ "/usr/local/koha/intranet/cgi-bin/"
ErrorLog /var/log/httpd/koha-error_log
TransferLog /var/log/httpd/koha-access_log
SetEnv PERL5LIB "/usr/local/koha/intranet/modules"
Options +Includes
AddHandler server-parsed .html
</VirtualHost>
# If you want to use name based Virtual Hosting:
# 1. remove the two Listen lines
# 2. replace koha.athenscounty.lib.oh.us:80 wih your.opac.domain.name
# 3. replace ServerName koha.athenscounty.lib.oh.us wih ServerName
your.opac.d
omain.name
# 4. replace koha.athenscounty.lib.oh.us:8080 wih your intranet domain
name
# 5. replace ServerName koha.athenscounty.lib.oh.us wih ServerName
your.intran
et.domain.name
#
# If you want to use NameVirtualHost'ing (using two names on one ip
address):
# 1. Follow steps 1-5 above
# 2. Uncomment the NameVirtualHost line and set the correct ip address
<Directory /usr/local/koha/intranet>
AuthUserFile /etc/kohaintranet.pass
AuthType Basic
AuthName "Koha Intranet (for librarians only)"
Require valid-user
</Directory>
-----Original Message-----
From: koha-admin at lists.katipo.co.nz
[mailto:koha-admin at lists.katipo.co.nz]On Behalf Of Tonnesen Steve
Sent: Friday, July 05, 2002 4:17 PM
To: Joshua Ferraro
Cc: koha at lists.katipo.co.nz
Subject: Re: [Koha] Problems with 1.2.1 on Red Hat 7.2
On Fri, 5 Jul 2002, Joshua Ferraro wrote:
> Can't locate Set/Scalar.pm in @INC (@INC contains:
> /usr/lib/perl5/5.6.1/i386-lin
> ux /usr/lib/perl5/5.6.1 /usr/lib/perl5/site_perl/5.6.1/i386-linux
> /usr/lib/perl5
> /site_perl/5.6.1 /usr/lib/perl5/site_perl/5.6.0/i386-linux
> /usr/lib/perl5/site_p
> erl/5.6.0 /usr/lib/perl5/site_perl .) at
> /usr/lib/perl5/5.6.1/i386-linux/C4/Sear
> ch.pm line 8.
I'm also a little surprised that the intranet/modules directory isn't
included in the @INC variable. I would suspect that the SetEnv directive
is not working for you, and you are probably using the old C4 directory on
that machine. Actually, I'm certain you are as Search.pm is in
/usr/lib/perl5/5.6.1/i386-linux/C4/. With Koha 1.2.1, this directory is
now installed in your intranet folder under intranet/modules/C4.
Can you send a copy of your VirtualHost configurations from apache? They
probably need to be modified a bit.
Steve.
_______________________________________________
Koha mailing list
Koha at lists.katipo.co.nz
http://lists.katipo.co.nz/mailman/listinfo/koha
More information about the Koha
mailing list