• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • 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.

Unable to configure the web server Execution failed

sngdevnull

New Pleskian
Hello,

I've updated my Debian 6 Plesk 11.5 to Debian 7 Plesk 12.5. All was fine.
After that i've updated Debian 7 to 8 and have some problems with Apache.

- httpdmng failed: [2016-01-15 18:59:40] ERR [util_exec]
proc_close() failed
['/opt/psa/admin/bin/apache_control_adapter' '--restart'
'--restart-interval' '0' '--http-port' '7080' '--https-port'
'7081'] with exit code [255]
Error occured while sending feedback. HTTP code returned: 502
[2016-01-15 18:59:43] ERR [panel] Apache config
(14528734560.27080000) generation failed: Template_Exception:
Can not restart web server:
file: /opt/psa/admin/plib/Service/Driver/Web/Server/Apache.php
line: 110
code: 0
Error occured while sending feedback. HTTP code returned: 502
Can not restart web server:


I've tried Bootstrapper repair:

==========================================
Bootstrapper repair finished.
Errors occurred while performing the following actions: fix credentials for WPB database, fix RoundCube configuration, fix Horde configuration, restore mail, regenerate web servers configuration files.
Check '/var/log/plesk/install/plesk_12.5.30_repair.log' and '/var/log/plesk/install/plesk_12.5.30_repair_problems.log' for details.
If you can't resolve the issue on your own, please address Parallels support.
[2016-01-16 17:16:47] ERR [util_exec] proc_close() failed ['/opt/psa/admin/bin/apache_control_adapter' '--restart' '--restart-interval' '0' '--http-port' '7080' '--https-port' '7081' '--graceful'] with exit code [1]
Error occured while sending feedback. HTTP code returned: 502
[2016-01-16 17:16:50] ERR [panel] Apache config (14529538000.42702800) generation failed: Template_Exception: Can not restart web server:
file: /opt/psa/admin/plib/Service/Driver/Web/Server/Apache.php
line: 110
code: 0
Error occured while sending feedback. HTTP code returned: 502
Can not restart web server:
Warning : failed to perform deferred action : httpd_reconfigure

**** Product repair completed successfully.

STOP Bootstrapper 12.5.30 repair AT Sat Jan 16 17:16:52 MSK 2016
==========================================



plesk repair web -server
==========================================
Repairing web server configuration
Repairing server-wide configuration parameters for web servers .. [2016-01-16 17:36:29] ERR [util_exec] proc_close() failed ['/opt/psa/admin/bin/httpdmng' '--reconfigure-server'] with exit code [1]
Error occured while sending feedback. HTTP code returned: 502
[FAILED]
- httpdmng failed: [2016-01-16 17:36:23] ERR [util_exec]
proc_close() failed
['/opt/psa/admin/bin/apache_control_adapter' '--restart'
'--restart-interval' '0' '--http-port' '7080' '--https-port'
'7081' '--graceful'] with exit code [1]
Error occured while sending feedback. HTTP code returned: 502
[2016-01-16 17:36:27] ERR [panel] Apache config
(14529549770.31453200) generation failed: Template_Exception:
Can not restart web server:
file: /opt/psa/admin/plib/Service/Driver/Web/Server/Apache.php
line: 110
code: 0
Error occured while sending feedback. HTTP code returned: 502
Can not restart web server:


Error messages: 0; Warnings: 0; Errors resolved: 0


exit status 1
==========================================

From MySQL:
==========================================
mysql> select id,objectId,status,description from Configurations where status="error";
+----+----------+--------+------------------------------+
| id | objectId | status | description |
+----+----------+--------+------------------------------+
| 1 | NULL | error | Can not restart web server: |
| 7 | 1 | error | Can not restart web server: |
| 10 | 2 | error | Can not restart web server: |
| 15 | 3 | error | Can not restart web server: |
| 18 | 5 | error | Can not restart web server: |
| 21 | 6 | error | Can not restart web server: |
| 24 | 7 | error | Can not restart web server: |
| 27 | 8 | error | Can not restart web server: |
| 32 | 9 | error | Can not restart web server: |
| 33 | 11 | error | Can not restart web server: |
| 35 | 11 | error | Can not restart web server: |
| 45 | NULL | error | Can not restart web server: |
| 46 | NULL | error | Can not restart web server: |
+----+----------+--------+------------------------------+
13 rows in set (0.00 sec)
==========================================


Nothing helps me.
Any thoughts ?
 
Back
Top