httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aparna aryan <>
Subject [users@httpd] Unable to load perl file
Date Mon, 06 Sep 2010 11:39:33 GMT
Hello All,

bash-3.00# less error_log
[Fri Aug 20 11:48:41 2010] [error] Can't locate in @INC (@INC
contains: /opt/app/ars/ovsc/perl /usr/perl5/5.8.4/lib/sun4-solaris-64int
 /usr/perl5/5.8.4/lib /usr/perl5/site_perl/5.8.4/sun4-solaris-64int
/usr/perl5/site_perl/5.8.4 /usr/perl5/site_perl /usr/perl5/vendor_perl/5.
8.4/sun4-solaris-64int /usr/perl5/vendor_perl/5.8.4 /usr/perl5/vendor_perl .
/opt/web/apache/app/ars) at /opt/app/ars/ovsc/perl/ li
ne 4.\nBEGIN failed--compilation aborted at /opt/app/ars/ovsc/perl/ line 4.\nCompilation failed in require at (eval 2) line 1.\n

We have installed apache(Apache/2.2.10) and we have a .pl file that is being
loaded in httpd.conf.

When we are trying to restart the server, We receive the following error :
LoadModule perl_module    modules/
httpd.conf file :
<IfModule mod_perl.c>
    PerlRequire "/opt/app/ars/ovsc/perl/"
    PerlModule ModPerl::Registry
    PerlModule Apache2::compat
    PerlModule Apache2::ServerRec
    PerlModule WIH::CaseExchange
    <Location /wih/caseexchange>
       AuthType            Basic
       AuthName            CaseExchange
       AuthUserFile        /opt/web/apache/app/ars/conf/passwd
       require valid-user
       SetHandler modperl
       PerlResponseHandler WIH::CaseExchange

This is our perl file :

our perl file that apache is trying to load contains this :

use lib qw(/opt/app/ars/ovsc/perl);

use MIME::Base64;
use ARS;
use Unicode::String;
use POSIX;

use Apache2::Const -compile => qw(LOG_DEBUG LOG_INFO);



Please suggest us what needs to be done.

View raw message