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

Bug#416231: apache2: fails to start after upgrade from Sarge



Can you send the error.log from apache?
Package: apache2
Version: 2.2.3-3.3
Severity: serious

Apache's behavior on upgrades from Sarge is quite ugly. It initially does get stopped correctly, but after that there are two more attempts to stop it with quite scary messages.

And then it fails to start when the new packages are being set up. Starting apache manually (/etc/init.d/apache2 start) after the upgrade is completed does succeed without problems.

I have tested this in vmware with a totally default Sarge installation with all server tasks selected; no additional custom apache configuration was done.

A full log of the upgrade with the problem spots marked is available at:
http://people.debian.org/~fjp/tmp/upgrade_server.html
The most relevant section is also attached.

------------------------------------------------------------------------

[...]

Preparing to replace libapache2-mod-perl2 1.999.21-1 (using .../libapache2-mod-perl2_2.0.2-2.3_i386.deb) ...
Unpacking replacement libapache2-mod-perl2 ...
dpkg: apache2-common: dependency problems, but removing anyway as you request:
 apache2-mpm-prefork depends on apache2-common (= 2.0.54-5sarge1); however:
  Package apache2-common is to be removed.
(Reading database ... 47277 files and directories currently installed.)
Removing apache2-common ...
Stopping web server: Apache2.
(Reading database ... 46905 files and directories currently installed.)
Preparing to replace apache2-mpm-prefork 2.0.54-5sarge1 (using .../apache2-mpm-prefork_2.2.3-3.3_i386.deb) ...
Stopping web server: Apache2 ... failed!
You may still have some apache2 processes running.  There are
processes named 'apache2' which do not match your pid file,
and in the name of safety, we've left them alone.  Please review
the situation by hand.
.
Stopping web server: Apache2 ... failed!
You may still have some apache2 processes running.  There are
processes named 'apache2' which do not match your pid file,
and in the name of safety, we've left them alone.  Please review
the situation by hand.
.
Unpacking replacement apache2-mpm-prefork ...
Preparing to replace sed 4.1.2-8 (using .../archives/sed_4.1.5-1_i386.deb) ...
Unpacking replacement sed ...
Setting up sed (4.1.5-1) ...

(Reading database ... 46908 files and directories currently installed.)
Preparing to replace libapache2-mod-php4 4:4.3.10-19 (using .../libapache2-mod-php4_6%3a4.4.4-8+etch1_i386.deb) ...
Unpacking replacement libapache2-mod-php4 ...
Preparing to replace php4-common 4:4.3.10-19 (using .../php4-common_6%3a4.4.4-8+etch1_i386.deb) ...
Unpacking replacement php4-common ...
Preparing to replace apache2-utils 2.0.54-5sarge1 (using .../apache2-utils_2.2.3-3.3_i386.deb) ...
Unpacking replacement apache2-utils ...
Selecting previously deselected package apache2.2-common.
Unpacking apache2.2-common (from .../apache2.2-common_2.2.3-3.3_i386.deb) ...
Stopping web server: Apache2 ... failed!
You may still have some apache2 processes running.  There are
processes named 'apache2' which do not match your pid file,
and in the name of safety, we've left them alone.  Please review
the situation by hand.
.

[...]

Setting up apache2-utils (2.2.3-3.3) ...
Setting up apache2.2-common (2.2.3-3.3) ...
Installing new version of config file /etc/apache2/envvars ...
Installing new version of config file /etc/apache2/apache2.conf ...
Installing new version of config file /etc/apache2/mods-available/proxy.load ...
Installing new version of config file /etc/apache2/mods-available/proxy_connect.load ...
Installing new version of config file /etc/apache2/mods-available/mem_cache.load ...
Installing new version of config file /etc/apache2/mods-available/dav_fs.conf ...
Installing new version of config file /etc/apache2/mods-available/disk_cache.load ...
Installing new version of config file /etc/apache2/mods-available/ssl.conf ...
Installing new version of config file /etc/apache2/mods-available/dav_fs.load ...
Installing new version of config file /etc/apache2/mods-available/userdir.conf ...
Installing new version of config file /etc/apache2/mods-available/proxy_ftp.load ...
Installing new version of config file /etc/apache2/mods-available/proxy_http.load ...
Installing new version of config file /etc/apache2/mods-available/mime_magic.conf ...
Installing new version of config file /etc/apache2/mods-available/file_cache.load ...
Installing new version of config file /etc/apache2/mods-available/cgid.conf ...
Installing new version of config file /etc/apache2/mods-available/proxy.conf ...
Installing new version of config file /etc/apache2/sites-available/default ...
Installing new version of config file /etc/init.d/apache2 ...
Module alias installed; run /etc/init.d/apache2 force-reload to enable.
Module autoindex installed; run /etc/init.d/apache2 force-reload to enable.
Module dir installed; run /etc/init.d/apache2 force-reload to enable.
Module env installed; run /etc/init.d/apache2 force-reload to enable.
Module mime installed; run /etc/init.d/apache2 force-reload to enable.
Module negotiation installed; run /etc/init.d/apache2 force-reload to enable.
Module setenvif installed; run /etc/init.d/apache2 force-reload to enable.
Module status installed; run /etc/init.d/apache2 force-reload to enable.
Module auth_basic installed; run /etc/init.d/apache2 force-reload to enable.
Module authz_default installed; run /etc/init.d/apache2 force-reload to enable.
Module authz_user installed; run /etc/init.d/apache2 force-reload to enable.
Module authz_groupfile installed; run /etc/init.d/apache2 force-reload to enable.
Module authn_file installed; run /etc/init.d/apache2 force-reload to enable.
Module authz_host installed; run /etc/init.d/apache2 force-reload to enable.

Setting up apache2-mpm-prefork (2.2.3-3.3) ...
Starting web server (apache2)... failed!
invoke-rc.d: initscript apache2, action "start" failed.

Setting up apache2 (2.2.3-3.3) ...
Setting up libapache2-mod-python (3.2.10-4) ...

[...]




Reply to: