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

Bug#238624: apache: Postinst double-includes modules.conf which makes 'Order' an unknown command.



Package: apache
Version: 1.3.29.0.2-4
Severity: normal

As per description, when accepting the maintainer's version of
httpd.conf, the following appear as lines 203 through 208:

  # Please keep this LoadModule: line here, it is needed for installation.
  Include /etc/apache/modules.conf
  Include /etc/apache/modules.conf

  #
  # ExtendedStatus: controls whether Apache will generate "full" status

This causes the following to appear at Apache startup:

  [Thu Mar 18 01:54:32 2004] [warn] module config_log_module is already loaded, skipping
  [Thu Mar 18 01:54:32 2004] [warn] module mime_magic_module is already loaded, skipping
  [Thu Mar 18 01:54:32 2004] [warn] module mime_module is already loaded, skipping
  [Thu Mar 18 01:54:32 2004] [warn] module negotiation_module is already loaded, skipping
  [Thu Mar 18 01:54:32 2004] [warn] module status_module is already loaded, skipping
  [Thu Mar 18 01:54:32 2004] [warn] module autoindex_module is already loaded, skipping
  [Thu Mar 18 01:54:32 2004] [warn] module dir_module is already loaded, skipping
  [Thu Mar 18 01:54:32 2004] [warn] module cgi_module is already loaded, skipping
  [Thu Mar 18 01:54:32 2004] [warn] module userdir_module is already loaded, skipping
  [Thu Mar 18 01:54:32 2004] [warn] module alias_module is already loaded, skipping
  [Thu Mar 18 01:54:32 2004] [warn] module rewrite_module is already loaded, skipping
  [Thu Mar 18 01:54:32 2004] [warn] module access_module is already loaded, skipping
  [Thu Mar 18 01:54:32 2004] [warn] module auth_module is already loaded, skipping
  [Thu Mar 18 01:54:32 2004] [warn] module expires_module is already loaded, skipping
  [Thu Mar 18 01:54:32 2004] [warn] module unique_id_module is already loaded, skipping
  [Thu Mar 18 01:54:32 2004] [warn] module setenvif_module is already loaded, skipping
  [Thu Mar 18 01:54:32 2004] [warn] module php4_module is already loaded, skipping
  Syntax error on line 329 of /etc/apache/httpd.conf:
  Invalid command 'Order', perhaps mis-spelled or defined by a module not included in the server configuration

and thus Apache will no longer start. Removing the second include clears all
of the above and allows Apache to start once more.

- Raz


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.0-1-686
Locale: LANG=C, LC_CTYPE=C

Versions of packages apache depends on:
ii  apache-common               1.3.29.0.2-4 Support files for all Apache webse
ii  debconf                     1.4.16       Debian configuration management sy
ii  dpkg                        1.10.19      Package maintenance system for Deb
ii  libc6                       2.3.2.ds1-11 GNU C Library: Shared libraries an
ii  libdb4.2                    4.2.52-8     Berkeley v4.2 Database Libraries [
ii  libexpat1                   1.95.6-8     XML parsing C library - runtime li
ii  libmagic1                   4.07-2       File type determination library us
ii  libpam0g                    0.76-15      Pluggable Authentication Modules l
ii  logrotate                   3.6.5-2      Log rotation utility
ii  mime-support                3.26-1       MIME files 'mime.types' & 'mailcap
ii  perl                        5.8.3-2      Larry Wall's Practical Extraction 

-- debconf information excluded




Reply to: