• 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

Cannot restart my Apache server

kadoudal

Regular Pleskian
After upgrading my Debian 6 server , I restarted my PP then deleted some old domains .
I got an error email from my system stating

<<===== start email ====>
Unable to generate the web server configuration file on the host <sd-30152.dedibox.fr> because of the following errors:

apache2: Syntax error on line 207 of /etc/apache2/apache2.conf: Could not open configuration file /etc/apache2/httpd.conf: No such file or directory

Please resolve the errors in web server configuration templates and generate the file again.
<<===== end email ====>

I look into the file structure and effectively there is no /etc/apache2/httpd.conf file ...

I tried to reconfigure the server , but I guess this is failing because of apache setup , not ...Plesk ?
Before taking any silly action ( like re-installng Plesk, which seems OK) , I prefer ask you what I should do first ?
thanks for your help

<=== console ===>
/usr/local/psa/admin/bin/httpdmng --reconfigure-server
2013-01-27T10:07:08+00:00 ERR (3): Apache config (13592812250.28571500) generation failed: apache2: Syntax error on line 207 of /etc/apache2/apache2.conf: Could not open configuration file /etc/apache2/httpd.conf: No such file or directory

apache2: Syntax error on line 207 of /etc/apache2/apache2.conf: Could not open configuration file /etc/apache2/httpd.conf: No such file or directory
 
Back
Top