Apache not working in 10.6.5 or 10.6.6?

From macwindows.com article TIP: Fix for error in Apache web server after 10.6.5 and 10.6.6 upgrades

Jim Ferr alerted us to a bug in Apache, Mac OS X‘s web server, after upgrading to 10.6.5 or 10.6.6. Fortunately, he also provided the solution, which is to edit the apachectl script by editing this line:

ULIMIT_MAX_FILES=”ulimit -S -n `ulimit -H -n`”
and replacing it with this line:
ULIMIT_MAX_FILES=”"

Here is Ferr’s report:

There’s an error in Apache after 10.6.5 upgrade:

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

Here and here are two articles with the solution.

 

Share

Post a comment