A fire onboard two oil tankers that injured nine sailors at a South Korean port has been put out, the Yonhap news agency said on Saturday.