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

Bug#223829: apache-perl: PerlRequire is reported as an Invalid command; due to modules.conf?



Package: apache-perl
Version: 1.3.29.0.1-1
Severity: normal
Tags: sid

Upgrading apache-perl on my systems fails when Apache is to be
restarted:

 Syntax error on line 1006 of /etc/apache-perl/httpd.conf:
 Invalid command 'PerlRequire', perhaps mis-spelled or defined by a module not included in the server configuration

This seems to be related to the three first lines of the generated
/etc/apache-perl/modules.conf:

 ClearModuleList
 AddModule mod_so.c
 AddModule mod_macro.c

because if I comment them out, I can start Apache.

(Until the next upgrade of an Apache-related package when modules.conf
is overwritten with the lines again).

Could it be thath ClearModuleList "clears" mod_perl, even when it's
included in Apache? Just guessing, I'm just a user.

-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux virgil 2.4.22-asjo-xfs-p4 #1 Thu Oct 23 21:28:18 CEST 2003 i686
Locale: LANG=C, LC_CTYPE=da_DK

Versions of packages apache-perl depends on:
ii  apache-common               1.3.29.0.1-1 Support files for all Apache webse
ii  debconf                     1.3.22       Debian configuration management sy
ii  dpkg                        1.10.18      Package maintenance system for Deb
ii  libapache-mod-perl          1.29.0.1-1   Integration of perl with the Apach
ii  libc6                       2.3.2.ds1-10 GNU C Library: Shared libraries an
ii  libdb4.1                    4.1.25-10    Berkeley v4.1 Database Libraries [
ii  libexpat1                   1.95.6-6     XML parsing C library - runtime li
ii  libmagic1                   4.06-1       File type determination library us
ii  libpam0g                    0.76-14      Pluggable Authentication Modules l
ii  libperl5.8                  5.8.2-2      Shared Perl library.
ii  mime-support                3.23-1       MIME files 'mime.types' & 'mailcap

-- debconf information:
  apache-perl/old-pidfile-set: 
  apache-perl/server-port: 80
  apache-perl/init: true
* apache-perl/enable-suexec: false
  apache-perl/document-root: /var/www
* apache-perl/upgrade-from-apache-conflict: 
  apache-perl/server-name: localhost
  apache-perl/server-admin: webmaster@koldfront.dk




Reply to: