Dear Friends,
  I am encountering a strange problem with my mod perl 2. I have installed mod 
perl 2 on apache and its using perl-5.8.6. I am using  a server with two AMD 64 
bit processors and 4 GB RAM. Initially I was using perl 5.8.6 in 
/usr/local/bin/perl configured with static Dynaloader which was used in Apache 
configuration when Apache was being installed. But for mod perl, I installed a 
different perl in 
                                      /opt/perl4modperl/bin 
which was configured with dynamically linkable Dynaloader. Then I used that 
modperl in Apache as a LoadModule. Because I wanted to use the same old 
cgi-perl script, I used

                                   PerlHandler Apache::PerlRun

and it gives me the following error as soon as I start the server:-
   
[Mon Oct 17 12:20:54 2005] [error] [client 203.199.110.93] failed to resolve 
handler `Apache::PerlRun': Can't locate Apache/PerlRun.pm in @INC (@INC 
contains: /opt/perl4modperl/lib/site_perl/5.8.6/x86_64-linux-stdio/ModPerl 
/opt/perl4modperl/lib/5.8.6/x86_64-linux-stdio /opt/perl4modperl/lib/5.8.6 
/opt/perl4modperl/lib/site_perl/5.8.6/x86_64-linux-stdio 
/opt/perl4modperl/lib/site_perl/5.8.6 /opt/perl4modperl/lib/site_perl . 
/usr/local/apache2) at (eval 753) line 3.\n

The PerlRun.pm is located in 
         /opt/perl4modperl/lib/site_perl/5.8.6/x86_64-linux-stdio/ModPerl
which is included above as shown. It is included using a script startup.pl 
which is called on Apache start. The file permissions are correct as required. 

         -r--r--r--  1 root  root    4324 2005-10-13 18:25 PerlRun.pm

Even though the MOdPerl.pm is in the directory, it dosent find it. I dont know 
what to do. 

Please help.



With warm regards.

Vivek J. Joshi.

[EMAIL PROTECTED]
Trikon electronics Pvt. Ltd.

--New opinions often appear first as jokes and fancies, then as blasphemies and 
treason, then as questions open to discussion, and finally as established 
truths.

 

Reply via email to