Page 1 of 1

Apache error

Posted: Fri May 06, 2011 2:23 am
by coolemail
We have CentOS 5, ASL and Plesk 10.2

Each day we are getting emails saying:
Generating new Apache configuration on host <hostname> failed because the following error(s) occurred:

Can not restart web server:

Please fix error(s) in templates of Apache configuration and retry generating the configuration file.
Please can someone guide me as to where we might find these errors and prevent this from happening.

Many thanks, in advance, for any help.

Re: Apache error

Posted: Fri May 06, 2011 8:16 am
by Highland
Have you looked at your /var/log/httpd/error_log file to see what's ahppening?

Re: Apache error

Posted: Fri May 06, 2011 9:24 am
by scott
and have you made any custom changes? like to a vhost.conf or something?

Re: Apache error

Posted: Mon May 09, 2011 9:00 am
by coolemail
There were two issues in the error log relating to modules:

The first was a permissions error, which was solved by using chmod on /etc/httpd/conf.d/000_mod_sed.conf.
The second was a conflict between two lines in an unknown file which stated a module had been compiled by two seperate processes. This one was 'solved' by performing yum updates.