I was fighting with Apache2 + mod_ssl on my OS X box for a while, and as it turned out, I was missing something pretty simple that wasn't documented that well anywhere. I'm posting this in hopes that I save others the same frustration.
I built Apache in the following manner:
./configure --prefix=/opt/apache20 --enable-ssl --with-ssl=/opt/local
And when I ran:
I got this in my error log:
[Thu Jan 25 09:04:49 2007] [emerg] (13)Permission denied: couldn't grab the accept mutex
[Thu Jan 25 09:04:50 2007] [alert] Child 29791 returned a Fatal error... Apache is exiting!
Makes it hard to develop a webapp when your webserver fails to start
Come to find out that on OS X, using an
default wasn't good enough. Apparently, OS X wants it set explicitly to
Hope some of you find this helpful.