[oracle@DB074 ~]$$ORACLE_HOME/deinstall/deinstall
Checkingforrequired filesandbootstrapping...
Pleasewait ...
Locationoflogs /tmp/deinstall2017-09-11_02-50-04PM/logs/
############ ORACLE DEINSTALL & DECONFIG TOOL START ############
######################### CHECK OPERATION START #########################
##[START]Install check configuration ##
Checkingforexistenceofthe Oracle home location /u01/app/oracle/product/11.2.0/db_1
Oracle Hometypeselectedfordeinstall is:Oracle Single Instance Database
Oracle Base selectedfordeinstall is:/u01/app/oracle
Checkingforexistenceofcentral inventory location /u01/app/oraInventory
Checkingforsufficient temp space availability on node(s) : 'DB074'
##[END]Install check configuration ##
Network Configuration check config START
Network de-configuration trace file location:/tmp/deinstall2017-09-11_02-50-04PM/logs/netdc_check2017-09-11_02-50-10-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/deinstall2017-09-11_02-50-04PM/logs/databasedc_check2017-09-11_02-51-44-PM.log
Use comma as separator when specifying listofvalues as input
Specify the listofdatabase names that are configuredin thisOracle home[cams]:(这里需要确认数据库名称,默认值没问题,直接回车)
######ForDatabase'cams'######
Single Instance Database
The diagnostic destination locationofthe database:/u01/app/oracle/diag/rdbms/cams
Storagetypeused by the Database: FS
Database file location:/u01/app/oracle/oradata/cams,/u01/app/oracle/fast_recovery_area/cams,/home/oracle/cams/tablespace
Fast recovery area location:/u01/app/oracle/fast_recovery_area/CAMS
database spfile location:/u01/app/oracle/product/11.2.0/db_1/dbs/spfilecams.ora
The detailsofdatabase(s)cams have been discovered automatically.Do you still want to modify the detailsofcams database(s)? [n]:(这里需要确认数据库详细信息,默认值没问题,不需要修改,直接回车)
Database Check Configuration END
Enterprise Manager Configuration Assistant START
EMCA de-configuration trace file location:/tmp/deinstall2017-09-11_02-50-04PM/logs/emcadc_check2017-09-11_02-52-24-PM.log
Checking configurationfordatabase cams
Enterprise Manager Configuration Assistant END
Oracle Configuration Manager check START
OCM check log file location:/tmp/deinstall2017-09-11_02-50-04PM/logs//ocm_check4203.log
Oracle Configuration Manager check END
######################### CHECK OPERATION END #########################
####################### CHECK OPERATION SUMMARY #######################
Oracle Home selectedfordeinstall is:/u01/app/oracle/product/11.2.0/db_1
Inventory Location where the Oracle home registered is:/u01/app/oraInventory
Following Single Instance listener(s)will be de-configured:LISTENER
The following databases were selectedforde-configuration:cams
Database uniquename :cams
Storage used: FS
Will update the Enterprise Manager configurationforthe following database(s):cams
No Enterprise Manager ASM targets to update
No Enterprise Manager listener targets to migrate
Checking the config statusforCCR
Oracle Home exists with CCR directory,but CCR isnotconfigured
CCR check is finished
Do you want to continue(y-yes,n-no)? [n]:y(输入y,然后回车)
A logof thissession will be written to: '/tmp/deinstall2017-09-11_02-50-04PM/logs/deinstall_deconfig2017-09-11_02-50-09-PM.out'
Any error messages fromthissession will be written to: '/tmp/deinstall2017-09-11_02-50-04PM/logs/deinstall_deconfig2017-09-11_02-50-09-PM.err'
######################## CLEAN OPERATION START ########################
Enterprise Manager Configuration Assistant START
EMCA de-configuration trace file location:/tmp/deinstall2017-09-11_02-50-04PM/logs/emcadc_clean2017-09-11_02-52-24-PM.log
Updating Enterprise Manager Database Control configurationfordatabase cams
Updating Enterprise Manager ASM targets(ifany)
Updating Enterprise Manager listener targets(ifany)
Enterprise Manager Configuration Assistant END
Database de-configuration trace file location:/tmp/deinstall2017-09-11_02-50-04PM/logs/databasedc_clean2017-09-11_02-53-16-PM.log
Database Clean Configuration START cams
Thisoperation may take few minutes.
Database Clean Configuration END cams
Network Configuration clean config START
Network de-configuration trace file location:/tmp/deinstall2017-09-11_02-50-04PM/logs/netdc_clean2017-09-11_02-54-11-PM.log
De-configuring Single Instance listener(s):LISTENER
De-configuring listener:LISTENER
Stopping listener:LISTENER
Warning:Failed to stop listener.Listener maynotbe running.
Deleting listener:LISTENER
Listener deleted successfully.
Listener 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/deinstall2017-09-11_02-50-04PM/logs//ocm_clean4203.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'/u01/app/oracle/product/11.2.0/db_1'from the central inventory on thelocalnode:Done
Delete directory'/u01/app/oracle/product/11.2.0/db_1'on thelocalnode:Done
Delete directory'/u01/app/oraInventory'on thelocalnode:Done
Delete directory'/u01/app/oracle'on thelocalnode:Done
Oracle Universal Installer cleanup was successful.
Oracle Universal Installer clean END
##[START]Oracle install clean ##
Clean install operation removing temporary directory'/tmp/deinstall2017-09-11_02-50-04PM'on node'DB074'
##[END]Oracle install clean ##
######################### CLEAN OPERATION END #########################
####################### CLEAN OPERATION SUMMARY #######################
Updated Enterprise Manager configurationfordatabase cams
Successfully de-configured the following database instances:cams
Following Single Instance listener(s)were de-configured successfully:LISTENER
Cleaning the configforCCR
As CCR isnotconfigured,so skipping the cleaningofCCR configuration
CCR clean is finished
Successfully detached Oracle home'/u01/app/oracle/product/11.2.0/db_1'from the central inventory on thelocalnode.
Successfully deleted directory'/u01/app/oracle/product/11.2.0/db_1'on thelocalnode.
Successfully deleted directory'/u01/app/oraInventory'on thelocalnode.
Successfully deleted directory'/u01/app/oracle'on thelocalnode.
Oracle Universal Installer cleanup was successful.
(在deinstall工具执行完之后,需要用root完成删除的内容)
Run'rm -rf /etc/oraInst.loc'as root on node(s) 'DB074'at the endofthe session.
Run'rm -rf /opt/ORCLfmap'as root on node(s) 'DB074'at the endofthe session.
Run'rm -rf /etc/oratab'as root on node(s) 'DB074'at the endofthe session.
Oracle deinstall tool successfully cleaned up temporary directories.
#######################################################################
############# ORACLE DEINSTALL & DECONFIG TOOL END #############