Localhost down | MacPorts LAMP

Jasper Frumau jasperfrumau at gmail.com
Sun Feb 28 21:41:35 PST 2010


Thanks for the reply Scott. See my comments below yours..

 > [Fri Feb 26 14:12:26 2010] [error] child process 1807 still did not exit,
> sending a SIGKILL
> > [Fri Feb 26 14:12:27 2010] [notice] caught SIGTERM, shutting down
> > [Fri Feb 26 14:13:52 2010] [alert] (EAI 8)nodename nor servname provided,
> or not known: mod_unique_id: unable to find IPv4 address of
> "Jaspers-MacBook-Pro.local"
> > Configuration Failed
> >
> > Child process issues were mentioned repeatedly - more than I pasted in
> this email -  last Friday. What does that mean?
>
> I have had this too, and I also have had Apache2 not start after a power
> cycle on the machine.  Both on PPC and Intel.  I am not sure if it is Mac OS
> X specific, or specific to the current version of Apache2 that MacPorts is
> using.  Probably the former though.  It always starts right up with `sudo
> port load apache2` though.
>
> Whenever I see the log lines you see, I generally see close by, this issue:
> https://issues.apache.org/bugzilla/show_bug.cgi?id=48045
>

Interesting and yes, seems related.


>
> "nodename nor servname provided, or not known" also does not seem to be an
> Apache error, as much as it is an error that is sent to Apache from some
> other app.  I have seen on another mailing list, that same error reported
> for an ftp app.
>
> Maybe it has something to do with getaddrinfo() on OS X.


http://developer.apple.com/mac/library/DOCUMENTATION/Darwin/Reference/ManPages/man3/getaddrinfo.3.htmlthat
replaced gethostbyname and getservbyname.


> I seemed to solve it by adding an entry to /etc/hosts for my bonjour name
> to map to localhost.  In your case, something like this:
> 127.0.0.1       Jaspers-MacBook-Pro.local
>

I have:

Jaspers-MacBook-Pro:etc jasper$ cat hosts
##
# 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
fe80::1%lo0    localhost

# My local aliases


>
> I just found this, which seems to confirm my method of solving it, and even
> is targeted at BSD:
> http://www.hardforums.com/showthread.php?t=935096
>

Read this. So you suggest replacing
127.0.0.1 localhost
with
127.0.0.1 something-else
?
 So you hostname for 127.0.0.1 is no longer localhost either, am I correct?


> Hope that helps.
> --
> Scott * If you contact me off list replace talklists@ with scott@ *
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-users/attachments/20100301/c61e835f/attachment.html>


More information about the macports-users mailing list