• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Can't start apache2

Jarkko

New Pleskian
I've been struggling with my server (Ubuntu 14.04) running on Plesk 12.5. Recently there's been problems with the server running .php -files. For some weird reason browsers are not been able to show the php files as they should be but instead browser offers to download these files. This happened with two different machines and 3 different browsers. Since this happened to every php file in the server I concluded that the problem has to be in server and not the browser. So by searching solutions from the internet I also tried to follow one particular instruction. Can't really relocate the instructions I was trying to follow but it had something to do with "a2enmod php5" -command. Now apache won't start anymore and I'm trying to plea for help.

Upon "service apache2 start" there's error message: "AH00534: apache2: Configuration error: More than one MPM loaded." And here's some log notes with apache mentioned from /var/log/apache2/error.log -file:

Code:
[suexec:notice] [pid 19224:tid 139880209303424] AH01232: suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
[mpm_event:notice] [pid 19225:tid 139880209303424] AH00489: Apache/2.4.7 (Ubuntu) mod_fcgid/2.3.9 OpenSSL/1.0.1f configured -- resuming normal operations
[core:notice] [pid 19225:tid 139880209303424] AH00094: Command line: '/usr/sbin/apache2'
[mpm_event:notice] [pid 19225:tid 139880209303424] AH00491: caught SIGTERM, shutting down
[suexec:notice] [pid 2513:tid 140375506491264] AH01232: suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
[mpm_event:notice] [pid 2514:tid 140375506491264] AH00489: Apache/2.4.7 (Ubuntu) mod_fcgid/2.3.9 OpenSSL/1.0.1f configured -- resuming normal operations
[core:notice] [pid 2514:tid 140375506491264] AH00094: Command line: '/usr/sbin/apache2'

Any help with this problem is appreciated.
 
Thanks for the advice Igor. Sadly this really didn't help since trying to repair server-wide configuration parameters does end up with the previously mentioned error message:

Code:
  Repairing server-wide configuration parameters for web servers .. [2016-04-27 21:18:11] ERR [util_exec] proc_close() failed ['/opt/psa/admin/bin/httpdmng' '--reconfigure-server'] with exit code [1]
[FAILED]
  - httpdmng failed: [2016-04-27 21:18:09] ERR [util_exec]
  proc_close() failed ['/opt/psa/admin/bin/apache-config' '-t']
  with exit code [1]
  [2016-04-27 21:18:11] ERR [util_exec] proc_close() failed
  ['/opt/psa/admin/bin/apache-config' '-t'] with exit code [1]
  [2016-04-27 21:18:11] ERR [panel] Apache config
  (14617810870.82329100) generation failed: Template_Exception:
  AH00534: apache2: Configuration error: More than one MPM
  loaded.

  file:
  /opt/psa/admin/plib/Template/Writer/Webserver/Abstract.php
  line: 75
  code: 0
  AH00534: apache2: Configuration error: More than one MPM
  loaded.
 
Apache is misconfigured. Could you please show me output of following SQL query in Plesk database:

select * from Configurations where status='error';
 
Here's the output of Plesk database query:

Code:
+----+------------------------+---------------+--------------------------------------------------------------------------------+----------------------+------------+----------+--------+--------+-------------------------------------------------------------------+--------------------------------------------------------------------------------+
| id | name  | serviceNodeId | file  | version  | objectType | objectId | status | active | description  | errorFile  |
+----+------------------------+---------------+--------------------------------------------------------------------------------+----------------------+------------+----------+--------+--------+-------------------------------------------------------------------+--------------------------------------------------------------------------------+
|  1 | server  |  1 | /etc/apache2/plesk.conf.d/server.conf  | 14617817600.19212200 | server  |  NULL | error  | true  | AH00534: apache2: Configuration error: More than one MPM loaded.
 | /etc/apache2/plesk.conf.d/server.conf  |
|  2 | serverHorde  |  1 | /etc/apache2/plesk.conf.d/horde.conf  | 14617817600.19212200 | server  |  NULL | error  | true  | AH00534: apache2: Configuration error: More than one MPM loaded.
 | /etc/apache2/plesk.conf.d/horde.conf  |
|  3 | serverRoundcube  |  1 | /etc/apache2/plesk.conf.d/roundcube.conf  | 14617817600.19212200 | server  |  NULL | error  | true  | AH00534: apache2: Configuration error: More than one MPM loaded.
 | /etc/apache2/plesk.conf.d/roundcube.conf  |
|  6 | domainWebmailRoundcube |  1 | /etc/apache2/plesk.conf.d/webmails/roundcube/xxx.xxx.com_webmail.conf  | 14617817600.19212200 | domain  |  1 | error  | true  | AH00534: apache2: Configuration error: More than one MPM loaded.
 | /etc/apache2/plesk.conf.d/webmails/roundcube/xxx.xxx.com_webmail.conf |
|  8 | domainVhost  |  1 | /var/www/vhosts/system/xxx.xxx.com/conf/httpd.conf  | 14617816860.59955800 | domain  |  1 | error  | false  | AH00534: apache2: Configuration error: More than one MPM loaded.
 | /var/www/vhosts/system/xxx.xxx.com/conf/httpd.conf  |
|  9 | domainVhostIpDefault  |  1 | /var/www/vhosts/system/xxx.xxx.com/conf/httpd_ip_default.conf  | 14617816860.59955800 | domain  |  1 | error  | false  | AH00534: apache2: Configuration error: More than one MPM loaded.
 | /var/www/vhosts/system/xxx.xxx.com/conf/httpd_ip_default.conf  |
| 12 | domainWebmailRoundcube |  1 | /etc/apache2/plesk.conf.d/webmails/roundcube/zzz.com_webmail.conf  | 14617817600.19212200 | domain  |  2 | error  | true  | AH00534: apache2: Configuration error: More than one MPM loaded.
 | /etc/apache2/plesk.conf.d/webmails/roundcube/zzz.com_webmail.conf  |
| 14 | domainVhost  |  1 | /var/www/vhosts/system/zzz.com/conf/httpd.conf  | 14617816860.59955800 | domain  |  2 | error  | false  | AH00534: apache2: Configuration error: More than one MPM loaded.
 | /var/www/vhosts/system/zzz.com/conf/httpd.conf  |
| 16 | domainWebmailRoundcube |  1 | /etc/apache2/plesk.conf.d/webmails/roundcube/yyy.fi_webmail.conf  | 14617817600.19212200 | domain  |  3 | error  | true  | AH00534: apache2: Configuration error: More than one MPM loaded.
 | /etc/apache2/plesk.conf.d/webmails/roundcube/yyy.fi_webmail.conf  |
| 18 | domainVhost  |  1 | /var/www/vhosts/system/yyy.fi/conf/httpd.conf  | 14617816860.59955800 | domain  |  3 | error  | false  | AH00534: apache2: Configuration error: More than one MPM loaded.
 | /var/www/vhosts/system/yyy.fi/conf/httpd.conf  |
| 20 | domainWebmailRoundcube |  1 | /etc/apache2/plesk.conf.d/webmails/roundcube/aaa.fi_webmail.conf  | 14617817600.19212200 | domain  |  4 | error  | true  | AH00534: apache2: Configuration error: More than one MPM loaded.
 | /etc/apache2/plesk.conf.d/webmails/roundcube/aaa.fi_webmail.conf  |
| 22 | domainVhost  |  1 | /var/www/vhosts/system/aaa.fi/conf/httpd.conf  | 14617816860.59955800 | domain  |  4 | error  | false  | AH00534: apache2: Configuration error: More than one MPM loaded.
 | /var/www/vhosts/system/aaa.fi/conf/httpd.conf  |
| 24 | server  |  1 |  | 14617815580.73257800 |  |  NULL | error  | false  | AH00534: apache2: Configuration error: More than one MPM loaded.
 | NULL  |
| 25 | serverHorde  |  1 |  | 14617815580.73257800 |  |  NULL | error  | false  | AH00534: apache2: Configuration error: More than one MPM loaded.
 | NULL  |
| 26 | serverRoundcube  |  1 |  | 14617815580.73257800 |  |  NULL | error  | false  | AH00534: apache2: Configuration error: More than one MPM loaded.
 | NULL  |
+----+------------------------+---------------+--------------------------------------------------------------------------------+----------------------+------------+----------+--------+--------+-------------------------------------------------------------------+--------------------------------------------------------------------------------+
15 rows in set (0.00 sec)
 
Ok, finally I got it to work. I disabled php5 mod from /etc/apache2/mods-enabled (a2dismod php5) and mpm_event that was making conflicts. After this apache2 service fired up just fine.
 
Back
Top