Before switching to Mac OSX Lion 10.7 & MAMP 2.0.2, I was using Mac OSX Snow Leopard 10.6.8 with MAMP 1.9.5
After Upgrading to Mac OSX Lion 10.7 and MAMP 2.0.1 or 2.0.2, suddenly everything went wrong. The Apache Server doesn’t start.
For almost the last month, I have been unable to update my website theme offline…
But when I check the folder called ‘log’ inside MAMP’s folder under applications (/Applications/MAMP/logs)
I opened the ‘apache_error.log’ Apache Log file, and there was a reason on my iMac why MAMP’s Apache server was not running.
Error: [Date] [alert] (EAI 8)nodename nor servname provided, or not known: mod_unique_id: unable to find IPv4 address of “000-000-000-000.static.broadbandcompanyname”
So, the Error was related to ‘IPv4’
Then I created a new ‘Location’ inside the ‘Network’ tab, made all services like Ethernet, FireWire, and WiFi Inactive, and BOOM, Apache Server started.
(Make sure you have killed all services of MySQL through Terminal or Activity Monitor before restarting Apache Server or just reboot your system)
So, Problem Solved…
Here is a Different take on it:
Solution 02:
Open the httpd.conf file with a text editor (/Applications/MAMP/conf/apache/httpd.conf)
Search the following line:
LoadModule unique_id_module modules/mod_unique_id.so
& Change it to:
#LoadModule unique_id_module modules/mod_unique_id.so
i.e. Add ‘#’ before that line
So, your Apache server will start to run normally again.
Leave a Reply