EM 13c:When Attempting to Deinstall Primary OMS Is Failing With Error:"OMSCA-ERR:Can not delete complete environment.Delete OMS EMGC_OMS2 first"
(Doc ID 2819292.1)
Last updated on NOVEMBER 08, 2021
Applies to:Enterprise Manager Base Platform - Version 126.96.36.199.0 and later
Information in this document applies to any platform.
When attempting to delete the primary oms getting the following error
$ORACLE_HOME/perl/bin/perl /tmp/tmp_deinstall/EMDeinstall.pl -mwHome $ORACLE_HOME -stageLoc /tmp/tmp_deinstall/
Refer to /tmp/tmp_deinstall/deinstall_2021-10-20_14-04-48.log for deinstall
Substring valuye is <OMS_HOME>gc_inst
This is a First OMS install. So, this deinstalls the OMS , Repository and
Agent. Confirm (y/n)y
User confirmed for deinstallation.
Enter the SYS Password :
Enter the sysman Password :
Enter the Admin Server password :
/tmp/tmp_deinstall/EMDeinstall.pl -mwHome $ORACLE_HOME -stageLoc
log4j:WARN No appenders could be found for logger
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more
Oracle Enterprise Manager Cloud Control 13c Release 188.8.131.52.0
Copyright (c) 1996, 2021, Oracle. All rights reserved.
OMSCA-ERR:Can not delete complete environment. Delete OMS EMGC_OMS2 first
Enter Administration Server user password:
return value is : 256
The OMS delete of EMGC_OMS1 has failed. Rectify the error and try again
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