Home > General > MAMP Bug and how-to restore it

MAMP Bug and how-to restore it

January 9th, 2009

When you backup your computer with Carbon Copy Cloner while MAMP is running, or if you stop it (pressing the ON/OFF key for 4 seconds+), MAMP may not start correctly afterward.

The symptom that may warn you is MAMP not asking for administrator password at launch and displaying Apache and MySQL running albeit they are not responding. MAMP is just checking for the PID Files (Process ID) generated by these 2 servers instead of checking if they are correctly running. Amateur’s!

In this case you have to open ther Terminal (use spotlight ;-) ), and the enter these 2 commands, separated with the ENTER key.

sudo rm /Applications/MAMP/Library/logs/httpd.pid (your password or administrative password will be required)

sudo rm /Applications/MAMP/tmp/mysql/mysql.pid

Then you could restart MAMP, it will ask for you administrator password and then will start again Apache (httpd) and MySQL.

General , , ,

  1. No comments yet.
  1. No trackbacks yet.
You must be logged in to post a comment.