My Oracle Support Banner

EM 12c : Discovering any Target as a Particular EM Administrator Fails With "Save - Failed ORA-20247:" (Doc ID 2254866.1)

Last updated on AUGUST 31, 2022

Applies to:

Enterprise Manager Base Platform - Version 12.1.0.4.0 and later
Information in this document applies to any platform.

Symptoms

Attempting to discover any target as a particular EM Admin, fails with:

Save - Failed
ORA-20247: https://agentmachine.domain:3872/emd/main
ORA-06512: at "SYSMAN.EM_TARGET", line 602
ORA-06512: at "SYSMAN.EM_TARGET", line 611
ORA-06512: at "SYSMAN.EM_TARGET", line 7038
ORA-06512: at line 1

-  This EM Admin has 'Add any Target' privilege.
-  Target discovery is successful, if being attempted by SYSMAN or super-admin user.

-  The <gc_inst>/em/EMGC_OMS1/sysman/log/emoms.trc reports the below error stack:

2017-04-04 15:56:08,775 [118::[ACTIVE] ExecuteThread: '41' for queue: 'weblogic.kernel.Default (self-tuning)'] ERROR 
crsdiscovery.DbCrsGuidedDiscoveryViewBean logp.251 - Caught Exception while saving target has_agentmachine.domain
oracle.sysman.emSDK.core.target.InvalidEntityException: ORA-20247: https://agentmachine.domain:3872/emd/main/
ORA-06512: at "SYSMAN.EM_TARGET", line 602
ORA-06512: at "SYSMAN.EM_TARGET", line 611
ORA-06512: at "SYSMAN.EM_TARGET", line 7038
ORA-06512: at line 1
at oracle.sysman.emdrep.target.EntityUtil.submitPromoteJob(EntityUtil.java:4522)
at oracle.sysman.emdrep.target.EntityUtil.submitPromoteJob(EntityUtil.java:4482)
at oracle.sysman.emdrep.target.EntityUtil.createEntities(EntityUtil.java:2837)
at oracle.sysman.emSDK.core.target.EntityManager.createEntities(EntityManager.java:294)
at oracle.sysman.db.discovery.beans.crsdiscovery.DbCrsDiscoveryBean.addClusterTarget(DbCrsDiscoveryBean.java:1293)
at oracle.sysman.db.discovery.ui.pagemodel.crsdiscovery.DbCrsGuidedDiscoveryPageModel.saveOperation(DbCrsGuidedDiscoveryPageModel.java:107)
at oracle.sysman.db.discovery.ui.pagemodel.crsdiscovery.DbCrsDiscoveryPageModel.saveTarget(DbCrsDiscoveryPageModel.java:344)
at oracle.sysman.db.discovery.ui.view.crsdiscovery.DbCrsDiscoveryViewBean.doSave(DbCrsDiscoveryViewBean.java:452)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

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
Cause
Solution


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