Apache is failing to start in Plesk: Error: New configuration files for the

Started by Suhitha, Sep 29, 2025, 05:40 AM

Previous topic - Next topic

Suhitha

Question: Apache is failing to start in Plesk: Error: New configuration files for the Apache web server were not created due to the errors in configuration templates: AH00112: Warning: DocumentRoot [/usr/share/plesk-service.localdomain] does not exist


Symptoms

  • The following error message is displayed in Plesk:

Error: New configuration files for the Apache web server were not created due to the errors in configuration templates: AH00112: Warning: DocumentRoot [/usr/share/plesk-service.localdomain] does not exist AH00112: Warning: DocumentRoot [/usr/share/plesk-service.localdomain] does not exist AH00526: Syntax error on line 22 of /etc/apache2/plesk.conf.d/vhosts/example.com.conf: SuexecUserGroup configured, but suEXEC is disabled: Missing suexec binary /usr/lib/apache2/suexec. Search in KB
  • Errors like below can be found in the /var/log/apt/term.log:

Removing plesk-awstats-configurator (18.0-v.ubuntu.22.04+p18.0.56.0+t230919.0744) ...
Removing plesk-roundcube (1.6.5-v.ubuntu.22.04+p18.0.57.0+t231107.0857) ...
Removing plesk-web-hosting (18.0-v.ubuntu.22.04+p18.0.57.0+t231106.2014) ...
Removing psa-proftpd (1.3.8a-v.ubuntu.22.04+p18.0.57.0+t231106.2014) ...


Cause


plesk-web-hosting package is missing or was uninstalled accidentally during another package installation.
For example the unsupported vsftpd package was installed recently and it has removed several Plesk packages during its installation.


Resolution

1.Connect to the server via SSH

2.Remove the recently installed package, on this example vsftpd, Plesk uses ProFTPd instead:

# apt remove vsftpd
3.Navigate to Tools & Settings > Updates and press Add/Remove Components button.

4.Select required components for installation (for example, if plesk-roundcube was removed, select Webmail services/Roundcube for installation.

5.Press Continue button to install the packages. Missing plesk-web-hosting package will be installed automatically.