Apache Web-Serving with Mac OS X: Part 2
Subject:   Kill Apache???
Date:   2002-04-22 07:58:47
From:   jblarsen
I made changes to httpd.conf that were incorrect, then stopped and tried to restart Apache from the System Preferences panel. When I tried to restart, the panel said "web server starting up" and sat there.

I could not figure out what state the startup was in, nor how to kill whatever process was preventing the startup. I did not see httpd in the process list. I eventually rebooted to clear the problem.

Was there another way to handle this situation without rebooting?


Full Threads Oldest First

Showing messages 1 through 1 of 1.

  • Morbus Iff photo Kill Apache???
    2002-04-23 15:40:11  Morbus Iff | O'Reilly Author [View]

    You can restart Apache from the Terminal, but just with what you've described, I'm not entirely sure what the issue was. The Sharing SysPref will appear to stall when there's an error in your config file, so I'm assuming you had fixed that error before you tired to "stop and start" with the gooey button.

    If this happens again, you can check that your config file is in good working order with "httpd -t" and then restart the server manually with "sudo apachectl start". Likewise, stopping the server can be done with "sudo apachectl stop".