The other day I had to restore my Mac from its Time Machine back up (I installed Snow Leopard for a sneak peak, fully knowing that it would completely break python2.4 and I’d have to restore back to Leopard in order to be able to do anything that would be deemed as ‘work’ on Monday).
It restored fine, but a week or so later I went to http://localhost/~my-username/ to find that Apache was dead. Nothing. Not a sausage. Even though Web Sharing was on in System Preferences.
Console was saying this:
org.apache.httpd[4464] Unable to open logs
com.apple.launchd[1] (org.apache.httpd[4464]) Exited with exit code: 1
com.apple.launchd[1] (org.apache.httpd) Throttling respawn: Will start in 10 seconds
org.apache.httpd[4466] (2) No such file or directory: httpd: could not open error log file /private/var/log/apache2/error_log.
The solution?…
Open Terminal (/Applications/Utilities/Terminal) and type this:
cd /private/var/log
sudo mkdir apache2
Nailed.












You do know that Python2.4 works fine on Leopard if you install it using Florian’s buildout[1], right?
I started using it the week I left Rubbertowers.
[1] – http://svn.plone.org/svn/collective/buildout/python/
I tried that, but as buildout didn’t work it was a bit difficult to run that buildout! Seemed like a bit of a catch22. Maybe I’ll try again.
Very many thanks for that – worked instantly! How on earth would you otherwise have any clue as to what to do to get this working?