[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?



Hi Adam,
	thanks for reporting, I spotted the problem and I am working on a
proper fix. In the meanwhile it should be enough to run
modules-config apache-perl and re-enable mod_perl (that would make use of
the statically compiled in and not the dso).

Thanks
Fabio

On Sat, 13 Dec 2003, Adam Sjøgren wrote:

> 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
>
>
>
>

-- 
Our mission: make IPv6 the default IP protocol
"We are on a mission from God" - Elwood Blues

http://www.itojun.org/paper/itojun-nanog-200210-ipv6isp/mgp00004.html



Reply to: