Not really MacPorts problem, I don't think.

William H. Magill magill at mac.com
Thu Jan 22 09:47:20 PST 2015


I don't know what MacPorts can do about this one.

I have the MacPorts version of Apache2 installed.
- Apache/2.2.29 (Unix) mod_ssl/2.2.29 OpenSSL/1.0.1k DAV/2 PHP/5.6.4 configured 

If I power-cycle my machine, when it comes back up, Apache2  has failed to start.

If I then try to load Apache2 -- it is reported as already running.

$ sudo port load apache2
$ Password:
$ /opt/local/etc/LaunchDaemons/org.macports.apache2/org.macports.apache2.plist: Operation already in progress

So I unload, then load and Apache starts with no problems.

What is happening is apparently a timing problem. I.e. it fails on boot, but works fine after OSX is up and running.

The error is "simple" -- 

[Thu Jan 22 02:17:12 2015] [info] mod_ssl/2.2.29 compiled against Server: Apache/2.2.29, Library: OpenSSL/1.0.1j
[Thu Jan 22 02:17:19 2015] [notice] Digest: generating secret for digest authentication ...
[Thu Jan 22 02:17:19 2015] [notice] Digest: done
[Thu Jan 22 02:17:19 2015] [alert] (EAI 8)nodename nor servname provided, or not known: mod_unique_id: unable to find IPv4 address of "shianbrae.mcgillsociety.org"
Configuration Failed

Shianbrae.mcgillsociety.org is the FQDN of the server.

ServerName is configured: 
     ServerName localhost:80

From trying to deal with the local host issue from before.


T.T.F.N.
William H. Magill
# iMac11,3 Core i7 [2.93GHz - 8 GB 1067MHz] OS X 10.10.1
# Macmini6,1 Intel Core i5 [2.5 Ghz - 4GB 1600MHz] OS X 10.10.1 OSX Server (now dead)

magill at icloud.com
magill at mac.com
whmagill at gmail.com










More information about the macports-users mailing list