Restart apache with additional debug information
Was having problems setting up a local dev environment on a brand new Mountain Lion machine. Apache was refusing to start but no error or access logs were being generated.
Found this way of restarting apache that provided additional debug info.
sudo bash -x /usr/sbin/apachectl -k graceful
This gave me the clue I needed to fix my problem. Hopefully will do the same for you.
Written by Adam Phillips
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Shell
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#