Bug 7555

Summary: Apache peruser MPM segfaults
Product: Mageia Reporter: Jean Michel Varvou <jeanmichel.varvou>
Component: RPM PackagesAssignee: Guillaume Rousse <guillomovitch>
Status: RESOLVED WONTFIX QA Contact:
Severity: normal    
Priority: Normal CC: ennael1
Version: 2   
Target Milestone: ---   
Hardware: i586   
OS: Linux   
URL: http://www.mageialinux-online.org/forum/topic-13393+apache-ne-veut-pas-se-lancer.php#m131449
Whiteboard:
Source RPM: apache-mpm-peruser-2.2.22-12.mga2 CVE:
Status comment:

Description Jean Michel Varvou 2012-09-23 17:30:18 CEST
Description of problem:
After installing owncloud, apache will not start. urpmi Owncloud install apache-mpm-peruser-2.2.22-12.mga2. But when we try "systemctl restart httpd.service" whe have an error in the syslog:

Sep 23 14:02:10 localhost httpd-peruser[4877]: Syntax error on line 55 of /etc/httpd/conf/httpd.conf:
Sep 23 14:02:10 localhost httpd-peruser[4877]: Invalid command 'GracefulShutdownTimeout', perhaps misspelled or defined by a module not included in the server configuration
Sep 23 14:02:10 localhost systemd[1]: httpd-peruser.service: control process exited, code=exited status=1
Sep 23 14:02:10 localhost systemd[1]: Unit httpd-peruser.service entered failed state.

A workaround is to install the package apache-mpm-prefork-2.2.22-12.mga2. It will then launch the service / lib / systemd / system / httpd-prefork.service service instead of / lib / systemd / system / httpd-peruser.service.

Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1. urpmi owncloud
2. systemctl restart httpd.service
3. See the error message with "systemctl status httpd.service"
3.
Comment 1 Anne Nicolas 2012-09-23 17:33:25 CEST
Is it intended to install an experimental version?

CC: (none) => ennael1

Anne Nicolas 2012-09-23 17:34:54 CEST

Assignee: bugsquad => dmorganec

Comment 2 Manuel Hiebel 2012-09-23 20:27:46 CEST
the source rpm is apache so the maintainer seems guillaume not dexter

Assignee: dmorganec => guillomovitch

Comment 3 Guillaume Rousse 2012-10-05 15:49:49 CEST
As Anne said, why are you using an experimental apache engine (mpm-peruser) instead of the standard one (mpm-prefork) ?

Status: NEW => ASSIGNED

Comment 4 Jean Michel Varvou 2012-10-05 20:38:33 CEST
In fact, I selected the second option proposed during installation owncloud. I had not noticed that this module is still experimental, probably due to lack of "attention. 

[root@localhost ~]# urpmi owncloud
Afin de satisfaire les dépendances de « php-gd », un des paquetages suivants est nécessaire :
 1- php-gd-5.3.15-1.mga2.i586 : GD extension module for PHP (à installer)
 2- php-gd-bundled-5.3.15-1.mga2.i586 : GD extension module for PHP (à installer)
Que choisissez-vous ? (1-2) 1
Afin de satisfaire les dépendances de « apache-mpm[*][== 2.2.22-12.mga2] », un des paquetages suivants est nécessaire :
 1- apache-mpm-prefork-2.2.22-12.mga2.i586 : Implements a non-threaded, pre-forking web server (stable) (à installer)
 2- apache-mpm-peruser-2.2.22-12.mga2.i586 : Implements a hybrid multi-process, multi-threaded web server (experimental) (à installer)
 3- apache-mpm-itk-2.2.22-12.mga2.i586 : Implements a non-threaded, pre-forking web server (experimental) (à installer)
Que choisissez-vous ? (1-3) 

Nevertheless, it allowed me simply note that apache-mpm-peruser not work :

[root@localhost ~]# urpmi apache-mpm-peruser-2.2.22-12.mga2.i586
    rsync://distrib-coffee.ipsl.jussieu.fr/pub/linux/Mageia/distrib/2/i586/media/core/release/apache-mpm-peruser-2.2.22-12.mga2.i586.rpm
installation de apache-mpm-peruser-2.2.22-12.mga2.i586.rpm depuis /var/cache/urpmi/rpms
Préparation...                   ########################################################################################################
      1/1: apache-mpm-peruser    ########################################################################################################
[root@localhost ~]# systemctl status httpd.service
httpd-peruser.service - The Apache HTTP Server (peruser MPM)
          Loaded: loaded (/lib/systemd/system/httpd-peruser.service; enabled)
          Active: inactive (dead)
          CGroup: name=systemd:/system/httpd-peruser.service
[root@localhost ~]# systemctl start httpd.service
Job failed. See system journal and 'systemctl status' for details.
[root@localhost ~]# systemctl status httpd.service
httpd-peruser.service - The Apache HTTP Server (peruser MPM)
          Loaded: loaded (/lib/systemd/system/httpd-peruser.service; enabled)
          Active: failed (Result: resources)
          CGroup: name=systemd:/system/httpd-peruser.service
Comment 5 Guillaume Rousse 2012-10-07 16:02:47 CEST
Easily reproductible: this experimental engine is completly broken.

However, given than we never had prior reports for it, meaning it has probably never been used by  anyone, and given it has vanished from apache 2.4, I don't intend to spend any time on it. I'm closing it as WONTFIX.

Status: ASSIGNED => RESOLVED
Resolution: (none) => WONTFIX
Summary: Owncloud : httpd-peruser.service will not start because of the variable GracefulShutdownTimeout => Apache peruser MPM segfaults