Apache service not starting: Apache config (16793068810.91480100) generation

Started by Suhitha, Sep 04, 2025, 07:30 AM

Previous topic - Next topic

Suhitha

Question: Apache service not starting: Apache config (16793068810.91480100) generation failed: Template_Exception: httpd: Syntax error on line 353 of /etc/httpd/conf/httpd.conf


Applicable to:

  • Plesk for Linux

Symptoms

  • Plesk Obsidian running on a Linux-based operating system
  • The following error is shown in the Plesk GUI when trying to recreate the web server configuration for all domains on the server:

ERR [panel] Apache config (16793068810.91480100) generation failed: Template_Exception: httpd: Syntax error on line 353 of /etc/httpd/conf/httpd.conf: Syntax error on line 5 of /etc/httpd/conf.d/zz010_psa_httpd.conf: Syntax error on line 64 of /etc/httpd/conf/plesk.conf.d/server.conf: Could not open configuration file /etc/httpd/conf/plesk.conf.d/ip_default/example.com.conf: No such file or directory


Cause

Orphaned web server configuration files (or symbolic links) still exist for an already removed domain.


Resolution

1.Connect to the server via SSH

2.Check for the configuration within the configuration file directory of the domain:

# ls -la /etc/httpd/conf/plesk.conf.d/ip_default/example.com.conf
lrwxrwxrwx 1 root root 62 Mar 20 08:35 /etc/httpd/conf/plesk.conf.d/ip_default/example.com.conf -> /var/www/vhosts/system/example.com/conf/httpd_ip_default.conf

3.Remove the orphaned configuration files manually:

# rm -f /etc/httpd/conf/plesk.conf.d/ip_default/example.com.conf
4.Recreate the web server configuration files for all domains on the Plesk server:

# plesk repair web -y