Hi: Apache2 was running before the reinstall (I did a full uninstall and reinstall). But now:
The response from ps was: alis-imac:~ ali$ ps auxw | grep httpd ali 1093 0.0 0.0 2435084 564 s000 S+ 5:20PM 0:00.00 grep httpd alis-imac:~ ali$ Telnet to localhost or 127.0.0.1 get me connection refused. pointing the browser to 127.0.0.1 times out or gets me a server not found. Thanks On 28 Jul, 2010, at 17:14 , William H. Magill wrote: > > On Jul 28, 2010, at 10:16 AM, Ryan Schmidt wrote: > >> On Jul 28, 2010, at 09:11, Ali A Samii wrote: >> >>> I really need some help as I am in a deadline crunch and all of a sudden, >>> my apache2, mysql php macports install stopped working. >>> >>> When I try to access http://localhost/ it can't find the server. >>> >>> I made no edits to my configuration. >>> >>> I tried everything, including a fresh complete reinstall MacPorts, and >>> still nothing works...localhost can't be found. >>> >>> I ran the disk utility off my snow leopard DVD to verify disk and >>> permissions and everything is OK. >>> >>> If anyone can help me, I'd be happy to allow you to connect remotely to my >>> computer via something like ichat screen sharing and get this fixed. > > > Is Apache not running or is a networking issue? > you say "it can't find the server" -- this implies a networking failure. > > "ps auxw | grep httpd" will show you if any servers are listening.... > note if you see: > /usr/sbin/httpd -D FOREGROUND > instead of: > /opt/local/apache2/bin/httpd -k start > Then Apple's version of apache is running. > > If you see either, it implies that you have some kind of local networking > issue. > The fact that you did a complete re-install implies its a networking issue. > Try 127.0.0.1 instead of the name "localhost." > > What happens if you try to telnet to "localhost" -- you should (probably) get > a connection refused error. > > > T.T.F.N. > William H. Magill > # Flat-panel iMac (2.1) [800MHz - Super Drive - 768 Meg] OS X 10.4.11 > # iMac6,1 Core 2 Duo [2.16GHz - 3 GB 667] OS X 10.6.4 > # MacBook Pro4.1 Core 2 Duo [2.5GHz - 4GB 667] OS X 10.6.4 > # Mac mini Core Duo [1.66 Ghz - 2 GB 667]OS X 10.6.4 > # PWS433a [Alpha 21164 Rev 7.2 (EV56)- 64 Meg] Tru64 5.1a > # XP1000 [Alpha 21264-3 (EV6) - 256 meg] FreeBSD 5.3 > # XP1000 [Alpha 21264-A (EV6-7) - 256 meg] FreeBSD 5.3 > mag...@mcgillsociety.org > mag...@mac.com > whmag...@gmail.com > > > > > > > > _______________________________________________ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users