LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-18-2006, 04:43 PM   #1
MPowers
LQ Newbie
 
Registered: Jun 2005
Posts: 25

Rep: Reputation: 15
httpd sleeps


My httpd stops working sometimes.
The 80 port is open but it's not repsonding to any queries.

I need some script to make automatic check if the httpd stoped work and restart it.
 
Old 04-18-2006, 04:47 PM   #2
Dtsazza
Member
 
Registered: Oct 2005
Location: Oxford, UK
Distribution: Debian Etch (w/ dual-boot XP for gaming)
Posts: 282

Rep: Reputation: 31
Erm, don't you actually need to find out what's causing your httpd to stop responding, and fix that? Anything else would be building on top of unexpected, undetermined behaviour - which would be a really bad idea.

If it's an urgent matter to resuscitate, then perhaps some script like this could cover you while you figure out what the real problem is - but ignoring it isn't a good idea...
 
Old 04-19-2006, 08:42 AM   #3
MPowers
LQ Newbie
 
Registered: Jun 2005
Posts: 25

Original Poster
Rep: Reputation: 15
I need just the script... The problem appears once a week
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: A Giant Must Be Slain As He Sleeps LXer Syndicated Linux News 0 02-22-2006 10:01 PM
Monitor sleeps with ATI drivers king111 Linux - Newbie 8 07-24-2005 06:12 PM
service httpd status, results in httpd dead but subsys locked squadja Red Hat 2 09-11-2004 10:31 PM
machine sleeps ignoring network requests rguptatx Red Hat 2 11-13-2003 06:09 PM
httpd chokes on ScriptAlias line in Apache httpd.conf lhoff Linux - Software 1 07-14-2003 10:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:21 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration