Configuring Apache for mod_perl

This is a multi-part message in MIME format.
--------------010809000502050307030003
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

Hi Everyone,

Can someone please tell me what configuration settings are required to
get mod_perl working with apache2 on a Fedora Core installation please?

I've added LoadModule perl_module modules/mod_perl.so to my httpd.conf
but afterwards it won't run, following is logged:

[Mon Aug 17 23:22:01 2009] [notice] suEXEC mechanism enabled (wrapper:
/usr/sbin/suexec)
[Mon Aug 17 23:22:01 2009] [notice] Digest: generating secret for digest
authentication ...
[Mon Aug 17 23:22:01 2009] [notice] Digest: done
[Mon Aug 17 23:22:01 2009] [notice] mod_python: Creating 4 session
mutexes based on 256 max processes and 0 max threads.
[Mon Aug 17 23:22:01 2009] [notice] mod_python: using mutex_directory /tmp
[Mon Aug 17 23:22:01 2009] [notice] Apache/2.2.11 (Unix) DAV/2 PHP/5.2.9
mod_python/3.3.1 Python/2.6 mod_ssl/2.2.11 OpenSSL/0.9.8k-fips
mod_perl/2.0.4 Perl/v5.10.0 configured -- resuming normal operations
[Mon Aug 17 23:23:11 2009] [notice] caught SIGTERM, shutting down
[Mon Aug 17 23:23:12 2009] [error] Can't locate Apache2/Reload.pm in
[at] INC ( [at] INC contains: ../../ /opt/otrs/Kernel/cpan-lib /opt/otrs/
/usr/local/lib64/perl5/site_perl/5.10.0/x86_64-linux-thread- multi
/usr/local/lib/perl5/site_perl/5.10.0
/usr/lib64/perl5/vendor_perl/5.10.0/x86_64-linux-thread-mult i
/usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/perl5/vendor_perl
/usr/lib64/perl5/5.10.0/x86_64-linux-thread-multi /usr/lib/perl5/5.10.0
/usr/lib/perl5/site_perl . /etc/httpd) at (eval 105) line 3.\n
[Mon Aug 17 23:23:12 2009] [error] Can't load Perl module
Apache2::Reload for server 127.0.0.1:0 <http://127.0.0.1:0>, exiting...

anyone got any ideas?

Thanks

--------------010809000502050307030003
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
</head>
<body bgcolor="#ffffff" text="#000000">
Hi Everyone,<br>
<br>
Can someone please tell me what configuration settings are required to
get mod_perl working with apache2 on a Fedora Core installation please?<br>
<br>
I've added LoadModule perl_module modules/mod_perl.so to my httpd.conf
but afterwards it won't run, following is logged:<br>
<br>
[Mon Aug 17 23:22:01 2009] [notice] suEXEC mechanism enabled (wrapper:
/usr/sbin/suexec)<br>
[Mon Aug 17 23:22:01 2009] [notice] Digest: generating secret for
digest authentication ...<br>
[Mon Aug 17 23:22:01 2009] [notice] Digest: done<br>
[Mon Aug 17 23:22:01 2009] [notice] mod_python: Creating 4 session
mutexes based on 256 max processes and 0 max threads.<br>
[Mon Aug 17 23:22:01 2009] [notice] mod_python: using mutex_directory
/tmp <br>
[Mon
Aug 17 23:22:01 2009] [notice] Apache/2.2.11 (Unix) DAV/2 PHP/5.2.9
mod_python/3.3.1 Python/2.6 mod_ssl/2.2.11 OpenSSL/0.9.8k-fips
mod_perl/2.0.4 Perl/v5.10.0 configured -- resuming normal operations<br>
[Mon Aug 17 23:23:11 2009] [notice] caught SIGTERM, shutting down<br>
[Mon
Aug 17 23:23:12 2009] [error] Can't locate Apache2/Reload.pm in [at] INC
( [at] INC contains: ../../ /opt/otrs/Kernel/cpan-lib /opt/otrs/
/usr/local/lib64/perl5/site_perl/5.10.0/x86_64-linux-thread- multi
/usr/local/lib/perl5/site_perl/5.10.0
/usr/lib64/perl5/vendor_perl/5.10.0/x86_64-linux-thread-mult i
/usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/perl5/vendor_perl
/usr/lib64/perl5/5.10.0/x86_64-linux-thread-multi /usr/lib/perl5/5.10.0
/usr/lib/perl5/site_perl . /etc/httpd) at (eval 105) line 3.\n<br>
[Mon Aug 17 23:23:12 2009] [error] Can't load Perl module
Apache2::Reload for server 127.0.0.1:0,
exiting...<br>
<br>
anyone got any ideas?<br>
<br>
Thanks<br>
</body>
</html>

--------------010809000502050307030003--
David Holder [ Di, 18 August 2009 00:38 ] [ ID #2012538 ]

RE: Configuring Apache for mod_perl

Looks to me like you are trying to load Apache2::Reload in your
httpd.conf somewhere, and don't have it installed on the server.

Probably not a module you want to be loading unless this is a
development server...


From: David Holder [mailto:david.holder [at] gmail.com]
Sent: Monday, August 17, 2009 5:39 PM
To: modperl [at] perl.apache.org
Subject: Configuring Apache for mod_perl

Hi Everyone,

Can someone please tell me what configuration settings are required to
get mod_perl working with apache2 on a Fedora Core installation please?

I've added LoadModule perl_module modules/mod_perl.so to my httpd.conf
but afterwards it won't run, following is logged:

[Mon Aug 17 23:22:01 2009] [notice] suEXEC mechanism enabled (wrapper:
/usr/sbin/suexec)
[Mon Aug 17 23:22:01 2009] [notice] Digest: generating secret for digest
authentication ...
[Mon Aug 17 23:22:01 2009] [notice] Digest: done
[Mon Aug 17 23:22:01 2009] [notice] mod_python: Creating 4 session
mutexes based on 256 max processes and 0 max threads.
[Mon Aug 17 23:22:01 2009] [notice] mod_python: using mutex_directory
/tmp
[Mon Aug 17 23:22:01 2009] [notice] Apache/2.2.11 (Unix) DAV/2 PHP/5.2.9
mod_python/3.3.1 Python/2.6 mod_ssl/2.2.11 OpenSSL/0.9.8k-fips
mod_perl/2.0.4 Perl/v5.10.0 configured -- resuming normal operations
[Mon Aug 17 23:23:11 2009] [notice] caught SIGTERM, shutting down
[Mon Aug 17 23:23:12 2009] [error] Can't locate Apache2/Reload.pm in
[at] INC ( [at] INC contains: ../../ /opt/otrs/Kernel/cpan-lib /opt/otrs/
/usr/local/lib64/perl5/site_perl/5.10.0/x86_64-linux-thread- multi
/usr/local/lib/perl5/site_perl/5.10.0
/usr/lib64/perl5/vendor_perl/5.10.0/x86_64-linux-thread-mult i
/usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/perl5/vendor_perl
/usr/lib64/perl5/5.10.0/x86_64-linux-thread-multi /usr/lib/perl5/5.10.0
/usr/lib/perl5/site_perl . /etc/httpd) at (eval 105) line 3.\n
[Mon Aug 17 23:23:12 2009] [error] Can't load Perl module
Apache2::Reload for server 127.0.0.1:0, exiting...

anyone got any ideas?

Thanks
Lloyd Richardson [ Di, 18 August 2009 01:36 ] [ ID #2012540 ]
Webserver » gmane.comp.apache.mod-perl » Configuring Apache for mod_perl

Vorheriges Thema: Fwd: Apache2::Reload
Nächstes Thema: Apache::ExtUtils and Slash