EM 13c: Adding a Database Target using Arg File Fails with Error "ORA-20247: EMD_URL is invalid: Cannot provide null emd url"
(Doc ID 2931520.1)
Last updated on FEBRUARY 28, 2023
Applies to:
Enterprise Manager for Oracle Database - Version 13.5.0.0.0 and laterInformation in this document applies to any platform.
Symptoms
On : 13.5.0.0.0 version, Target Database, Listener, ASM
When attempting to add database target to OMS using argfile command with parameters ,
the following error occurs.
ERROR
-----------------------
Error: Cannot save the target to the agent
ORA-20247: EMD_URL is invalid: Cannot provide null emd url.
STEPS
-----------------------
$OMS_HOME/bin/emcli login -username=sysman
$OMS_HOME/bin/emcli sync
$OMS_HOME/bin/emcli argfile $SCRIPTPATH/linux_add_target_list.txt > ${LOGPATH}/add_targets.log
The content of the input file for linux:
add_target -name="${ORACLE_SID}" -type="oracle_database" -host="${TARGET_HOST_FQDN}" -credentials="UserName:dbsnmp;password:${DBSNMPPWD};Role:Normal" -properties="SID:${ORACLE_SID};Port:1521;OracleHome:${ORACLE_HOME};MachineName:${TARGET_SHORTNAME}"
$EM_INSTANCE_BASE/gc_inst/em/EMGC_OMS1/sysman/log/emoms.trc file reports following errors:
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 |
References |