Indonesia has been rocked anew by an earthquake with a magnitude of 5.9, according to the United States Geological Survey.