Re: Unable to load perl file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello Rich,
Sorry for the late reply.
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="lars.karlsson\@hp.com";
 
Please suggest us what needs to be done.

On Tue, Aug 10, 2010 at 3:19 PM, aparna aryan <aparnapuram@xxxxxxxxx> wrote:
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 :

[Tue Aug 10 11:34:31 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 5.\nBEGIN failed--compilation aborted at /opt/app/ars/ovsc/perl/startup.pl line 5.\nCompilation failed in require at (eval 2) line 1.\n
[Tue Aug 10 11:34:31 2010] [error] Can't load Perl file: /opt/app/ars/ovsc/perl/startup.pl for server hostname:0, exiting...


please let us know what the issue is.



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux