perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From André Warnier>
Subject Re: Issue with Apache2::Request
Date Mon, 27 Jul 2009 23:26:42 GMT
Fred Moyer wrote:
> On Mon, Jul 27, 2009 at 2:44 PM, André Warnier<> wrote:
>> Hi.
>> Background :
>> [Mon Jul 27 22:23:35 2009] [notice] Apache/2.2.9 (Debian) DAV/2
>> mod_jk/1.2.26 mod_perl/2.0.4 Perl/v5.10.0 configured -- resuming normal
>> operations
>> /usr/sbin/apache2: symbol lookup error:
>> /usr/lib/perl5/auto/APR/Request/Apache2/ undefined symbol:
>> apreq_handle_apache2
> I think you may need this line in your httpd.conf:
> LoadModule apreq_module        modules/

Damn !  I love these lists !
Thanks Fred, that was it.  Problem solved.

I just spent a day trying to figure out why that server was different
from all the others where it works.
Apparently, for once the Debian install procedure fails to do that by
itself.  One gets complacent with these "apt-get install" things.

Thus for reference by others :
On Debian Lenny, an "apt-get install libapache2-request-perl" (install
of Apache2::Request)
- does install the module in modules/
- creates a config file "apreq.load" in /etc/apache2/mods_available
containing the proper line
LoadModule apreq_module /usr/lib/apache2/modules/

but /does not/ install a link to it in /etc/apache2/mods_enabled.
That, you have to do yourself by the command
ap2enmod apreq

After that, it gets loaded properly at Apache restart, and the ugly
message above disappears.

View raw message