A powerful earthquake shook western Greece early on Friday, damaging a port and a 15th century monastery, but causing no major injuries, officials and local media said.