localhost/127.0.0.1 not working, "Unable to connect"
Posted
by
redconservatory
on Server Fault
See other posts from Server Fault
or by redconservatory
Published on 2012-03-26T23:14:37Z
Indexed on
2012/03/26
23:31 UTC
Read the original article
Hit count: 319
I am running some pretty basic php sites on Snow Leopard.
Usually I just go to my browser and type anything like:
localhost
http://localhost
127.0.0.1
mycomputername.local
But suddenly, after installing a gem file (compass) none of this is working.
I tried
sudo apachectl restart
Thinking that I just needed to restart apache, but no luck.
My error log looks like:
[Mon Mar 26 09:39:08 2012] [warn] child process 45443 still did not exit, sending a SIGTERM
[Mon Mar 26 09:39:10 2012] [warn] child process 45223 still did not exit, sending a SIGTERM
[Mon Mar 26 09:39:10 2012] [warn] child process 45043 still did not exit, sending a SIGTERM
[Mon Mar 26 09:39:10 2012] [warn] child process 45438 still did not exit, sending a SIGTERM
[Mon Mar 26 09:39:10 2012] [warn] child process 45049 still did not exit, sending a SIGTERM
[Mon Mar 26 09:39:10 2012] [warn] child process 45439 still did not exit, sending a SIGTERM
[Mon Mar 26 09:39:10 2012] [warn] child process 45224 still did not exit, sending a SIGTERM
[Mon Mar 26 09:39:10 2012] [warn] child process 45440 still did not exit, sending a SIGTERM
[Mon Mar 26 09:39:10 2012] [warn] child process 45441 still did not exit, sending a SIGTERM
[Mon Mar 26 09:39:10 2012] [warn] child process 45442 still did not exit, sending a SIGTERM
[Mon Mar 26 09:39:10 2012] [warn] child process 45443 still did not exit, sending a SIGTERM
[Mon Mar 26 09:39:11 2012] [notice] caught SIGTERM, shutting down
I also tried
sudo apachectl -k start
And I got the error:
Syntax error on line 182 of /private/etc/apache2/httpd.conf: Illegal option
When I look at the code around that line, I see:
<Directory />
Options Indexes MultiViews + FollowSymLinks
AllowOverride All
Order allow, deny
Allow from all
</Directory>
© Server Fault or respective owner