Re: apache2 won't start
Ryan Schmidt <[email protected]> Sun, 3 Sep 2006 17:45:37 +0200
| Newsgroups | gmane.os.opendarwin.darwinports |
|---|---|
| Message-ID | <[email protected]> |
On Sep 3, 2006, at 17:21, Nat wrote: > Ryan Schmidt wrote: >> On Sep 3, 2006, at 16:11, Nat wrote: >> >>> After following the directions in several places, (including >>> here: http://darwinports.opendarwin.org/getdp/ ) using, variously >>> (after throwing away /opt after each attempt, and reinstalling >>> darwinports cleanly each time) >>> >>> sudo port install apache2 ; sudo port install apache2 +mysql4 >>> +php5 ; sudo port install apache2 +mysql5 +php5 >>> >>> apache seems to install each time fine with dependencies, but >>> when I try to start it: >>> >>> boswell:~ admin$ sudo /opt/local/apache2/bin/apachectl -k start >>> >>> I get the following error message: >>> >>> httpd: apr_sockaddr_info_get() failed for boswell >> >> A Google search for "apr_sockaddr_info_get failed" found me this: >> >> http://www.bsdforums.org/forums/archive/index.php/t-37270.html >> >> Does any of that help? > > Should have mentioned that I found it too -- My hosts file looks > right to me: > > ## > # Host Database > # > # localhost is used to configure the loopback interface > # when the system is booting. Do not change this entry. > ## > 127.0.0.1 localhost > 255.255.255.255 broadcasthost > ::1 localhost > > > Should there be something more added? I don't have anything much more exciting in my /etc/hosts file either. But do you have the ServerName directive set to something useful? Presumably something like "ServerName localhost" or "ServerName 127.0.0.1" should work.