Indonesia was struggling to cope as the death toll was climbing from a tsunami and an erupting volcano.