Tip Details Add a Related Tip

Rate as: Positive Negative

Error restarting apache on a Mac

I was trying to restart the Apache server running on my Mac and I kept getting an error:

launchctl: CFURLWriteDataAndPropertiesToResource(/System/Library/LaunchDaemons/org.apache.httpd.plist) failed: -10

After scratching my head for a while, I finally figured out this error was being caused because I was forgetting to run the commands as root. I was running:

apachectl restart

while what I should have been running was:

sudo apachectl restart

Once I added the sudo, the error went away and my server was able to restart.
Rating: 100% positive, 1 Vote
Categories: Mac Apache server error
Added: on Mar 20, 2009 at 4:57 pm
Added By: an anonymous user
Searches: error mac apache server running

Comments on this Tip

Add a Comment
There are no comments for this tip
Your Comment:
(how to format)
Rate This Tip:

Verify Humanity:
Sorry, we know it's annoying, but please enter the characters shown in the image to the left so that we know you're an actual person and not an evil spammer. Thanks.
       

Related Tips

Increasing PHP session lifetime

Categories: PHP server Apache
100% positive, 0 comments
– Tip added by an anonymous user on Jan 23, 2009 at 12:04 pm

Organizing mailboxes in Snow Leopard

Categories: Mac Snow Leopard Mac
100% positive, 0 comments
– Tip added by an anonymous user on Oct 15, 2009 at 9:03 am

Load balancing apache servers

no ratings, 0 comments
– Tip added by an anonymous user on Sep 29, 2009 at 7:30 am

Fixing Dreamhost server errors

Categories: Dreamhost server error
no ratings, 0 comments
– Tip added by an anonymous user on Jan 10, 2009 at 4:53 am

Great tutorial on mod_rewrite

no ratings, 0 comments
– Tip added by an anonymous user on Sep 12, 2008 at 10:37 am

Changing annotation text properties in Preview

Categories: Mac Preview Annotating text
100% positive, 0 comments
– Tip added by an anonymous user on Nov 09, 2009 at 7:00 am

Change file opening behavior in Coda

100% positive, 0 comments
– Tip added by an anonymous user on Nov 03, 2009 at 8:09 am

Ignore button not working in Snow Leopard spell checker

100% positive, 0 comments
– Tip added by an anonymous user on Nov 02, 2009 at 12:50 pm

Show the size columns in finder search results

50% positive, 1 comment - last added on Nov 14, 2009 at 4:09 pm
– Tip added by an anonymous user on Oct 25, 2009 at 6:34 am

Snow Leopard Expose shortcuts

100% positive, 0 comments
– Tip added by an anonymous user on Oct 23, 2009 at 12:31 pm

Creating a disk image on a Mac

100% positive, 0 comments
– Tip added by an anonymous user on Oct 18, 2009 at 3:55 pm

Add new iChat and Photo Booth effects

no ratings, 0 comments
– Tip added by an anonymous user on Nov 13, 2009 at 7:40 am

Turn off dock expose menus in Snow Leopard

no ratings, 0 comments
– Tip added by an anonymous user on Nov 12, 2009 at 5:56 pm

Show links when composing mail on a Mac

no ratings, 0 comments
– Tip added by an anonymous user on Nov 12, 2009 at 7:56 am

Change the Expose window higlight color

no ratings, 0 comments
– Tip added by an anonymous user on Nov 06, 2009 at 6:21 am

Copying email address in Snow Leopard

Categories: Mac Snow Leopard Mail
no ratings, 0 comments
– Tip added by an anonymous user on Oct 30, 2009 at 7:06 pm

Shortcut to System Preferences

no ratings, 0 comments
– Tip added by an anonymous user on Oct 29, 2009 at 4:02 pm

Shortcut for secure trash emptying in Snow Leopard

no ratings, 0 comments
– Tip added by an anonymous user on Oct 29, 2009 at 11:26 am

Get dictionary lookup to open in a single window

no ratings, 0 comments
– Tip added by an anonymous user on Oct 17, 2009 at 7:31 am

Alert volumes on a Mac

no ratings, 0 comments
– Tip added by an anonymous user on Oct 14, 2009 at 9:32 am