[oracle@orahost deinstall]$ ./deinstall
Checking for required files and bootstrapping ...
Please wait ...
Location of logs /tmp/deinstall2024-05-17_08-52-32AM/logs/
############ ORACLE DECONFIG TOOL START ############
######################### DECONFIG CHECK OPERATION START #########################
## [START] Install check configuration ##
Checking for existence of the Oracle home location /opt/oracle/product/23ai/dbhomeFree
Oracle Home type selected for deinstall is: Oracle Single Instance Database
Oracle Base selected for deinstall is: /opt/oracle
Checking for existence of central inventory location /opt/oracle/oraInventory
## [END] Install check configuration ##
Network Configuration check config START
Network de-configuration trace file location: /tmp/deinstall2024-05-17_08-52-32AM/logs/netdc_check2024-05-17_08-53-07AM.log
Specify all Single Instance listeners that are to be de-configured. Enter .(dot) to deselect all. [LISTENER]:
Network Configuration check config END
Database Check Configuration START
Database de-configuration trace file location: /tmp/deinstall2024-05-17_08-52-32AM/logs/databasedc_check2024-05-17_08-53-07AM.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 [FREE]:
###### For Database 'FREE' ######
Single Instance Database
The diagnostic destination location of the database: /opt/oracle/diag/rdbms/free
Storage type used by the Database: FS
Database file location: /opt/oracle/oradata/FREE
Fast recovery area location: Does not exist
database spfile location: /opt/oracle/product/23ai/dbhomeFree/dbs/spfileFREE.ora
The details of database(s) FREE have been discovered automatically. Do you still want to modify the details of FREE database(s)? [n]:
Database Check Configuration END
######################### DECONFIG CHECK OPERATION END #########################
####################### DECONFIG CHECK OPERATION SUMMARY #######################
Oracle Home selected for deinstall is: /opt/oracle/product/23ai/dbhomeFree
Inventory Location where the Oracle home registered is: /opt/oracle/oraInventory
Following Single Instance listener(s) will be de-configured: LISTENER
The following databases were selected for de-configuration. The databases will be deleted and will not be useful upon de-configuration : FREE
Database unique name : FREE
Storage used : FS
Do you want to continue (y - yes, n - no)? [n]: y
A log of this session will be written to: '/tmp/deinstall2024-05-17_08-52-32AM/logs/deinstall_deconfig2024-05-17_08-52-59-AM.out'
Any error messages from this session will be written to: '/tmp/deinstall2024-05-17_08-52-32AM/logs/deinstall_deconfig2024-05-17_08-52-59-AM.err'
######################## DECONFIG CLEAN OPERATION START ########################
Database de-configuration trace file location: /tmp/deinstall2024-05-17_08-52-32AM/logs/databasedc_clean2024-05-17_08-53-07AM.log
Database Clean Configuration START FREE
This operation may take few minutes.
Database Clean Configuration END FREE
Network Configuration clean config START
Network de-configuration trace file location: /tmp/deinstall2024-05-17_08-52-32AM/logs/netdc_clean2024-05-17_08-53-07AM.log
De-configuring Single Instance listener(s): LISTENER
De-configuring listener: LISTENER
Stopping listener: LISTENER
Listener stopped successfully.
Deleting listener: LISTENER
Listener deleted successfully.
Listener de-configured successfully.
De-configuring Listener configuration file...
Listener configuration file de-configured successfully.
De-configuring Naming Methods configuration file...
Naming Methods 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 : FREE
Following Single Instance listener(s) were de-configured successfully: LISTENER
#######################################################################
############# ORACLE DECONFIG TOOL END #############
Using properties file /tmp/deinstall2024-05-17_08-52-32AM/response/deinstall_2024-05-17_08-52-59-AM.rsp
Location of logs /tmp/deinstall2024-05-17_08-52-32AM/logs/
############ ORACLE DEINSTALL TOOL START ############
####################### DEINSTALL CHECK OPERATION SUMMARY #######################
A log of this session will be written to: '/tmp/deinstall2024-05-17_08-52-32AM/logs/deinstall_deconfig2024-05-17_08-52-59-AM.out'
Any error messages from this session will be written to: '/tmp/deinstall2024-05-17_08-52-32AM/logs/deinstall_deconfig2024-05-17_08-52-59-AM.err'
######################## DEINSTALL CLEAN OPERATION START ########################
## [START] Preparing for Deinstall ##
Setting LOCAL_NODE to orahost
Setting CRS_HOME to false
Setting oracle.installer.invPtrLoc to /tmp/deinstall2024-05-17_08-52-32AM/oraInst.loc
Setting oracle.installer.local to false
## [END] Preparing for Deinstall ##
Oracle Universal Installer clean START
Detach Oracle home 'OraDBHome23aiFree' from the central inventory on the local node : Done
Delete directory '/opt/oracle/product/23ai/dbhomeFree' on the local node : Done
Delete directory '/opt/oracle/oraInventory' on the local node : Done
Failed to delete the directory '/opt/oracle'. Either user has no permission to delete or it is in use.
Delete directory '/opt/oracle' on the local node : Failed <<<<
You can find a log of this session at:
'/tmp/deinstall2024-05-17_08-52-32AM/logs/Cleanup2024-05-17_08-55-27AM.log'
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 'OraDBHome23aiFree' from the central inventory on the local node.
Successfully deleted directory '/opt/oracle/product/23ai/dbhomeFree' on the local node.
Successfully deleted directory '/opt/oracle/oraInventory' on the local node.
Failed to delete directory '/opt/oracle' on the local node due to error : Either user has no permission to delete or file is in use.
Review the permissions and manually delete '/opt/oracle' on local node.
Run rm -r /etc/oraInst.loc as root on node(s) orahost at the end of the session.
Oracle Universal Installer cleanup completed with errors.
Run 'rm -r /opt/ORCLfmap' as root on node(s) 'orahost' at the end of the session.
Run 'rm -r /etc/oratab' as root on node(s) 'orahost' at the end of the session.
Review the permissions and contents of '/opt/oracle' on nodes(s) 'orahost'.
If there are no Oracle home(s) associated with '/opt/oracle', manually delete '/opt/oracle' and its contents.
Oracle deinstall tool successfully cleaned up temporary directories.
#######################################################################
############# ORACLE DEINSTALL TOOL END #############
[root@orahost ~]# ps -ef | grep pmon
[root@orahost ~]# ps -ef | grep tns
root 5 2 0 07:18 ? 00:00:00 [netns]
root 37057 3487 0 08:58 pts/1 00:00:00 grep --color=auto tns
ls: cannot access '/opt/oracle/product/23ai/dbhomeFree': No such file or directory