EM 12c: Adding Target Database to Enterprise Manager 12c Cloud Control Using emclli Fails with Error: ORA-20247: EMD_URL is invalid

(Doc ID 1966627.1)

Last updated on JANUARY 05, 2018

Applies to:

Enterprise Manager for Oracle Database - Version and later
Information in this document applies to any platform.


Adding a target database to Enterprise Manager (EM) 12c Cloud Control with emcli fails with the following error:

./emcli add_target -name="<target_name>" -type="oracle_database" -host="myoracle" -credentials="UserName:dbsnmp;password:<password>;Role:Normal" -properties="SID:<sid>;Port:<>port;OracleHome:<oracle_home>;MachineName:<machine name>"

Error: Cannot save the target to the agent
ORA-20247: EMD_URL is invalid: Cannot provide null emd url.






Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms