can't start Apache on Mac OS X--no listening sockets available?

kaens apatheticagnostic at gmail.com
Tue Jun 26 02:52:10 EDT 2007


On 6/26/07, 7stud <bbxx789_05ss at yahoo.com> wrote:
> Ok.  If I try to start Personal Web Sharing while Apache is running,
> it says  "Web Sharing starting up...", but it never does.  Then if I
> close the window and restart my imac, my imac boots up with Personal
> Web Sharing turned on.
>
> I still can't figure out where the page that says "It works!" is
> located.  It must be in the pre installed apache directory, but I have
> no idea where it is on my imac.  And, I don't understand why the page
> isn't being served up by my new installation since I started the new
> Apache using the command:
>
> $sudo /Library/Apache2/bin/apachectl start
>
> I didn't start the pre-installed Apache.
>
> Also, when I look at the Activity monitor, there is an httpd root
> process with pid 285, and then there are 6 daemon http processes with
> pids 286, 287, 288, 289, 290, 291.  What is that all about?
>
> --
> http://mail.python.org/mailman/listinfo/python-list
>

If apache2 works on macs how it does on linux (it should, right?)
there should be Apache2/sites-enabled and Apache2/sites-available
directories - the "default" files in these will tell you what pages
are being served, I believe.

Maybe apachectl restart?

Also, I think the processes are normal, but I'm not sure. Apache is a
pretty heavyweight server.



More information about the Python-list mailing list