Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

pharrari

macrumors newbie
Original poster
Dec 13, 2010
3
0
Hey guys I'm new here! So, here's the issue, I have Mac OSX 10.6.5 and I'm going through Lynda.com for learning how to do php and mysql. I ran into a brick when I tried to have the server restart by graceful and this error came up: /usr/sbin/apachectl: line 82: ulimit: open files: cannot modify limit: Invalid argument

so I googled this and I ran into a fix that i was told to change the line from this: ULIMIT_MAX_FILES="ulimit -S -n `ulimit -H -n`" to this: ULIMIT_MAX_FILES="".

Now after I did that when I try any of those commands: start,stop,graceful, it doesn't show anything, it just goes to the next line with no confirmation of stopping, starting, or restarting.

What else needs to be done? Obviously this is Apples mess but I'm trying to fix it so I can follow along with the class I paid for.
 
Hey guys I'm new here! So, here's the issue, I have Mac OSX 10.6.5 and I'm going through Lynda.com for learning how to do php and mysql. I ran into a brick when I tried to have the server restart by graceful and this error came up: /usr/sbin/apachectl: line 82: ulimit: open files: cannot modify limit: Invalid argument

so I googled this and I ran into a fix that i was told to change the line from this: ULIMIT_MAX_FILES="ulimit -S -n `ulimit -H -n`" to this: ULIMIT_MAX_FILES="".

Now after I did that when I try any of those commands: start,stop,graceful, it doesn't show anything, it just goes to the next line with no confirmation of stopping, starting, or restarting.

What else needs to be done? Obviously this is Apples mess but I'm trying to fix it so I can follow along with the class I paid for.

How did you get Apache: was it built from source, or prebuilt?
 
The fix you applied worked as it was supposed to. When 'apachectl graceful' etc. runs successfully, you're not supposed to get any feedback. The only feedback you would get would be an error message. You're not getting one, so you're good.
 
The fix you applied worked as it was supposed to. When 'apachectl graceful' etc. runs successfully, you're not supposed to get any feedback. The only feedback you would get would be an error message. You're not getting one, so you're good.

Cool thanks! I was just going by the video and looks like maybe an earlier version showed some sort of confirmation when you typed in those commands so I only assumed something was funky. Thanks!
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.