Solved

Automatically restarting Apache (httpd)

Posted on 2004-03-28
1
325 Views
Last Modified: 2010-03-04
Hi!

I have set up a Server using Fedora Core with Apache as the web server. Sometimes the httpd daemon dies and I would like to know if there are settings I can configure or measures I can take to automatically restart Apache when this happens.

:)
_haylow_
0
Comment
Question by:_haylow_
1 Comment
 
LVL 51

Accepted Solution

by:
ahoffmann earned 125 total points
Comment Utility
write something like this in your cron:
* * * * * /bin/ps ax|/bin/grep '[h]ttpd' || /opt/apache/bin/apachectl start
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

In my time as an SEO for the last 2 years and in the questions I have assisted with on here I have always seen the need to redirect from non-www urls to their www versions. For instance redirecting http://domain.com (http://domain.com) to http…
It is possible to boost certain documents at query time in Solr. Query time boosting can be a powerful resource for finding the most relevant and "best" content. Of course the more information you index, the more fields you will be able to use for y…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

6 Experts available now in Live!

Get 1:1 Help Now