MAMP stop servers button doesn’t work
Wednesday, April 2nd, 2008
I own a Macbook Pro, and unlike it’s pre-descendants it has some wake from sleep issues described and resolved here (thank you Windley for a fix!). The thing is, if you happen to be in a situation where you need to force your Mac to shutdown, like I had to because of the wake from sleep problem, there is another problem waiting for you after reboot.
I use MAMP for my websites development locally. When I forced my Mac to a shutdown, both Apache and MYSQL servers were started. When I rebooted and turned on my MAMP interface it appeared that they were started as indicated by a green light, but in fact they weren’t. I tried to stop MAMP with Stop Servers button, but nothing happened. I tried to kill the apache server from the Terminal with:
/Applications/MAMP/Library/bin/apachectl stop
but ‘httpd (pid 55500?) not running’ returned, meaning that in fact Apache was not running. OK, so I thought I’ll start it with:
/Applications/MAMP/Library/bin/apachectl start
and I’ve gotten an error again:
Permission denied: make_sock: could not bind to address [::]:80
no listening sockets available, shutting down
Unable to open logs
Wow, that sucks! I really hate when my system messes up in the middle of my work day, and just when I thought I will spend an hour or so messing with this problem, the simple solution appeared:
All I needed to do is to click on a ‘Preferences’ button in the MAMP interface, and then click OK. The servers rebooted and started normally.
Technorati Tags: mac, os x, mamp, apache, mysql, servers, shutdown













As you already know, Apple has released Iphone SDK earlier this month. It is available for free download at 

