• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.

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