OSX 10.6.5 breaks Apachectl

Trying to run:
sudo apachectl restart

Are you getting:
/usr/sbin/apachectl: line 82: ulimit: open files: cannot modify limit: Invalid argument

Edit your /usr/sbin/apachectl on line 65 from:

ULIMIT_MAX_FILES="ulimit -S -n ulimit -H -n"

to:

ULIMIT_MAX_FILES=""

and try again. It should now be working agian

For more information checkout Deversus

Leave a Comment

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>