MAMP hang after OSX unclean shutdown

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.

Comments

    yshaman posted the comment on December 25th, 2009
  1. I want to quote your post in my blog. It can?
    And you et an account on Twitter?

  2. Mats Hellman posted the comment on January 7th, 2010
  3. You are free to quote the post.

  4. ran2 posted the comment on July 4th, 2010
  5. Thx! that worked for me. Btw (sure you know): What´s the right syntax to run MAMP´s MySQL server without this ugly dashboard client?