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

Bug#711925: apache2-doc's config file breaks apache itself



On 2013-07-24 21:13:53 +0200, Stefan Fritsch wrote:
> Do you maybe still have the apt-get/aptitude output from the upgrade? 
> There should be a copy in /var/log/apt/term.log* if the relevant file 
> has not been rotated away, yet.

Log started: 2013-07-14  01:37:08
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 475293 files and directories currently installed.)

Removing libapache2-svn ...

Module authz_svn already disabled

Module dav_svn already disabled

Purging configuration files for libapache2-svn ...

(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 475280 files and directories currently installed.)

Preparing to replace libapache2-mod-perl2 2.0.8-1 (using .../libapache2-mod-perl2_2.0.8+httpd24-r1449661-5_amd64.deb) ...

Unpacking replacement libapache2-mod-perl2 ...

Processing triggers for man-db ...

dpkg: apache2.2-common: dependency problems, but removing anyway as you requested:

 apache2-mpm-worker depends on apache2.2-common (= 2.2.22-13).

 apache2 depends on apache2.2-common (= 2.2.22-13).



(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 475286 files and directories currently installed.)

Removing apache2.2-common ...

Purging configuration files for apache2.2-common ...

dpkg: warning: while removing apache2.2-common, directory '/usr/lib/cgi-bin' not empty so not removed

dpkg: warning: while removing apache2.2-common, directory '/var/log/apache2' not empty so not removed

dpkg: warning: while removing apache2.2-common, directory '/var/www' not empty so not removed

Processing triggers for man-db ...

(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 474859 files and directories currently installed.)

Preparing to replace apache2 2.2.22-13 (using .../apache2_2.4.4-6_amd64.deb) ...

Unpacking replacement apache2 ...

Preparing to replace apache2-mpm-worker 2.2.22-13 (using .../apache2-mpm-worker_2.4.4-6_amd64.deb) ...

Unpacking replacement apache2-mpm-worker ...

Preparing to replace apache2.2-bin 2.2.22-13 (using .../apache2.2-bin_2.4.4-6_amd64.deb) ...

Unpacking replacement apache2.2-bin ...

Selecting previously unselected package apache2-bin.

Unpacking apache2-bin (from .../apache2-bin_2.4.4-6_amd64.deb) ...

Selecting previously unselected package apache2-data.

Unpacking apache2-data (from .../apache2-data_2.4.4-6_all.deb) ...

Preparing to replace apache2-doc 2.2.22-13 (using .../apache2-doc_2.4.4-6_all.deb) ...

Unpacking replacement apache2-doc ...

dpkg: warning: unable to delete old directory '/etc/apache2/conf.d': Directory not empty

Preparing to replace apache2-utils 2.2.22-13 (using .../apache2-utils_2.4.4-6_amd64.deb) ...

Unpacking replacement apache2-utils ...

Processing triggers for man-db ...

Processing triggers for doc-base ...

Processing 1 changed doc-base file...

Registering documents with scrollkeeper...

Setting up apache2-bin (2.4.4-6) ...

Setting up libapache2-mod-perl2 (2.0.8+httpd24-r1449661-5) ...

apache2_invoke: Enable module perl

Action 'configtest' failed.

The Apache error log may have more information.

apache2_reload: Your configuration is broken. Not restarting Apache 2

Setting up apache2-data (2.4.4-6) ...

Setting up apache2 (2.4.4-6) ...

Directory /etc/apache2/conf.d is not empty - leaving as is

Please note, that directory is considered obsolete and not read anymore by default

apache2-doc.dpkg-remove  javascript-common.conf

Enabling module mpm_worker.

Enabling module authn_core.

Enabling module authz_core.

Enabling module filter.

Enabling module access_compat.

Enabling conf charset.

Enabling conf localized-error-pages.

Enabling conf other-vhosts-access-log.

Enabling conf security.

Enabling conf serve-cgi-bin.

[....] Restarting web server: apache2[?25l7[1G[[31mFAIL[39;49m8[?12l[?25h [31mfailed![39;49m

invoke-rc.d: initscript apache2, action "restart" failed.

dpkg: error processing apache2 (--configure):

 subprocess installed post-installation script returned error exit status 1

dpkg: dependency problems prevent configuration of apache2-mpm-worker:

 apache2-mpm-worker depends on apache2 (= 2.4.4-6); however:

  Package apache2 is not configured yet.



dpkg: error processing apache2-mpm-worker (--configure):

 dependency problems - leaving unconfigured

Setting up apache2.2-bin (2.4.4-6) ...

Setting up apache2-doc (2.4.4-6) ...

apache2_invoke: Enable configuration apache2-doc

Action 'configtest' failed.

The Apache error log may have more information.

apache2_reload: Your configuration is broken. Not reloading Apache 2

Setting up apache2-utils (2.4.4-6) ...

Errors were encountered while processing:

 apache2

 apache2-mpm-worker

Log ended: 2013-07-14  01:38:03

The failure was due to apache2-doc.

> The files in /etc/apache2/mods-available are there or are they 
> missing, too? In particular alias.*

IIRC, they were there.

-- 
Vincent Lefèvre <vincent@vinc17.net> - Web: <http://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)


Reply to: