For shutdown issue, you can just rename "/sbin/shutdown" to "/sbin/_shutdown_" in order to debug this issue.