store | blogs | forums | twitter | facebook | wiki | mailing lists | downloads | support portal
Atomic Secure Linux
It is currently Sat May 18, 2013 9:08 pm

» Feed - Atomicorp

All times are UTC - 5 hours [ DST ]




Post new topic Reply to topic Share/Bookmark  [ 4 posts ] 
Author Message
 Post subject: Apache error
Unread postPosted: Fri May 06, 2011 2:23 am 
Offline
Forum Regular
Forum Regular

Joined: Tue Dec 16, 2008 8:01 am
Posts: 353
Location: United Kingdom
We have CentOS 5, ASL and Plesk 10.2

Each day we are getting emails saying:

Quote:
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.


Top
 Profile  
 
 Post subject: Re: Apache error
Unread postPosted: Fri May 06, 2011 8:16 am 
Offline
Forum Regular
Forum Regular

Joined: Mon Apr 10, 2006 12:55 pm
Posts: 656
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


Top
 Profile  
 
 Post subject: Re: Apache error
Unread postPosted: Fri May 06, 2011 9:24 am 
Offline
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin

Joined: Wed Dec 31, 1969 8:00 pm
Posts: 7418
Location: earth
and have you made any custom changes? like to a vhost.conf or something?


Top
 Profile  
 
 Post subject: Re: Apache error
Unread postPosted: Mon May 09, 2011 9:00 am 
Offline
Forum Regular
Forum Regular

Joined: Tue Dec 16, 2008 8:01 am
Posts: 353
Location: United Kingdom
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.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic Share/Bookmark  [ 4 posts ] 

» Feed - Atomicorp

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group