Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Mac OS X > Apache not starting

Apache not starting
Thread Tools
jtc
Mac Enthusiast
Join Date: May 2001
Location: NY
Status: Offline
Reply With Quote
Jan 22, 2003, 04:51 PM
 
I've been running apache for a couple of months with no problems, until yesterday. It's a proxy server for another machine and I use it to access a mysql database (with php). It doesn’t start up whether I use httpd, apachectl or the sharing control panel. For example, if I sudo apachectl start the httpd process never shows up, and sudo apachectl stop will tell me that httpd is not running. The logs are of no help – it’s not starting up then shutting down, it seems that it never attempts to start httpd.
Any ideas?
Thanks
     
Mac Elite
Join Date: Mar 2001
Location: Minneapolis, MN
Status: Offline
Reply With Quote
Jan 22, 2003, 05:08 PM
 
have you tried sudo apachectl configtest?
     
jtc  (op)
Mac Enthusiast
Join Date: May 2001
Location: NY
Status: Offline
Reply With Quote
Jan 22, 2003, 05:35 PM
 
Originally posted by awaspaas:
have you tried sudo apachectl configtest?
Forgot to mention that. Yeah, the config file is fine (I haven't changed it in a while).
     
Mac Elite
Join Date: Jun 2001
Location: Dundee, Scotland
Status: Offline
Reply With Quote
Jan 22, 2003, 06:14 PM
 
Have you changed any permissions? check that it can get the the web directory and the its log files... make sure that they are both readable and writable (especially in the case of logs)
     
jtc  (op)
Mac Enthusiast
Join Date: May 2001
Location: NY
Status: Offline
Reply With Quote
Jan 22, 2003, 10:25 PM
 
Originally posted by sambeau:
Have you changed any permissions? check that it can get the the web directory and the its log files... make sure that they are both readable and writable (especially in the case of logs)
Permissions are ok - I repair them once a week or so.
     
   
Thread Tools
Forum Links
Forum 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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 07:37 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2