• 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.

Issue Apache 2.4 - can not start after debian-upgrade

muelli75

New Pleskian
Hi!

I upgraded a host from wheezy to jessie - sadly i unregarded some unknown points.

Some Information about the enviroment:
  • OS: ‪Debian 8.7‬
  • Plesk version: 12.5.30 Update #59
  • apache2:amd64/jessie 2.4.10-10+deb8u7

So I fixed all broken things after the upgrade up to two. Here is the first:

Plesk cant start apache2, apperently of the new init-system.
Here is the errormessage:

Unable to generate the web server configuration file on the host <XXX.myhost.net> because of the following errors:
--
Template_Exception: Can not restart web server:
file: /opt/psa/admin/plib/Service/Driver/Web/Server/Apache.php
line: 110
code: 0

Please resolve the errors in web server configuration templates and generate the file again.
--

If I try to reconfigure apache by klicking on the provided help-link from plesk, after a few minutes the following error occours:

---
Unable to configure the web server: Execution failed. Command: httpdmng Arguments: Array ( [0] => --reconfigure-all ) Details: Execution failed. Command: httpdmng Arguments: Array ( [0] => --reconfigure-domains [1] => ----AllMyDomains_are_listed_here----- ) Details: [2017-02-18 15:05:37] ERR [util_exec] proc_close() failed ['/opt/psa/admin/bin/apache_control_adapter' '--restart' '--restart-interval' '0' '--http-port' '80' '--https-port' '443'] with exit code [255] [2017-02-18 15:06:05] ERR [panel] Apache config (14874265750.15792600) generation failed: Template_Exception: Can not restart web server: file: /opt/psa/admin/plib/Service/Driver/Web/Server/Apache.php line: 110 code: 0 Can not restart web server:
---

in the log of the plesk-upgrade, I have also seen:
--
apache2: Syntax error on line 203 of /etc/apache2/apache2.conf: Syntax error on line 1 of /etc/apache2/mods-enabled/fcgid.load: Cannot load /usr/lib/apache2/modules/mod_fcgid.so into server: /usr/lib/apache2/modules/mod_fcgid.so: undefined symbol: unixd_config
--

But /usr/lib/apache2/modules/mod_fcgid.so is binary and I cant look into it.
/etc/apache2/mods-available/fcgid.load contains only one line:
LoadModule fcgid_module /usr/lib/apache2/modules/mod_fcgid.so

Did
$ grep --color=auto -iRnH 'unix' -r *
on the files under /etc/apache2/ - no file contains unixd_config which I can replace against ap_unixd_config

Another thing I tried, was to reinstall libapache2-mod-fcgid-psa - but
"Reinstallation of libapache2-mod-fcgid-psa is not possible, it cannot be downloaded"

#/etc/apt/sources.list
#plesk
deb http://autoinstall.plesk.com/debian/PSA_12.5.30 jessie all

Which wheels are to turn, to solve this issue?


Thank you for your answers!
 
Last edited:
Back
Top