My Oracle Support Banner

EM 13c: Unable To Delete HAS Target Via EM Console or EMCLI Command "ORA-20206: Target does not exist" Due to whitespace at the end of the entity_name field (Doc ID 2819787.1)

Last updated on NOVEMBER 19, 2021

Applies to:

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

Symptoms

Unable To Delete HAS Target Via EM Console or EMCLI Command "ORA-20206: Target does not exist"

<OMS_HOME/em/EMGC_OMS1/sysman/log/emoms.trc 

2021-10-19 14:34:49,032 [EMUI_14_34_49_/console/rac/conf/racTargetDelete] ERROR db.rac logp.251 - ORA-20206: Target does not exist: has_<HOSTNAME> (has)
ORA-06512: at "SYSMAN.MGMT_ADMIN", line 1411
ORA-06512: at "SYSMAN.MGMT_ADMIN", line 1363
ORA-06512: at "SYSMAN.EM_TARGET_LOOKUP", line 39
ORA-06512: at "SYSMAN.EM_TARGET_LOOKUP", line 31
ORA-06512: at "SYSMAN.MGMT_ADMIN", line 1274
ORA-06512: at "SYSMAN.MGMT_ADMIN", line 1397
ORA-06512: at "SYSMAN.MGMT_ADMIN", line 1496
ORA-06512: at line 1

java.sql.SQLException: ORA-20206: Target does not exist: has_<HOSTNAME> (has)
ORA-06512: at "SYSMAN.MGMT_ADMIN", line 1411
ORA-06512: at "SYSMAN.MGMT_ADMIN", line 1363
ORA-06512: at "SYSMAN.EM_TARGET_LOOKUP", line 39
ORA-06512: at "SYSMAN.EM_TARGET_LOOKUP", line 31
ORA-06512: at "SYSMAN.MGMT_ADMIN", line 1274
ORA-06512: at "SYSMAN.MGMT_ADMIN", line 1397
ORA-06512: at "SYSMAN.MGMT_ADMIN", line 1496
ORA-06512: at line 1

 

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.