I have installed mpm_itk using

apt-get install apache2-mpm-itk

But after installing, when I try to enable using

a2enmod mpm_itk 

it says module is not found

At first I was using apache2.4.10, I tried to shift to 2.4.7 but same problem. I am on ubuntu 14.04

Help on how to solve.

  • By any chance do you have mpm_prefork mod installed ? – rɑːdʒɑ Jan 3 '17 at 13:41
  • yes it is installed @Ten-Coin – Samuel Thomas Jan 3 '17 at 13:45
  • I have updated my answer. – rɑːdʒɑ Jan 3 '17 at 14:00

If mpm_prefork installed then it may cause issues while enabling mpm_itk.

So disable mpm_prefork and then try enabling or try reinstalling mpm_itk.

# a2dismod mpm_prefork
# a2enmod mpm_itk

EDIT: Installation

sudo apt-get install libapache2-mpm-itk

Then try

a2enmod mpm_itk

You have choose proper package to install it seems , observe the below log

Setting up libapache2-mpm-itk (2.4.7-04-1) ...
apache2_invoke: Enable module mpm_itk
root@openstackm1:~# a2enmod mpm_itk
Considering dependency mpm_prefork for mpm_itk:
Considering conflict mpm_event for mpm_prefork:
Considering conflict mpm_worker for mpm_prefork:
Module mpm_prefork already enabled
Module mpm_itk already enabled
  • it didn't work, the apache2 failed to restart, it says: AH00534: apache2: Configuration error: No MPM loaded . It seems mpm_itk is not part of default distribution, when i install manually, it cannot be found in the /etc/apache2/sites-available directory. I don't know where does it go. That is why it kept saying: cannot find module – Samuel Thomas Jan 3 '17 at 13:50
  • give us complete activity logs. It will help us understanding the issue. Thank you. – rɑːdʒɑ Jan 3 '17 at 13:52
  • The problem is not mpm_prefork. The issue is that after installing mpm_itk it goes somewhere else and not in: /etc/apache2/sites-available so no matter how i try to enable it with: a2enmod mpm_itk it never gets found. Now i where did it go after installation. Any idea please! @Ten-Coin – Samuel Thomas Jan 3 '17 at 13:55
  • This is the output i get this time when i try to edit the installation: 0 upgraded, 0 newly installed, 0 to remove and 72 not upgraded. @Ten-Coin – Samuel Thomas Jan 3 '17 at 14:03
  • And the problem proceeds – Samuel Thomas Jan 3 '17 at 14:03

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.