My Oracle Support Banner

EM 13c: Fleet Cleanup Software With Force Option Job Deletes Wrong Version Oracle_Home and Deletes Database Associated to Oracle_Home (Doc ID 2997958.1)

Last updated on JANUARY 17, 2024

Applies to:

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

Symptoms

In Enterprise Manager (EM) loud Contro, fleet  cleanup software with force option deletes wrong version oracle_home and deletes database associated to oracle_home.

$ emcli db_software_maintenance -performOperation -name="cleanup" -purpose="CLEANUP_SOFTWARE" -target_list='Orasidb19c_home1_2022_xxxxxxxx' -target_type=oracle_home -normal_credential="ORACLE_SSH:SYSMAN" -privilege_credential="ORACLE_SSH_SUDO:SYSMAN" -workDir=/temp -force="true"

Final command line to execute is $PERL_HOME/perl
"/tmp/JOB_024EA1B696DB4495E0632A46880A7440/cleanupSihaSidb.pl" -oracle_home_loc="$ORACLE_HOME/19.15.0/db" -deploy_type="SIDB"
-cluster_nodes="${CLUSTER_NODES}" -tmp_dir_loc="/temp/6190p5791735360" -force="true"

deinstall checkonly command $ORACLE_HOME/19.15.0/db/deinstall/deinstall -silent -local -checkonly -o
/temp/61905791735360/deinstallrespdir
Checking for required files and bootstrapping ...
Please wait ...
Location of logs
/u01/app/oraInventory/logs

Removing Oracle Home Location
Oracle Home Location is $ORACLE_HOME/19.15.0/db

####################### DECONFIG CHECK OPERATION SUMMARY #######################
Oracle Home selected for
deinstall is: $ORACLE_HOME/19.19.0/db
Inventory Location where the Oracle home registered is: /u01/app/oraInventory
Following Single
Instance listener(s) will be de-configured: LSNR_XXXXX
The following databases were selected for de-configuration. The databases will be deleted
and will not be useful upon de-configuration : <DB NAME>
Database unique name : <DB NAME>
Storage used : ASM
De-configuration operation type :
Database Deletion
Database unique name : <DB NAME>
Storage used : ASM
De-configuration operation type : Database Deletion
A log of this session will be
written to: '/u01/app/oraInventory/logs/deinstall_deconfig2023-08-07_12-26-53-AM.out'
Any error messages from this session will be written to:
'/u01/app/oraInventory/logs/deinstall_deconfig2023-08-07_12-26-53-AM.err'

 

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.