• 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 server stopping - zz010_psa_httpd.conf.new error

M

Magumo

Guest
Good day,

We are running Plesk 8.6 and twice now, apache stops and on trying to start it in Plesk it gives the following error:

[Wed Nov 04 13:00:55 2009] [notice] Graceful restart requested, doing restart
apache2: Syntax error on line 295 of /etc/apache2/apache2.conf: Could not open configuration file /etc/apache2/conf.d/zz010_psa_httpd.conf.new: No such file or directory


We ended up rebooting the server to resolve the problem.
 
I think that you have something like

Include /etc/apache2/conf.d/

in line 295 of /etc/apache2/apache2.conf file and there is should be file /etc/apache2/conf.d/zz010_psa_httpd.conf

So, if you haven't direct file /etc/apache2/conf.d/zz010_psa_httpd.conf.new including in /etc/apache2/apache2.conf this error can be ignored.
 
Thanks for a prompt reply.

In the /etc/apache2/apache2.conf line 295, i have:

# Include generic snippets of statements
Include /etc/apache2/conf.d/



In /etc/apache2/conf.d i have the files of relevance:

zz010_psa_httpd.conf
zz010_psa_httpd.new
zz010_psa_httpd.conf.backup


There is no zz010_psa_httpd.conf.new . Is this right?
 
also, you can try to change Include /etc/apache2/conf.d/ to
Include /etc/apache2/conf.d/*.conf

in /etc/apache2/apache2.conf
probably, it helps.
 
Back
Top