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

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