My Oracle Support Banner

EM 12c, EM 13c: Enterprise Manager Cloud Control - Manually adding a database target fails with ORA-20500 (Doc ID 1523394.1)

Last updated on AUGUST 19, 2022

Applies to:

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


Adding a database instance or a cluster database target to Enterprise Manager (EM) 12c or 13c Cloud Control fails with an ORA-20500 error.

 ORA-20500: ORCL.WORLD:oracle_database:<HOSTNAME>.<DOMAIN>:https://<HOSTNAME>.<DOMAIN>3872/emd/main/:3:0
 ORA-06512: at "SYSMAN.EM_TARGET", line 3347 ORA-06512: at line 1
 ORA-20500: ORCL.WORLD:oracle_database:<HOSTNAME>.<DOMAIN>:https://<HOSTNAME>.<DOMAIN>:3872/emd/main/:3:0
 ORA-06512: at "SYSMAN.EM_TARGET", line 3347 ORA-06512: at line 1


ORA-20500: Target Already exists: ORCL_ORCL_1:oracle_database:<HOSTNAME>.<DOMAIN>:https://<HOSTNAME>.<DOMAIN>:3872/emd/main/:3:0
ORA-06512: at "SYSMAN.EM_TARGET", line 3972
ORA-06512: at line 1

This error implies that the target already exists, but no database of this name is showing in EM Cloud Control.

The target name is not listed in the repository database mgmt_targets view:




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.