Local officials admit "loopholes in emergency planning" and say the incident is a painful lesson that serves as "a wake-up call".