My Oracle Support Banner

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 AUGUST 22, 2022

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.






To view full details, sign in with your My Oracle Support account.

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

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.