Enabling mpm_prefork: ERROR: Module mpm_itk is enabled - cannot proceed due to conflicts. It needs to be disabled first!

Bug #1310279 reported by Raoul Bhatia on 2014-04-20
32
This bug affects 7 people
Affects Status Importance Assigned to Milestone
apache2 (Ubuntu)
Undecided
Unassigned

Bug Description

> # a2enmod mpm_prefork
> Considering conflict mpm_event for mpm_prefork:
> Considering conflict mpm_worker for mpm_prefork:
> Considering conflict mpm_itk for mpm_prefork:
> ERROR: Module mpm_itk is enabled - cannot proceed due to conflicts. It needs to be disabled first!

/usr/share/doc/libapache2-mpm-itk/README.Debian states, that mpm_itk is an "addon" to prefork, however, if mpm_itk is enabled, I failed to "a2enmod mpm_prefork".

System: Ubuntu 14.04
> # cat /etc/lsb-release
> DISTRIB_ID=Ubuntu
> DISTRIB_RELEASE=14.04
> DISTRIB_CODENAME=trusty
> DISTRIB_DESCRIPTION="Ubuntu 14.04 LTS"

Apache2 Version
> # dpkg -l | grep apache2
> ii apache2 2.4.7-1ubuntu4 amd64 Apache HTTP Server
> ii apache2-bin 2.4.7-1ubuntu4 amd64 Apache HTTP Server (binary files and modules)
> ii apache2-data 2.4.7-1ubuntu4 all Apache HTTP Server (common files)
> ii apache2-mpm-prefork 2.4.7-1ubuntu4 amd64 transitional prefork MPM package for apache2
> ii apache2-utils 2.4.7-1ubuntu4 amd64 Apache HTTP Server (utility programs for web servers)
> ii libapache2-mod-php5 5.5.9+dfsg-1ubuntu4 amd64 server-side, HTML-embedded scripting language (Apache 2 module)
> ii libapache2-mod-xsendfile 0.12-2 amd64 Serve large static files efficiently from web applications
> ii libapache2-mpm-itk 2.4.6-01-1 amd64 multiuser module for Apache

Cheers,
Raoul

PS: libapache2-mpm-itk is "out of sync" with apache2 (2.4.6 vs 2.4.7). A more recent release can be found at http://mpm-itk.sesse.net/ - maybe it is worth having a look.

Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in apache2 (Ubuntu):
status: New → Confirmed
Dan Lee (danlee) wrote :

Cant set up cups cos of this error; please fix

The following packages were automatically installed and are no longer required:
  foomatic-db-gutenprint ijsgutenprint libapreq2-3 libjbig-dev libjpeg-dev
  libjpeg-turbo8-dev libjpeg8-dev liblzma-dev libpng12-dev libtiff5-dev
  libtiffxx5
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  apache2-bin apache2-data
Suggested packages:
  apache2-doc apache2-suexec-pristine apache2-suexec-custom apache2-utils
The following NEW packages will be installed
  apache2 apache2-bin apache2-data
0 to upgrade, 3 to newly install, 0 to remove and 0 not to upgrade.
Need to get 0 B/1,127 kB of archives.
After this operation, 4,722 kB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Selecting previously unselected package apache2-bin.
(Reading database ... 240963 files and directories currently installed.)
Preparing to unpack .../apache2-bin_2.4.10-1ubuntu1_amd64.deb ...
Unpacking apache2-bin (2.4.10-1ubuntu1) ...
Selecting previously unselected package apache2-data.
Preparing to unpack .../apache2-data_2.4.10-1ubuntu1_all.deb ...
Unpacking apache2-data (2.4.10-1ubuntu1) ...
Selecting previously unselected package apache2.
Preparing to unpack .../apache2_2.4.10-1ubuntu1_amd64.deb ...
Unpacking apache2 (2.4.10-1ubuntu1) ...
Processing triggers for man-db (2.7.0.2-2) ...
Processing triggers for ureadahead (0.100.0-16) ...
ureadahead will be reprofiled on next reboot
Processing triggers for ufw (0.34~rc-0ubuntu4) ...
Setting up apache2-bin (2.4.10-1ubuntu1) ...
Setting up apache2-data (2.4.10-1ubuntu1) ...
Setting up apache2 (2.4.10-1ubuntu1) ...
ERROR: Module mpm_prefork is enabled - cannot proceed due to conflicts. It needs to be disabled first!
dpkg: error processing package apache2 (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 apache2
E: Sub-process /usr/bin/dpkg returned an error code (1)

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers