My Oracle Support Banner

Auto Discovery Fails With ORA-20500 and 'Unable to create NYM' Errors (Doc ID 2637443.1)

Last updated on NOVEMBER 30, 2022

Applies to:

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

Symptoms

Running Auto Discovery and it fails with the following error in emoms_pbs.log

 

2019-11-13 12:08:41,485 [loaderjob-work-manager:loaderjob-work-1] WARN postload.DiscoveryPostLoad logp.251 - Unable to create NYM:,Exception:oracle.sysman.emSDK.core.target.DuplicateEntityException: ORA-20500: Target with matching attributes already exists
oracle.sysman.emSDK.core.target.DuplicateEntityException: ORA-20500: Target with matching attributes already exists
at oracle.sysman.emdrep.target.EntityUtil.handleAddNYMException(EntityUtil.java:2578)
at oracle.sysman.emdrep.target.EntityUtil.createNYMEntities(EntityUtil.java:2429)
at oracle.sysman.emdrep.target.EntityUtil.createNYMEntities(EntityUtil.java:2315)
at oracle.sysman.emdrep.target.EntityUtil.createNYMEntities(EntityUtil.java:2284)
at oracle.sysman.core.disc.postload.DiscoveryPostLoad.parseAndLoadTargets(DiscoveryPostLoad.java:520)
at oracle.sysman.core.disc.postload.DiscoveryPostLoad.processCurrentlyLoadedData(DiscoveryPostLoad.java:378)
at oracle.sysman.core.disc.postload.DiscoveryPostLoad.executePostLoad(DiscoveryPostLoad.java:189)
at oracle.sysman.core.pbs.gcloader.CallbackInterface.executePostLoadImpl(CallbackInterface.java:732)
at oracle.sysman.core.pbs.gcloader.PostloadJobExecutor.doWork(PostloadJobExecutor.java:380)
at oracle.sysman.core.pbs.gcloader.PostloadJobExecutor.executeCommand(PostloadJobExecutor.java:177)
at oracle.sysman.core.pbs.gcloader.LoaderjobWorker.doWork(LoaderjobWorker.java:226)
at oracle.sysman.core.common.workmanager.Work.call(Work.java:274)
at oracle.sysman.core.common.workmanager.Work.call(Work.java:50)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1152)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:622)
at java.lang.Thread.run(Thread.java:745)
2019-11-13 12:08:41,485 [loaderjob-work-manager:loaderjob-work-1] WARN postload.DiscoveryPostLoad logp.251 - Unable to create NYM:{<target name>:osm_instance}

...

2019-11-11 23:53:47,252 [loaderjob-work-manager:loaderjob-work-0] WARN postload.DiscoveryPostLoad logp.251 - Unable to create NYM:,Exception:oracle.sysman.emSDK.core.target.DuplicateEntityException: ORA-20500: Target with matching attributes already exists
oracle.sysman.emSDK.core.target.DuplicateEntityException: ORA-20500: Target with matching attributes already exists
at oracle.sysman.emdrep.target.EntityUtil.handleAddNYMException(EntityUtil.java:2578)
at oracle.sysman.emdrep.target.EntityUtil.createNYMEntities(EntityUtil.java:2429)
at oracle.sysman.emdrep.target.EntityUtil.createNYMEntities(EntityUtil.java:2315)
at oracle.sysman.emdrep.target.EntityUtil.createNYMEntities(EntityUtil.java:2284)
at oracle.sysman.core.disc.postload.DiscoveryPostLoad.parseAndLoadTargets(DiscoveryPostLoad.java:520)
at oracle.sysman.core.disc.postload.DiscoveryPostLoad.processCurrentlyLoadedData(DiscoveryPostLoad.java:378)
at oracle.sysman.core.disc.postload.DiscoveryPostLoad.executePostLoad(DiscoveryPostLoad.java:189)
at oracle.sysman.core.pbs.gcloader.CallbackInterface.executePostLoadImpl(CallbackInterface.java:732)
at oracle.sysman.core.pbs.gcloader.PostloadJobExecutor.doWork(PostloadJobExecutor.java:380)
at oracle.sysman.core.pbs.gcloader.PostloadJobExecutor.executeCommand(PostloadJobExecutor.java:177)
at oracle.sysman.core.pbs.gcloader.LoaderjobWorker.doWork(LoaderjobWorker.java:226)
at oracle.sysman.core.common.workmanager.Work.call(Work.java:274)
at oracle.sysman.core.common.workmanager.Work.call(Work.java:50)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1152)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:622)
at java.lang.Thread.run(Thread.java:745)
2019-11-11 23:53:47,253 [loaderjob-work-manager:loaderjob-work-0] WARN postload.DiscoveryPostLoad logp.251 - Unable to create NYM:{<target name>:rac_database}

...

 

The <target name> and <target type> may vary, depending on what's to be discovered on the host.

 

Changes

 N/A

Cause

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
Symptoms
Changes
Cause
Solution
References


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