• 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

Apache crashes (File or directory not found)

SuiCo

New Pleskian
Hi forum

Every 2-3 days web services crashs. I checked the apache error-log and found the reason:

[Fri Jul 08 22:34:04 2011] [notice] Graceful restart requested, doing restart
apache2: Syntax error on line 195 of /etc/apache2/apache2.conf: Could not open configuration file /etc/apache2/conf.d/zz010_psa_httpd.conf.new: No such file or directory

If I check this line I see:
# Include generic snippets of statements
Include /etc/apache2/conf.d/

In this folder I can see several files, e.g.: zz010_psa_httpd.conf

But there's no 'zz010_psa_httpd.conf.new'

So, why it want to load this file? Where is that declared?

Best regards
SuiCo
 
try changing the line to

Include conf.d/*.conf

You can also run
/usr/local/psa/admin/bin/websrvmng -v -a

afterwards to rebuild all the httpd config files
 
Back
Top