Uninstall Oracle 12c DB
[oracle@test1 deinstall]$ pwdHome Directory
/oracle12c/deinstall
[oracle@test1 deinstall]$ ls
bootstrap_files.lst deinstall deinstall.xml readme.txt sshUserSetup.sh bootstrap.pl deinstall.pl jlib response utl
[oracle@test1 deinstall]$ ./deinstall
Checking for required files and bootstrapping ...
Please wait ...
Location of logs /tmp/deinstall2013-07-29_10-59-41PM/logs/
############ ORACLE DEINSTALL & DECONFIG TOOL START ############
######################### CHECK OPERATION START #########################
## [START] Install check configuration ##
Checking for existence of the Oracle home location /oracle12c
Oracle Home type selected for deinstall is: Oracle Single Instance Database
Oracle Base selected for deinstall is: /home/oracle/app/oracle
Checking for existence of central inventory location /home/oracle/app/oraInventory
Checking for sufficient temp space availability on node(s) : 'test1'
## [END] Install check configuration ##
Network Configuration check config START
Network de-configuration trace file location: /tmp/deinstall2013-07-29_10-59-41PM/logs/netdc_check2013-07-29_11-00-54-PM.log
Specify all Single Instance listeners that are to be de-configured [LISTENER]:
Network Configuration check config END
Database Check Configuration START
Database de-configuration trace file location: /tmp/deinstall2013-07-29_10-59-41PM/logs/databasedc_check2013-07-29_11-03-24-PM.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 [ora12c]:
###### For Database 'ora12c' ######
Single Instance Database
The diagnostic destination location of the database: /home/oracle/app/oracle/diag/rdbms/ora12c
Storage type used by the Database: FS
Database file location: /oracle12c/ora12c,/home/oracle/app/oracle/fast_recovery_area/ora12c
Fast recovery area location: /home/oracle/app/oracle/fast_recovery_area/ORA12C
database spfile location: /oracle12c/dbs/spfileora12c.ora
The details of database(s) ora12c have been discovered automatically. Do you still want to modify the details of ora12c database(s)? [n]:
Database Check Configuration END
Oracle Configuration Manager check START
OCM check log file location : /tmp/deinstall2013-07-29_10-59-41PM/logs//ocm_check9779.log
Oracle Configuration Manager check END
######################### CHECK OPERATION END #########################
####################### CHECK OPERATION SUMMARY #######################
Oracle Home selected for deinstall is: /oracle12c
Inventory Location where the Oracle home registered is: /home/oracle/app/oraInventory
Following Single Instance listener(s) will be de-configured: LISTENER
The following databases were selected for de-configuration : ora12c
Database unique name : ora12c
Storage used : FS
Checking the config status for CCR
Oracle Home exists with CCR directory, but CCR is not configured
CCR check is finished
oDo you want to continue (y - yes, n - no)? [n]:y
A log of this session will be written to: '/tmp/deinstall2013-07-29_10-59-41PM/logs/deinstall_deconfig2013-07-29_11-00-51-PM.out'
Any error messages from this session will be written to: '/tmp/deinstall2013-07-29_10-59-41PM/logs/deinstall_deconfig2013-07-29_11-00-51-PM.err'
######################## CLEAN OPERATION START ########################
Database de-configuration trace file location: /tmp/deinstall2013-07-29_10-59-41PM/logs/databasedc_clean2013-07-29_11-04-46-PM.log
Database Clean Configuration START ora12c
This operation may take few minutes.
Database Clean Configuration END ora12c
Network Configuration clean config START
Network de-configuration trace file location: /tmp/deinstall2013-07-29_10-59-41PM/logs/netdc_clean2013-07-29_11-08-52-PM.log
De-configuring Single Instance listener(s): LISTENER
De-configuring listener: LISTENER
Stopping listener: LISTENER
Warning: Failed to stop listener. Listener may not be running.
Deleting listener: LISTENER
Listener deleted successfully.
Listener 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
Oracle Configuration Manager clean START
OCM clean log file location : /tmp/deinstall2013-07-29_10-59-41PM/logs//ocm_clean9779.log
Oracle Configuration Manager clean END
Setting the force flag to false
Setting the force flag to cleanup the Oracle Base
Oracle Universal Installer clean START
Detach Oracle home '/oracle12c' from the central inventory on the local node : Done
Failed to delete the directory '/oracle12c'. The directory is in use.
Delete directory '/oracle12c' on the local node : Failed <<<<
Delete directory '/home/oracle/app/oraInventory' on the local node : Done
Delete directory '/home/oracle/app/oracle' on the local node : Done
Oracle Universal Installer cleanup was successful.
Oracle Universal Installer clean END
## [START] Oracle install clean ##
Clean install operation removing temporary directory '/tmp/deinstall2013-07-29_10-59-41PM' on node 'test1'
## [END] Oracle install clean ##
######################### CLEAN OPERATION END #########################
####################### CLEAN OPERATION SUMMARY #######################
Successfully de-configured the following database instances : ora12c
Following Single Instance listener(s) were de-configured successfully: LISTENER
Cleaning the config for CCR
As CCR is not configured, so skipping the cleaning of CCR configuration
CCR clean is finished
Successfully detached Oracle home '/oracle12c' from the central inventory on the local node.
Failed to delete directory '/oracle12c' on the local node.
Successfully deleted directory '/home/oracle/app/oraInventory' on the local node.
Successfully deleted directory '/home/oracle/app/oracle' on the local node.
Oracle Universal Installer cleanup was successful.
Run 'rm -rf /etc/oraInst.loc' as root on node(s) 'test1' at the end of the session.
Run 'rm -rf /opt/ORCLfmap' as root on node(s) 'test1' at the end of the session.
Run 'rm -rf /etc/oratab' as root on node(s) 'test1' at the end of the session.
Oracle deinstall tool successfully cleaned up temporary directories.
#######################################################################
############# ORACLE DEINSTALL & DECONFIG TOOL END #############
[oracle@test1 deinstall]$
No comments:
Post a Comment