Use emca command to configure OEM and create repository like

emca -config dbcontrol db

emca -repos create/recreate