• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Issue "Unable to generate the web server configuration file" while using Litespeed

Denis Gomes Franco

Regular Pleskian
Hey. I got Litespeed server running on my servers and quite a few times I get this error:

Code:
Unable to generate the web server configuration file on the host <xxx> because of the following errors:

Template_Exception: Can not restart web server: Apache is down, start it instead of graceful
httpd stop failed
0 /usr/sbin/apache2 processes are killed
Apache is down, start it instead of graceful
httpd stop failed
0 /usr/sbin/apache2 processes are killed

file: /opt/psa/admin/plib/Service/Driver/Web/Server/Apache.php
line: 122
code: 0

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

Sometimes it seems this process runs just fine and the message disappears from Plesk's dashboard, but I'm not sure. And of course Apache isn't running, since Litespeed server took over it.

Any ideas on what might be going on?
 
Back
Top