EM 12c: Adding Target Database to Enterprise Manager 12c Cloud Control Using EMCli Fails with Error: ORA-20247: EMD_URL is invalid (Doc ID 1966627.1)

Last updated on JULY 18, 2016

Applies to:

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

Symptoms

Adding a target database to 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.

 

 

Cause

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