Ask Different is a question and answer site for power users of Apple hardware and software. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

It worked before, and I'm not sure when it stopped working, but I'm unable to start Web Sharing at the moment. Attempting to start it from the Sharing screen results in "Web Sharing Starting..." immediately followed by "Web Sharing: Off". I've tried reverting to the httpd.conf in /etc/apache2/original, but the result is the same.

What else could I try?

share|improve this question
The apache logs are in /var/log/apache2. If the problem is not solved by @Satreix answer below please have a look at error_log and post any error message you get. – patrix Oct 30 '11 at 8:01
The logs should also be easily viewable in /Applications/Utilities/ – Jason Salaz Nov 29 '11 at 7:20

First, take the time to check your httpd.conf with:

sudo apachectl configtest

If it's all ok, then try to restart Apach once or twice (look at the log):

sudo apachectl start (or restart)

It worked for me. If it still doesn't start try finding another default httpd.conf

share|improve this answer

In /usr/lib there is a file libpq.5.3.dylib while apache looks for libpq.5.dylib.

After I copied the file and named it libpq.5.dylib it worked.

share|improve this answer

There are a couple of solutions in the Apple Support Forums. I remember having the same problems and I think the module was the problem.

share|improve this answer

Run this Terminal command to symlink the different versions of libpq:

sudo ln -s /usr/lib/libpq.5.3.dylib /usr/lib/libpq.5.dylib
share|improve this answer

We're looking for long answers that provide some explanation and context. Don't just give a one-line answer; explain why your answer is right, ideally with citations. Answers that don't include explanations may be removed.

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.