My Oracle Support Banner

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 13.3.0.0.0 and later
Information in this document applies to any platform.

Symptoms

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
log
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 :
$ $ORACLE_HOME/perl/bin/perl
/tmp/tmp_deinstall/EMDeinstall.pl -mwHome $ORACLE_HOME -stageLoc
/tmp/tmp_deinstall/

log4j:WARN No appenders could be found for logger
(emctl.secure.oms.SecureOMSCmds).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more
info.
Oracle Enterprise Manager Cloud Control 13c Release 13.5.0.0.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

 

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


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