Error Loading Apache2

Ryan Schmidt ryandesign at
Thu Mar 31 11:56:33 PDT 2011

On Mar 31, 2011, at 13:43, David Gentry wrote:

> $ sudo port load apache2
> Password:
> Error: Target org.macports.load returned: launchctl: Dubious permissions on file (skipping): /Library/LaunchDaemons/org.macports.apache2.plist

I'm not sure why the permissions on /Library/LaunchDaemons/org.macports.apache2.plist are wrong on your system, but they need to be fixed, using sudo chmod.

On my system, where apache2 loads fine, the permissions are:

$ ls -l /Library/LaunchDaemons/org.macports.apache2.plist
lrwxr-xr-x  1 root  wheel  76 Feb 27 23:24 /Library/LaunchDaemons/org.macports.apache2.plist -> /opt/local/etc/LaunchDaemons/org.macports.apache2/org.macports.apache2.plist

$ ls -l /opt/local/etc/LaunchDaemons/org.macports.apache2/org.macports.apache2.plist
-rw-r--r--  2 root  wheel  958 Feb 27 23:23 /opt/local/etc/LaunchDaemons/org.macports.apache2/org.macports.apache2.plist

More information about the macports-users mailing list