Durante o processo de desinstalação do Oracle 19c no Oracle Linux 8.5 foi deparado com o erro ERROR: null, conforme exemplo abaixo.
[oracle@lamim19c deinstall]$ ./deinstall Checking for required files and bootstrapping ... Please wait ... Location of logs /orabin01/app/oraInventory/logs/ ############ ORACLE DECONFIG TOOL START ############ ######################### DECONFIG CHECK OPERATION START ######################### ## [START] Install check configuration ## Checking for existence of the Oracle home location /orabin01/app/oracle/product/19.0.0.0/dbhome_1 Oracle Home type selected for deinstall is: Oracle Single Instance Database Oracle Base selected for deinstall is: /orabin01/app/oracle Checking for existence of central inventory location /orabin01/app/oraInventory ERROR: null [oracle@lamim19c deinstall]$
Este erro ocorre devido a validação da versão do sistema operacional pelo CVU no Oracle Linux 8 e deveria estar corrigido no RU Patch 19.7. Porém, ainda esta ocorrendo mesmo no 19.23.
[oracle@lamim19c deinstall]$ $ORACLE_HOME/OPatch/opatch lsinventory | grep Patch Oracle Interim Patch Installer version 12.2.0.1.42 OPatch version : 12.2.0.1.42 Patch 36233263 : applied on Tue May 07 16:43:08 BRT 2024 Unique Patch ID: 25638263 Patch description: "Database Release Update : 19.23.0.0.240416 (36233263)" Patch 29585399 : applied on Thu Apr 18 04:21:33 BRT 2019 Unique Patch ID: 22840393 Patch description: "OCW RELEASE UPDATE 19.3.0.0.0 (29585399)" OPatch succeeded. [oracle@lamim19c deinstall]$
Como workaround é possível exportar a variável CV_ASSUME_DISTID=OL7 e reexecutar o processo de desinstalação.
[oracle@lamim19c deinstall]$
[oracle@lamim19c deinstall]$ export CV_ASSUME_DISTID=OL7
[oracle@lamim19c deinstall]$ ./deinstall
Checking for required files and bootstrapping ...
Please wait ...
Location of logs /orabin01/app/oraInventory/logs/
############ ORACLE DECONFIG TOOL START ############
######################### DECONFIG CHECK OPERATION START #########################
## [START] Install check configuration ##
Checking for existence of the Oracle home location /orabin01/app/oracle/product/19.0.0.0/dbhome_1
Oracle Home type selected for deinstall is: Oracle Single Instance Database
Oracle Base selected for deinstall is: /orabin01/app/oracle
Checking for existence of central inventory location /orabin01/app/oraInventory
## [END] Install check configuration ##
Network Configuration check config START
Network de-configuration trace file location: /orabin01/app/oraInventory/logs/netdc_check2024-10-13_03-14-46PM.log
Network Configuration check config END
Database Check Configuration START
Database de-configuration trace file location: /orabin01/app/oraInventory/logs/databasedc_check2024-10-13_03-14-46PM.log
Use comma as separator when specifying list of values as input
Specify the list of database names that are configured in this Oracle home [ladmimdb]: ladmimdb
###### For Database 'ladmimdb' ######
Oracle Restart Enabled Database
The diagnostic destination location of the database: /orabin01/app/oracle/diag/rdbms/ladmimdb
Storage type used by the Database: ASM
The details of database(s) ladmimdb have been discovered automatically. Do you still want to modify the details of ladmimdb database(s)? [n]:
Database Check Configuration END
######################### DECONFIG CHECK OPERATION END #########################
####################### DECONFIG CHECK OPERATION SUMMARY #######################
Oracle Home selected for deinstall is: /orabin01/app/oracle/product/19.0.0.0/dbhome_1
Inventory Location where the Oracle home registered is: /orabin01/app/oraInventory
The following databases were selected for de-configuration. The databases will be deleted and will not be useful upon de-configuration : ladmimdb
Database unique name : ladmimdb
Storage used : ASM
Do you want to continue (y - yes, n - no)? [n]: y
A log of this session will be written to: '/orabin01/app/oraInventory/logs/deinstall_deconfig2024-10-13_03-14-45-PM.out'
Any error messages from this session will be written to: '/orabin01/app/oraInventory/logs/deinstall_deconfig2024-10-13_03-14-45-PM.err'
######################## DECONFIG CLEAN OPERATION START ########################
Database de-configuration trace file location: /orabin01/app/oraInventory/logs/databasedc_clean2024-10-13_03-14-46PM.log
Database Clean Configuration START ladmimdb
This operation may take few minutes.
Database Clean Configuration END ladmimdb
Network Configuration clean config START
Network de-configuration trace file location: /orabin01/app/oraInventory/logs/netdc_clean2024-10-13_03-14-46PM.log
De-configuring Local Net Service Names configuration file...
Local Net Service Names configuration file de-configured successfully.
De-configuring backup files...
Backup files de-configured successfully.
The network configuration has been cleaned up successfully.
Network Configuration clean config END
######################### DECONFIG CLEAN OPERATION END #########################
####################### DECONFIG CLEAN OPERATION SUMMARY #######################
Successfully de-configured the following database instances : ladmimdb
#######################################################################
############# ORACLE DECONFIG TOOL END #############
Using properties file /tmp/deinstall2024-10-13_03-14-41PM/response/deinstall_2024-10-13_03-14-45-PM.rsp
Location of logs /orabin01/app/oraInventory/logs/
############ ORACLE DEINSTALL TOOL START ############
####################### DEINSTALL CHECK OPERATION SUMMARY #######################
A log of this session will be written to: '/orabin01/app/oraInventory/logs/deinstall_deconfig2024-10-13_03-14-45-PM.out'
Any error messages from this session will be written to: '/orabin01/app/oraInventory/logs/deinstall_deconfig2024-10-13_03-14-45-PM.err'
######################## DEINSTALL CLEAN OPERATION START ########################
## [START] Preparing for Deinstall ##
Setting LOCAL_NODE to lamim19c
Setting CRS_HOME to false
Setting oracle.installer.invPtrLoc to /tmp/deinstall2024-10-13_03-14-41PM/oraInst.loc
Setting oracle.installer.local to false
## [END] Preparing for Deinstall ##
Setting the force flag to false
Setting the force flag to cleanup the Oracle Base
Oracle Universal Installer clean START
Detach Oracle home '/orabin01/app/oracle/product/19.0.0.0/dbhome_1' from the central inventory on the local node : Done
Delete directory '/orabin01/app/oracle/product/19.0.0.0/dbhome_1' on the local node : Done
The Oracle Base directory '/orabin01/app/oracle' will not be removed on local node. The directory is not empty. User needs to manually cleanup this directory.
Oracle Universal Installer cleanup was successful.
Oracle Universal Installer clean END
## [START] Oracle install clean ##
## [END] Oracle install clean ##
######################### DEINSTALL CLEAN OPERATION END #########################
####################### DEINSTALL CLEAN OPERATION SUMMARY #######################
Successfully detached Oracle home '/orabin01/app/oracle/product/19.0.0.0/dbhome_1' from the central inventory on the local node.
Successfully deleted directory '/orabin01/app/oracle/product/19.0.0.0/dbhome_1' on the local node.
Oracle Universal Installer cleanup was successful.
Review the permissions and contents of '/orabin01/app/oracle' on nodes(s) 'lamim19c'.
If there are no Oracle home(s) associated with '/orabin01/app/oracle', manually delete '/orabin01/app/oracle' and its contents.
Oracle deinstall tool successfully cleaned up temporary directories.
#######################################################################
############# ORACLE DEINSTALL TOOL END #############
[oracle@lamim19c deinstall]$
Comentários
Postar um comentário