• 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

if i add a new Domain in the Control Panel the system Can not restart web server

AxelN

New Pleskian
Hello,

if a add a new Domain in the Control Panel the System Can not restart the web Server.
I doesn't had the Problems since today. Each time i try this error Comes:

Aufgrund von Fehlern in den Konfigurations-Templates konnten keine neuen Konfigurationsdateien für den Apache Webserver erstellt werden: Can not restart web server: Service /etc/init.d/apache2 failed to start Service /etc/init.d/apache2 failed to start . Die Fehlermeldung mit einer detaillierten Fehlerbeschreibung wurde Ihnen per E-Mail zugesendet. Bitte lösen Sie das Problem und klicken Sie auf hier, um die beschädigten Konfigurationsdateien erneut zu erstellen, oder auf hier, um alle Konfigurationsdateien zu erstellen.

But why Comes this error suddenly i dons't change the configuration of the Server.

If i delete the subscription the Apache reworks.
 
I can't read the error (as I don't read German) but I guess it's to do with a corrupt vhost. Corruption of vhosts does not necessarily be triggered by changing server configurations...Deleting a subscription can cause such a behaviour in some cases ..

Try rebuilding them with:

Code:
/usr/local/psa/admin/sbin/httpdmng --reconfigure-all
 
It doesn't help.

Since today, Each time i try to add a Domain to a subscription in the control Panel this error Comes after an amount of time:

New files of configuration for Apache web server were not built due to errors in configuration templates: Can not restart web server: Service /etc/init.d/apache2 failed to start Service /etc/init.d/apache2 failed to start . The detailed error message was e-mailed to you, so please check the e-mail, fix the errors, and click here to retry generating broken configuration or click here to retry generating of all configurations.

If i remove the hole subscription the System restarts the webserver.
 
Hello,

Can you please check your server httpd configuration through httpd -t command through SSH
 
Hello,

Currently I can see there is no issues with the httpd services on your server. I will suggest you please check your httpd config test when you are getting above issues. With this command you can find out the exact issues with your httpd service
 
Back
Top