Create database control give error
$emca -config dbcontrol db
oracle.sysman.emcp.exception.EMConfigException: Failed to allocate port(s) in the specified range(s) for the following process(es): JMS [5540-5559],RMI [5520-5539],Database Control [5500-5519],EM Agent [3938] | [1830-1849]
This error happen when your dns server or /etc/hosts show different ip address.
This error happen to me while creating database with dbca.
After error I only create db control with operating system. Database repository also created while creating database.