Solved

Issues with mod_perl

Posted on 2012-03-24
4
589 Views
Last Modified: 2012-03-26
Dear,

You are my last hope for solve this problem. I have box Centos 5.7 installed Apache2  when package mod_perl was installed , the Apache not start , show follown message error :



[Fri Mar 23 18:41:59 2012] [notice] Digest: generating secret for digest authentication ...
[Fri Mar 23 18:41:59 2012] [notice] Digest: done
[Fri Mar 23 18:41:59 2012] [notice] Apache/2.2.3 (CentOS) configured -- resuming normal operations
[Fri Mar 23 18:48:09 2012] [notice] caught SIGTERM, shutting down
[Fri Mar 23 18:48:09 2012] Can't locate Apache/DBI.pm in @INC (@INC contains: /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/5.8.8 . /etc/httpd) at (eval 2) line 3.\n
[Fri Mar 23 18:48:09 2012] Can't load Perl module Apache::DBI for server 127.0.0.1:0, exiting...
[Fri Mar 23 18:48:12 2012] Can't locate Apache/DBI.pm in @INC (@INC contains: /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/5.8.8 . /etc/httpd) at (eval 2) line 3.\n
[Fri Mar 23 18:48:12 2012] Can't load Perl module Apache::DBI for server 127.0.0.1:0, exiting...
[Fri Mar 23 18:57:06 2012] Can't locate Apache/DBI.pm in @INC (@INC contains: /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/5.8.8 . /etc/httpd) at (eval 2) line 3.\n
[Fri Mar 23 18:57:06 2012] Can't load Perl module Apache::DBI for server 127.0.0.1:0, exiting...
[Fri Mar 23 19:03:20 2012] Can't locate Apache/DBI.pm in @INC (@INC contains: /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/5.8.8 . /etc/httpd) at (eval 2) line 3.\n
[Fri Mar 23 19:03:20 2012] Can't load Perl module Apache::DBI for server 127.0.0.1:0, exiting...


How can found DBI.PM for apache ?

I did test Perl on APache show me this message

perl -MApache2 -MApache::TestReportPerl   -le 'Apache::TestReportPerl->new->run' > mybugreport
Can't locate Apache2.pm in @INC (@INC contains: /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/5.8.8 .).
BEGIN failed--compilation aborted.

I don´t have a lot of exprience with Perl, but I am triyng ...

Thank very much
0
Comment
Question by:aspenbr
  • 2
4 Comments
 
LVL 6

Expert Comment

by:torakeshb
ID: 37760441
Please check the version of mod_perl you have installed. Apache 2.0 doesn't work with mod_perl 1.0.

Please mention the steps taken to install mod_perl
0
 
LVL 1

Author Comment

by:aspenbr
ID: 37760685
The mod_perl is 2.0.3
0
 
LVL 28

Accepted Solution

by:
FishMonger earned 500 total points
ID: 37765903
The error message is telling you that it can't find the Apache::DBI module.  Did you install that module?  If you did, were there any error messages during the install?
0
 
LVL 1

Author Closing Comment

by:aspenbr
ID: 37766315
Thank very much, I install perl-DBI after mod_perl was installed without problem for start Apache.
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Debug VNC connection on CentOS7 server 22 86
add some character at the end of line in vi 7 79
VMware Workstation 12 Player 16 75
number in printf 13 27
In Solr 4.0 it is possible to atomically (or partially) update individual fields in a document. This article will show the operations possible for atomic updating as well as setting up your Solr instance to be able to perform the actions. One major …
I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

773 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question