A second strong quake was recorded thousands of kilometres away on Sumatra island in the west of the archipelago, but there were no initial reports of damage or casualties there.