tags 692891 +moreinfo +unreproducible thanks Hi, On 11/10/2012 01:23 PM, Eloi Notario wrote: ... > Configuring apache2-mpm-worker (2.2.22-12)… > Configuring apache2 (2.2.22-12)… > Configuring apache2-doc (2.2.22-12)… > [ ok ] Reloading web server config: apache2 not running. the actual problem is not apache2, but apache2-doc. It's the apache2-doc maintainer script to call the reload action from the init script, the web server maintainer script will call "start". Note, the relevant code is in the apache2-mpm-worker package which is shown to be configured before in your output. For some reason it does not start the web server again, however. For comparison, this is my output from a clean chroot: root@build:/# apt-get install --reinstall apache2 apache2.2-common apache2.2-bin apache2-mpm-worker Reading package lists... Done Building dependency tree Reading state information... Done 0 upgraded, 0 newly installed, 4 reinstalled, 0 to remove and 93 not upgraded. Need to get 0 B/1075 kB of archives. After this operation, 0 B of additional disk space will be used. debconf: delaying package configuration, since apt-utils is not installed (Reading database ... 11889 files and directories currently installed.) Preparing to replace apache2 2.2.22-12 (using .../apache2_2.2.22-12_amd64.deb) ... Unpacking replacement apache2 ... Preparing to replace apache2-mpm-worker 2.2.22-12 (using .../apache2-mpm-worker_2.2.22-12_amd64.deb) ... [ ok ] Stopping web server: apache2 ... waiting . Unpacking replacement apache2-mpm-worker ... Preparing to replace apache2.2-bin 2.2.22-12 (using .../apache2.2-bin_2.2.22-12_amd64.deb) ... Unpacking replacement apache2.2-bin ... Preparing to replace apache2.2-common 2.2.22-12 (using .../apache2.2-common_2.2.22-12_amd64.deb) ... Unpacking replacement apache2.2-common ... Setting up apache2.2-bin (2.2.22-12) ... Setting up apache2.2-common (2.2.22-12) ... Setting up apache2-mpm-worker (2.2.22-12) ... [ ok ] Starting web server: apache2. Setting up apache2 (2.2.22-12) ... root@build:/# apt-get install apache2-doc Reading package lists... Done Building dependency tree Reading state information... Done The following NEW packages will be installed: apache2-doc 0 upgraded, 1 newly installed, 0 to remove and 93 not upgraded. Need to get 1770 kB of archives. After this operation, 12.8 MB of additional disk space will be used. Get:1 http://ftp.de.debian.org/debian/ sid/main apache2-doc all 2.2.22-12 [1770 kB] Fetched 1770 kB in 1s (1200 kB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package apache2-doc. (Reading database ... 11889 files and directories currently installed.) Unpacking apache2-doc (from .../apache2-doc_2.2.22-12_all.deb) ... Setting up apache2-doc (2.2.22-12) ... [ ok ] Reloading web server config: apache2. root@build:/# root@build:/# root@build:/# root@build:/# root@build:/# apt-get install --reinstall apache2 apache2.2-common apache2.2-bin apache2-mpm-worker apache2-doc Reading package lists... Done Building dependency tree Reading state information... Done 0 upgraded, 0 newly installed, 5 reinstalled, 0 to remove and 93 not upgraded. Need to get 0 B/2845 kB of archives. After this operation, 0 B of additional disk space will be used. debconf: delaying package configuration, since apt-utils is not installed (Reading database ... 13711 files and directories currently installed.) Preparing to replace apache2 2.2.22-12 (using .../apache2_2.2.22-12_amd64.deb) ... Unpacking replacement apache2 ... Preparing to replace apache2-doc 2.2.22-12 (using .../apache2-doc_2.2.22-12_all.deb) ... Unpacking replacement apache2-doc ... Preparing to replace apache2-mpm-worker 2.2.22-12 (using .../apache2-mpm-worker_2.2.22-12_amd64.deb) ... [ ok ] Stopping web server: apache2 ... waiting . Unpacking replacement apache2-mpm-worker ... Preparing to replace apache2.2-bin 2.2.22-12 (using .../apache2.2-bin_2.2.22-12_amd64.deb) ... Unpacking replacement apache2.2-bin ... Preparing to replace apache2.2-common 2.2.22-12 (using .../apache2.2-common_2.2.22-12_amd64.deb) ... Unpacking replacement apache2.2-common ... Setting up apache2.2-bin (2.2.22-12) ... Setting up apache2.2-common (2.2.22-12) ... Setting up apache2-mpm-worker (2.2.22-12) ... [ ok ] Starting web server: apache2. Setting up apache2 (2.2.22-12) ... Setting up apache2-doc (2.2.22-12) ... [ ok ] Reloading web server config: apache2. Note that worker calls start before apache2-doc is configured. I suspect you are having a policy.d script (i.e. /usr/sbin/policy-rc.d) which prevents a start. Could that be? -- with kind regards, Arno Töll IRC: daemonkeeper on Freenode/OFTC GnuPG Key-ID: 0x9D80F36D
Attachment:
signature.asc
Description: OpenPGP digital signature