Bug#268936: apache2-common: module userdir_module is built-in (mpm-prefork)
Package: apache2-common
Version: 2.0.50-11
Followup-For: Bug #268936
Greetings,
I would like to submit a apache2 bugreport (with a poor fix) which seems to
be related to bug # 268936:
This is my first apache2 bugreport so bear with me!
Today I tried to upgrade apache2 (variety apache2-mpm-prefork)
version 2.0.49-1 to 2.0.50-11
but when I did an /etc/init.d/apache2 reload, I got:
[Mon Aug 30 09:19:43 2004] [notice] Graceful restart requested, doing restart
Syntax error on line 1 of /etc/apache2/mods-enabled/userdir.load:
module userdir_module is built-in and can't be loaded
and apache2 didn't start.
so maybe the postinst lines
#auto enable mod_userdir, otherwise things will B-R-EAK
a2enmod userdir
are actually not always necessary..
SOLUTION:
let postinst? remove /etc/apache2/mods-enabled/userdir.load and userdir.conf
or, don't compile in userdir.
The first one gave me a normal startup:
[Mon Aug 30 10:10:04 2004] [notice] Apache/2.0.50 (Debian GNU/Linux) DAV/2 SVN/1
..0.6 configured -- resuming normal operations
here's the patch for postinst, but I can imagine that this is not the
right solution:
======================================================================
diff -Naur OUD/var/lib/dpkg/info/apache2-common.postinst NIEUW/var/lib/dpkg/info/apache2-common.postinst
--- OUD/var/lib/dpkg/info/apache2-common.postinst 2004-08-30 09:44:20.000000000 +0200
+++ NIEUW/var/lib/dpkg/info/apache2-common.postinst 2004-08-30 09:56:37.000000000 +0200
@@ -48,8 +48,6 @@
chown www-data /var/lock/apache2
fi
-#auto enable mod_userdir, otherwise things will B-R-EAK
-a2enmod userdir
#fix up ext-filter mess
rm -f /etc/apache2/mods-available/ext-filter.load || true
======================================================================
Bye,
Frits Daalmans
e-mail: reverse the following: nl . vu . cs @ frits
-- System Information:
Debian Release: 3.1
APT prefers testing
APT policy: (990, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.4.22-xfs
Locale: LANG=C, LC_CTYPE=C
Versions of packages apache2-common depends on:
ii debconf 1.4.30 Debian configuration management sy
ii debianutils 2.8.4 Miscellaneous utilities specific t
ii libapr0 2.0.50-11 The Apache Portable Runtime
ii libc6 2.3.2.ds1-13 GNU C Library: Shared libraries an
ii libdb4.2 4.2.52-16 Berkeley v4.2 Database Libraries [
ii libexpat1 1.95.6-8 XML parsing C library - runtime li
ii libldap2 2.1.30-2 OpenLDAP libraries
ii libmagic1 4.09-1 File type determination library us
ii libssl0.9.7 0.9.7d-4 SSL shared libraries
ii mime-support 3.28-1 MIME files 'mime.types' & 'mailcap
ii net-tools 1.60-10 The NET-3 networking toolkit
ii openssl 0.9.7d-4 Secure Socket Layer (SSL) binary a
ii ssl-cert 1.0-7 Simple debconf wrapper for openssl
ii zlib1g 1:1.2.1.1-5 compression library - runtime
-- no debconf information
Reply to: