Nixadmins.net

MAMP hang after OSX unclean shutdown

by Mats Hellman on Nov.26, 2009, under Apple, Mac OSX

Today we had a power outage and after a few hours when power finally came back on I tried to get my development tools up again, everything was fine except for MAMP. It seems MAMP isn’t able to delete it’s PID files after something like this so it just flashed and shut down. This is because it thinks it’s already running even if it’s not.

Anyway, MAMP uses it’s own Application folder to store the pid files and the fix for this is really simple. Open your terminal and

iMac:~ cd /Applications/MAMP/Library/logs

iMac:~ rm httpd.pid

iMac:~ cd /Applications/MAMP/tmp/mysql

iMac:~ rm mysql.pid

After deleting the PID files MAMP should start just fine again.

No related posts.


2 Comments for this entry

Leave a Reply

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!

Visit our friends!

A few highly recommended friends...