设为首页 加入收藏

TOP

Oracle 11g 完全卸载方法(四)
2015-11-10 12:17:34 来源: 作者: 【 】 浏览:18
Tags:Oracle 11g 完全 卸载 方法
n]:


是否需要修改数据库的详细信息,默认n,直接回车。


Do you want to continue (y - yes, n - no)? [n]: y


是否继续,填写y,回车


脚本结尾,提示需要使用root用户删除如下三个脚本。


rm -rf /etc/oraInst.loc


rm -rf /opt/ORCLfmap


rm -rf /etc/oratab


至此,Oracle删除完毕。


将Oracle软件再次安装


./runInstaller -silent -responseFile /home/oracle/etc/install_software_only.rsp


3. 使用专用工具


? 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


? ? ? ? ? ? ? [ -silent ]


? ? ? ? ? ? ? [ -checkonly ]


? ? ? ? ? ? ? [ -local ]


? ? ? ? ? ? ? [ -paramfile ]


? ? ? ? ? ? ? [ -params ]


? ? ? ? ? ? ? [ -o ]


? ? ? ? ? ? ? [ -tmpdir ]


? ? ? ? ? ? ? [ -logdir ]


? ? ? ? ? ? ? [ -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


Specify the list of directories if any database files exist on a shared file system. If 'orcl' subdirectory is found, then it will be deleted. Otherwise, the specified directory will be deleted. Alternatively, you can specify list of database files with full path [ ]: /u01/app/oracle/oradata


Specify the fast recovery area location, if it is configured on the file system. If 'orcl' subdirectory is found, then it will be deleted. []: /u01/app/oracle/fast_recovery_area


Specify the database spfile location [ ]: /u01/app/oracle/product/11.2.0/db_1/dbs/


Database Check Configuration END


Enterprise Manager Configuration Assistant START


EMCA de-configuration trace file location: /home/oracle/deinstall/./logs/emcadc_check2015-08-22_12-42-35-AM.log


Checking configuration for database orcl


Enterprise Manager Configuration Assistant END


Oracle Configuration Manager check START


OCM check log file location : /home/oracle/deinstall/./logs//ocm_check_2015-08-22_12-42-35-AM.log


Oracle Configuration Manager check END


######################### CHECK OPE

首页 上一页 1 2 3 4 5 下一页 尾页 4/5/5
】【打印繁体】【投稿】【收藏】 【推荐】【举报】【评论】 【关闭】 【返回顶部
分享到: 
上一篇Oracle 11g Clone安装方法 下一篇Kali Linux Metasploit连接数据库..

评论

帐  号: 密码: (新用户注册)
验 证 码:
表  情:
内  容: