[mpm-itk] Ubuntu 14.04 mpm-itk binary missing

Henk Kraal h.kraal at tiw.nl
Tue May 13 13:17:27 CEST 2014


I've been trying to get mpm-itk up and running under a fresh Ubuntu 
14.04 install but so far without success. The main difference is that 
under 12.04 the apache workers are running under root which is not the 
case under 14.04.

The basic layout of the steps I've made comes down to:
- Install a basic 14.04 server machine (x64)
- Install mpm-itk
~# apt-get install libapache2-mpm-itk apache2-mpm-itk
- Install php5
~# apt-get install php5

*Ubuntu 12.04:*
~# ls -la /usr/sbin/apache2
lrwxrwxrwx 1 root root 30 May 13 10:20 /usr/sbin/apache2 -> 
../lib/apache2/mpm-itk/apache2

~# ps auxf
root     52478  0.0  3.6 413780 18084 ?        Ss   11:48   0:00 
/usr/sbin/apache2 -k start
root     52481  0.0  1.9 413812  9636 ?        S    11:48   0:00  \_ 
/usr/sbin/apache2 -k start
root     52482  0.0  1.9 413812  9636 ?        S    11:48   0:00  \_ 
/usr/sbin/apache2 -k start

~# lsof -p 52478
COMMAND   PID USER   FD   TYPE  DEVICE SIZE/OFF     NODE NAME
apache2 52478 root  cwd    DIR   252,0     4096        2 /
apache2 52478 root  rtd    DIR   252,0     4096        2 /
apache2 52478 root  txt    REG   252,0   470712   280028 
/usr/lib/apache2/mpm-itk/apache2

~# apt-file search /usr/lib/apache2/mpm-itk/apache2
apache2.2-bin: /usr/lib/apache2/mpm-itk/apache2



*Ubuntu 14.04:
*~# ls -la /usr/sbin/apache2
-rwxr-xr-x 1 root root 637496 Apr  3 14:21 /usr/sbin/apache2

~# ps auxf
root      4071  0.0  1.3 188472 13900 ?        Ss   12:21   0:00 
/usr/sbin/apache2 -k start
www-data  4074  0.0  0.5 188496  5396 ?        S    12:21   0:00  \_ 
/usr/sbin/apache2 -k start
www-data  4075  0.0  0.5 188496  5396 ?        S    12:21   0:00  \_ 
/usr/sbin/apache2 -k start

~# lsof -p  4071
COMMAND  PID USER   FD   TYPE DEVICE SIZE/OFF   NODE NAME
apache2 4071 root  cwd    DIR  252,0     4096      2 /
apache2 4071 root  rtd    DIR  252,0     4096      2 /
apache2 4071 root  txt    REG  252,0   637496 275281 /usr/sbin/apache2


My conclusion would be;
It appears that the 14.04 package doesn't ship with it's own mpm-itk 
binary which causes Apache to run under a regular user which in the end 
results in internal server errors as apache is unable to setuid to the 
requested user.

My questions:
1) Is my conclusion valid?
2) I assume this should be fixed by the Ubuntu dev's so I should report 
this there?

With kind regards,

Henk Kraal








*
*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.err.no/pipermail/mpm-itk/attachments/20140513/5d23d2a1/attachment.html>


More information about the mpm-itk mailing list