pavement

Apachectl

From FreeBSDwiki
Revision as of 16:05, 12 August 2012 by DavidYoung (Talk | contribs)
Jump to: navigation, search

apachectl is a simple tool used to make it easier to start and stop the apache webserver.

apachectl start - starts the webserver. Reports whether or not it successfully started the server, but DON'T take its word for it - apachectl often lies through its bloody teeth. Use ps ax | grep http to double-check that apache is really running.

apachectl stop - stops the webserver. You can probably trust this. =)

apachectl restart - similar to apachectl stop immediately followed by apachectl start. However note that the master process does not die thus different parameters passed on the command line will take effect e.g. -DSSL.

apachectl graceful - very handy for high-traffic production webservers. Works like apachectl restart, except that it does not kill any existing processes until they've finished what they're doing - net effect being that even if you have 100 concurrent users accessing websites on the machine, none of them should have any idea that you restarted apache, no matter when they click to try to load a page. See above re: believing what it tells you - do NOT assume that it really did restart successfully without checking behind it with a ps ax | grep http.

apachectl configtest - will either return Syntax OK or a detailed description of what it thinks is wrong with your httpd.conf. Use this if you can't get Apache started.

Contents

Behind the Beautiful Forevers

For two decades, and currently at The New Yorker, youve written about the distribution of opportunity, and the means by which people might get out of poverty, in America. What inspired you to start asking the same kinds of questions in India?

[Behind the Beautiful Forevers]

[GoodvilleNews.com - good, positive news, inspirational stories, articles]

Man Builds Fairy Tale Home for $4700

Simon Dale is a family man in Wales, the western part of Great Britain. His interest in self-sustainability and an ecological awareness led him to dig out and build his own homeone of the loveliest, warmest, most inviting dwellings you could ever imagine. And it cost him only 3,000, about $4,700 American dollars!

[Man Builds Fairy Tale Home for $4700]

[GoodvilleNews.com - good, positive news, inspirational stories, articles]

Solar Device Brings Natural Light to Workers

Fluorescent lights are often seen as the brunt of an artificial working environment, but office workers around the world could soon have sunnier dispositions.

[Solar Device Brings Natural Light to Workers]

[GoodvilleNews.com - good, positive news, inspirational stories, articles]

Champ Helps Injured Competitor Across Finish Line

Sometimes, a simple gesture can take on a much greater meaning. During an Ohio track meet, Meghan Vogel sacrificed her own position to help Arden McMath, a fellow runner who fell down finish the race.

[Champ Helps Injured Competitor Across Finish Line]

[GoodvilleNews.com - good, positive news, inspirational stories, articles]

What Ive Learned About Learning

We learn more by looking for the answer to a question and not finding it than we do from learning the answer itself. ~Lloyd AlexanderI am a teacher and an avid learner, and Im passionate about both.Im a teacher because I help Eva homeschool our kids OK, she does most of the work, but I do help, mostly with math but with everything else too.

[What Ive Learned About Learning]

[GoodvilleNews.com - good, positive news, inspirational stories, articles]

Personal tools