A diagnosis and recovery tool for system administrators