Hello All, bash-3.00# less error_log [Fri Aug 20 11:48:41 2010] [error] Can't locate ARS.pm 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/startup.pl li ne 4.\nBEGIN failed--compilation aborted at /opt/app/ars/ovsc/perl/ startup.pl 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/mod_perl.so httpd.conf file : <IfModule mod_perl.c> PerlRequire "/opt/app/ars/ovsc/perl/startup.pl" 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 </Location> </IfModule> 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); $ENV{ARCONFIGDIR}="/opt/ars/arserv/0/conf"; $MAIN::OVSC_PATH='/opt/app/ars/ovsc'; $MAIN::UPLOAD_PATH='/opt/app/ars/ovsc/ToWIH'; $MAIN::MBOX=""; Please suggest us what needs to be done.