Apache Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsSystem AdministrationApache Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old October 5th, 2000, 05:16 AM
richpav richpav is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2000
Posts: 1 richpav User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
I compiled Apache 1.3.12, mod_php/1.2.2, PHP/4.0.2 on RedHat 6.2 in March. It just developed a problem.

I have a line in rc.local to start Apache at boot and it works (/usr/local/apache/bin/apachectl start). After booting I can do "apachectl restart" and it restarts just fine.

The problem is if I stop apache (apachectl stop) then try to restart (apachectl start) the script reports that Apache has started but it really hasn't. The httpd processes don't show in ps -A and there's no entry in error_log for it starting or for an error.

Also, sometimes Apache quits for no reason. The only way to restart it is to reboot the machine.

Why is Apache doing this, how do I track down the problem and how do I fix it? I checked the syntax of httpd.conf and there's no problem. AFIK, no other processes that I run have this problem.

Reply With Quote
  #2  
Old October 5th, 2000, 11:08 AM
freebsd
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
Never do a "apachectl start", use "apachectl graceful" instead. So you should only use:

apachectl graceful
apachectl stop
apachectl configtest

Also make sure The ServerType in your httpd.conf is "standalone", not "inetd".

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationApache Development > Apache starts, but won't start after quit

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap