My Oracle Support Banner

EM 12c: Discovering an ASM Target in an Upgraded Enterprise Manager Cloud Control Gives Error: Failed To Save Target In Agent: ORA-2050 (Doc ID 1923369.1)

Last updated on AUGUST 19, 2022

Applies to:

Enterprise Manager for Oracle Database - Version to [Release 12.1]
Enterprise Manager Base Platform - Version to [Release 12.1]
Information in this document applies to any platform.


Upgraded OMS to from previous release.

From Cloud Control try to discover Cluster ASM Target. For that Navigate to 

Setup > Add Target > Add Targets Manually.
  select 'Add Targets Using Guided Process' radio button.
  select Target types as 'Oracle Database, Listener and Automatic Storage Management'.
  select host and do discovery, next page will show the Cluster ASM and ASM instances.

If you select 'Cluster ASM', click 'Configure' and then try to save(No configuration changes done). it fails with :

Failed to save target in agent: ORA-20500: Target with matching attributes already exists

If you select 'Cluster ASM', provide password and save, without any configure, this would succeed.


 This issue will not happen for a new Installation of Cloud Control, but only for an upgraded Cloud Control.


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.