Apache error

General Discussion of atomic repo and development projects.

Ask for help here with anything else not covered by other forums.
coolemail
Forum Regular
Forum Regular
Posts: 369
Joined: Tue Dec 16, 2008 8:01 am
Location: United Kingdom

Apache error

Unread post 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.
Highland
Forum Regular
Forum Regular
Posts: 674
Joined: Mon Apr 10, 2006 12:55 pm

Re: Apache error

Unread post by Highland »

Have you looked at your /var/log/httpd/error_log file to see what's ahppening?
"Its not a mac. I run linux... I'm actually cool." - scott
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Re: Apache error

Unread post by scott »

and have you made any custom changes? like to a vhost.conf or something?
coolemail
Forum Regular
Forum Regular
Posts: 369
Joined: Tue Dec 16, 2008 8:01 am
Location: United Kingdom

Re: Apache error

Unread post 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.
Post Reply