Oracle 11g 完全卸载方法(2)

Oracle官方推荐使用专门的删除工具。原因是内置的deinstall工具脚本中常常带有很多bug,很多时候不能完全的将其删除干净。特别是Windows环境下的卸载工具,不能正常工作的场景很多。

上传工具包至服务器,直接解压,解压完毕后即可直接使用。

[oracle@localhost ~]$ unzip p13390677_112040_Linux-x86-64_7of7.zip

[oracle@localhost ~]$ cd deinstall/

[oracle@localhost deinstall]$ ./deinstall -help

deinstall -home <Complete path of Oracle home>

[ -silent ]

[ -checkonly ]

[ -local ]

[ -paramfile <complete path of input parameter properties file> ]

[ -params <name1=value[ name2=value name3=value ...]> ]

[ -o <complete path of directory for saving files> ]

[ -tmpdir <complete path of temporary directory to use> ]

[ -logdir <complete path of log directory to use> ]

[ -help : Type -help to get more information on each of the above options. ]


删除Oracle

[oracle@localhost deinstall]$ ./deinstall -home $ORACLE_HOME

Location of logs /home/oracle/deinstall/./logs/

############ ORACLE DEINSTALL & DECONFIG TOOL START ############

######################### CHECK OPERATION START #########################

## [START] Install check configuration ##

Checking for existence of the Oracle home location /u01/app/oracle/product/11.2.0/db_1

Oracle Home type selected for deinstall is: Oracle Single Instance Database

Oracle Base selected for deinstall is: /u01/app/oracle

Checking for existence of central inventory location /u01/app/oraInventory

Checking for sufficient temp space availability on node(s) : 'localhost.localdomain'

## [END] Install check configuration ##

Network Configuration check config START

Network de-configuration trace file location: /home/oracle/deinstall/./logs/netdc_check2015-08-22_12-34-54-AM.log

Network Configuration check config END

Database Check Configuration START

Database de-configuration trace file location: /home/oracle/deinstall/./logs/databasedc_check2015-08-22_12-35-03-AM.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 []: orcl

###### For Database 'orcl' ######

Specify the type of this database (1.Single Instance Database|2.Oracle Restart Enabled Database) [1]:

Specify the diagnostic destination location of the database [/u01/app/oracle/diag/rdbms/orcl]:

Specify the storage type used by the Database ASM|FS []: FS

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:https://www.heiqu.com/502402c27faa94a1aa64f5be88676db3.html