Solving ‘org.apache.httpd: Already loaded’ error on Mac OS X Snow Leopard

I recently ran into a problem where my local Apache instance wasn’t responding to requests. Trying to restart or start it with

sudo apachectl restart

yielded an error message like this:

org.apache.httpd: Already loaded

Checking running processes, I noticed that apache wasn’t actually running, which seemed a bit strange. Luckily, apachectl offers a helpful command for checking your config syntax,

apachectl configtest

. Sure enough, it turned out I’d modified the httpd.conf a couple of weeks ago, but never rebooted Apache. Commenting out the offending line and starting Apache fixed the problem and I’m back up and running.

StackOverflow

Sponsored Links

Leave A Reply

Comments

Vasken Hauri (Apr 10, 2012)

New blog post: Solving org.apache.httpd: Already loaded error on Mac OS X Snow Leopard http://t.co/7O3zAfBL

Georgia Ochenduszko (Apr 11, 2012)

Solving org.apache.httpd: Already loaded error on Mac OS X Snow … http://t.co/4CSD7V4Q

Georgia Ochenduszko (Apr 13, 2012)

Solving org.apache.httpd: Already loaded error on Mac OS X Snow … http://t.co/4CSD7V4Q

Georgia Ochenduszko (Apr 21, 2012)

Solving 'org.apache.httpd: Already loaded' error on Mac OS X Snow … http://t.co/4CSD7V4Q