removed some bad logging which was causing error
restored logging, supplied missing quote on filename (which was the issue)
changed patching as the apache tar ball creates an apache directory when it decompresses