Impressed...by the walkthru on your link. I took the easy route for the failing mkdir and just created it from the command line.
I'm still confused how you're getting the server port open and I'm not. But then you don't seem to be having the problem with the shell out to the date command that I'm getting, so maybe you are running under cygwin?