Wow, that was a long time ago, I certainly did work it out, eventually, I had an HP A3 printer connected to my mac and I discovered that once I disconnected it, my Mac shut down with no problems, so perhaps you also have some printer or other peripheral causing the problem, try disconnecting them and see if it works, let me know how it goes?